epam / epmgcip-chaperone.admin
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
mjs
txt
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.

main2356 LOC (45%) 87 files
test709 LOC (13%) 20 files
generated1441 LOC (27%) 3 files
build and deployment0 LOC (0%) 0 files
other711 LOC (13%) 12 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
mjs
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 87 files match defined criteria (2,356 LOC, 100.0% vs. main code):
    • 30 *.tsx files (1,164 LOC)
    • 14 *.scss files (522 LOC)
    • 38 *.ts files (508 LOC)
    • 2 *.gql files (112 LOC)
    • 2 *.mjs files (44 LOC)
    • 1 *.cjs files (6 LOC)
  • " *.tsx" is biggest, containing 49.41% of LOC.
  • " *.cjs" is smallest, containing 0.25% of LOC.


*.tsx1164 LOC (49%) 30 files
*.scss522 LOC (22%) 14 files
*.ts508 LOC (21%) 38 files
*.gql112 LOC (4%) 2 files
*.mjs44 LOC (1%) 2 files
*.cjs6 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 ".*/[Mm]ocks/.*".
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
  • 20 files match defined criteria (709 LOC, 30.1% vs. main code):
    • 14 *.tsx files (519 LOC)
    • 6 *.ts files (190 LOC)
  • " *.tsx" is biggest, containing 73.2% of LOC.
  • " *.ts" is smallest, containing 26.8% of LOC.


*.tsx519 LOC (73%) 14 files
*.ts190 LOC (26%) 6 files
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 ".*/__generated__/.*".
  • 3 files match defined criteria (1,441 LOC, 61.2% vs. main code). All matches are in *.ts files.


*.ts1441 LOC (100%) 3 files
Other Code
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 ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]svg".
  • 12 files match defined criteria (711 LOC, 30.2% vs. main code):
    • 6 *.json files (404 LOC)
    • 5 *.svg files (239 LOC)
    • 1 *.md files (68 LOC)
  • " *.json" is biggest, containing 56.82% of LOC.
  • " *.md" is smallest, containing 9.56% of LOC.


*.json404 LOC (56%) 6 files
*.svg239 LOC (33%) 5 files
*.md68 LOC (9%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-01-10 14:33