epam / dail-xl
Source Code Overview

Analysis scope, overview of main, test, generated, deployment, build, and other code.

Source Code Analysis Scope
Files includes and excluded from analyses
babelrc
properties
editorconfig
gitattributes
txt
proto
eslintignore
prettierignore
Overview of Analyzed Files
Basic stats on analyzed files
Intro
For analysis purposes we separate files in scope into several categories: main, test, generated, deployment and build, and other.

  • The main category contains all manually created source code files that are being used in the production.
  • Files in the main category are used as input for other analyses: logical decomposition, concerns, duplication, file size, unit size, and conditional complexity.
  • Test source code files are used only for testing of the product. These files are normally not deployed to production.
  • Build and deployment source code files are used to configure or support build and deployment process.
  • Generated source code files are automatically generated files that have not been manually changed after generation.
  • While a source code folder may contain a number of files, we are primarily interested in the source code files that are being written and maintained by developers.
  • Files containing binaries, documentation, or third-party libraries, for instance, are excluded from analysis. The exception are third-party libraries that have been changed by developers.

main99055 LOC (77%) 1,239 files
test26458 LOC (20%) 159 files
generated0 LOC (0%) 0 files
build and deployment385 LOC (<1%) 11 files
other2343 LOC (1%) 85 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
proto
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 1239 files match defined criteria (99,055 LOC, 100.0% vs. main code):
    • 542 *.ts files (38,561 LOC)
    • 282 *.tsx files (31,023 LOC)
    • 350 *.java files (24,043 LOC)
    • 20 *.py files (1,897 LOC)
    • 21 *.scss files (1,241 LOC)
    • 2 *.g4 files (958 LOC)
    • 6 *.js files (505 LOC)
    • 6 *.yaml files (317 LOC)
    • 1 *.proto files (218 LOC)
    • 6 *.scala files (198 LOC)
    • 2 *.toml files (67 LOC)
    • 1 *.html files (27 LOC)
  • " *.ts" is biggest, containing 38.93% of LOC.
  • " *.html" is smallest, containing 0.03% of LOC.


*.ts38561 LOC (38%) 542 files
*.tsx31023 LOC (31%) 282 files
*.java24043 LOC (24%) 350 files
*.py1897 LOC (1%) 20 files
*.scss1241 LOC (1%) 21 files
*.g4958 LOC (<1%) 2 files
*.js505 LOC (<1%) 6 files
*.yaml317 LOC (<1%) 6 files
*.proto218 LOC (<1%) 1 file
*.scala198 LOC (<1%) 6 files
*.toml67 LOC (<1%) 2 files
*.html27 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/jest[.][a-zA-Z0-9\.]+".
    • files with paths like ".*/__mock[a-zA-Z0-9_\- ]+/.*".
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
    • files with paths like ".*__tests__.*".
    • files with paths like ".*__test__.*".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*[.]spec[.]ts".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/test[.].*".
    • files with paths like ".*/test_.*".
  • 159 files match defined criteria (26,458 LOC, 26.7% vs. main code):
    • 76 *.ts files (13,530 LOC)
    • 68 *.java files (12,244 LOC)
    • 9 *.py files (632 LOC)
    • 4 *.js files (30 LOC)
    • 1 *.html files (13 LOC)
    • 1 *.yaml files (9 LOC)
  • " *.ts" is biggest, containing 51.14% of LOC.
  • " *.yaml" is smallest, containing 0.03% of LOC.


*.ts13530 LOC (51%) 76 files
*.java12244 LOC (46%) 68 files
*.py632 LOC (2%) 9 files
*.js30 LOC (<1%) 4 files
*.html13 LOC (<1%) 1 file
*.yaml9 LOC (<1%) 1 file
Build and Deployment Code
Source code used to configure or support build and deployment process.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*([.]|/)webpack([.]|/).*".
    • files with paths like ".*[.]gradle".
    • files with paths like ".*/[.]gitattributes".
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]bat".
  • 11 files match defined criteria (385 LOC, 0.4% vs. main code):
    • 7 *.gradle files (189 LOC)
    • 2 *.sh files (103 LOC)
    • 1 *.bat files (70 LOC)
    • 1 *.js files (23 LOC)
  • " *.gradle" is biggest, containing 49.09% of LOC.
  • " *.js" is smallest, containing 5.97% of LOC.


*.gradle189 LOC (49%) 7 files
*.sh103 LOC (26%) 2 files
*.bat70 LOC (18%) 1 file
*.js23 LOC (5%) 1 file
Other Code
properties
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]prettierignore".
    • files with paths like ".*[.]editorconfig".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]eslintignore".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*/checkstyle[.]xml".
    • files with paths like ".*/[.]dockerignore".
  • 85 files match defined criteria (2,343 LOC, 2.4% vs. main code):
    • 11 *.md files (818 LOC)
    • 29 *.json files (798 LOC)
    • 2 *.xml files (319 LOC)
    • 40 *.svg files (230 LOC)
    • 2 *.properties files (103 LOC)
    • 1 *.txt files (75 LOC)
  • " *.md" is biggest, containing 34.91% of LOC.
  • " *.txt" is smallest, containing 3.2% of LOC.


*.md818 LOC (34%) 11 files
*.json798 LOC (34%) 29 files
*.xml319 LOC (13%) 2 files
*.svg230 LOC (9%) 40 files
*.properties103 LOC (4%) 2 files
*.txt75 LOC (3%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-01-17 15:36