epam / agr-lib
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
editorconfig
txt
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.

main6083 LOC (55%) 123 files
test560 LOC (5%) 10 files
generated1787 LOC (16%) 1 file
build and deployment0 LOC (0%) 0 files
other2525 LOC (23%) 26 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 123 files match defined criteria (6,083 LOC, 100.0% vs. main code):
    • 73 *.ts files (4,043 LOC)
    • 26 *.scss files (1,271 LOC)
    • 17 *.html files (635 LOC)
    • 4 *.js files (84 LOC)
    • 3 *.cjs files (50 LOC)
  • " *.ts" is biggest, containing 66.46% of LOC.
  • " *.cjs" is smallest, containing 0.82% of LOC.


*.ts4043 LOC (66%) 73 files
*.scss1271 LOC (20%) 26 files
*.html635 LOC (10%) 17 files
*.js84 LOC (1%) 4 files
*.cjs50 LOC (<1%) 3 files
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 ".*/karma[.]conf[.]js".
    • files with paths like ".*[.]spec[.]ts".
    • files with paths like ".*/test[.].*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/vitest[.].*".
  • 10 files match defined criteria (560 LOC, 9.2% vs. main code):
    • 9 *.ts files (523 LOC)
    • 1 *.js files (37 LOC)
  • " *.ts" is biggest, containing 93.39% of LOC.
  • " *.js" is smallest, containing 6.61% of LOC.


*.ts523 LOC (93%) 9 files
*.js37 LOC (6%) 1 file
Generated Code
Automatically generated files, not manually changed after generation.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/package[-]lock[.]json".
  • 1 file matches defined criteria (1,787 LOC, 29.4% vs. main code). All matches are in *.json files.


*.json1787 LOC (100%) 1 file
Other Code
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 ".*[.]txt".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 26 files match defined criteria (2,525 LOC, 41.5% vs. main code):
    • 21 *.json files (2,391 LOC)
    • 4 *.md files (117 LOC)
    • 1 *.txt files (17 LOC)
  • " *.json" is biggest, containing 94.69% of LOC.
  • " *.txt" is smallest, containing 0.67% of LOC.


*.json2391 LOC (94%) 21 files
*.md117 LOC (4%) 4 files
*.txt17 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-01-10 14:19