epam / UUI
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
snap
txt
npmignore
stylelintignore
editorconfig
mjs
eslintignore
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.

main85550 LOC (45%) 1,623 files
test58308 LOC (31%) 382 files
generated0 LOC (0%) 0 files
build and deployment1 LOC (<1%) 1 file
other43726 LOC (23%) 2,855 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 ".*".
  • 1623 files match defined criteria (85,550 LOC, 100.0% vs. main code):
    • 563 *.tsx files (34,668 LOC)
    • 653 *.ts files (29,329 LOC)
    • 319 *.scss files (17,371 LOC)
    • 78 *.js files (3,228 LOC)
    • 3 *.css files (813 LOC)
    • 5 *.html files (106 LOC)
    • 1 *.mjs files (26 LOC)
    • 1 *.xml files (9 LOC)
  • " *.tsx" is biggest, containing 40.52% of LOC.
  • " *.xml" is smallest, containing 0.01% of LOC.


*.tsx34668 LOC (40%) 563 files
*.ts29329 LOC (34%) 653 files
*.scss17371 LOC (20%) 319 files
*.js3228 LOC (3%) 78 files
*.css813 LOC (<1%) 3 files
*.html106 LOC (<1%) 5 files
*.mjs26 LOC (<1%) 1 file
*.xml9 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
snap
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • 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[.].*".
    • files with paths like ".*__tests__.*".
    • files with paths like ".*[.]snap".
    • files with paths like ".*/jest[.][a-zA-Z0-9\.]+".
    • files with paths like ".*[-]tests/.*".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/__mock[a-zA-Z0-9_\- ]+/.*".
  • 382 files match defined criteria (58,308 LOC, 68.2% vs. main code):
    • 130 *.ts files (28,363 LOC)
    • 102 *.snap files (19,349 LOC)
    • 143 *.tsx files (10,164 LOC)
    • 1 *.html files (238 LOC)
    • 5 *.js files (191 LOC)
    • 1 *.css files (3 LOC)
  • " *.ts" is biggest, containing 48.64% of LOC.
  • " *.css" is smallest, containing 0.01% of LOC.


*.ts28363 LOC (48%) 130 files
*.snap19349 LOC (33%) 102 files
*.tsx10164 LOC (17%) 143 files
*.html238 LOC (<1%) 1 file
*.js191 LOC (<1%) 5 files
*.css3 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 ".*/package[.]json".
    • files with paths like ".*([.]|/)webpack([.]|/).*".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 1 file matches defined criteria (1 LOC, 0.0% vs. main code). All matches are in *.js files.


*.js1 LOC (100%) 1 file
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[.]npmignore".
    • files with paths like ".*[.]md".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/[Dd]emos?/.*".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]stylelintignore".
    • files with paths like ".*[.]editorconfig".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]eslintignore".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*/[.]dockerignore".
  • 2855 files match defined criteria (43,726 LOC, 51.1% vs. main code):
    • 701 *.json files (27,641 LOC)
    • 2,015 *.svg files (6,789 LOC)
    • 50 *.tsx files (3,612 LOC)
    • 31 *.md files (2,936 LOC)
    • 30 *.ts files (1,809 LOC)
    • 26 *.scss files (895 LOC)
    • 2 *.txt files (44 LOC)
  • " *.json" is biggest, containing 63.21% of LOC.
  • " *.txt" is smallest, containing 0.1% of LOC.


*.json27641 LOC (63%) 701 files
*.svg6789 LOC (15%) 2,015 files
*.tsx3612 LOC (8%) 50 files
*.md2936 LOC (6%) 31 files
*.ts1809 LOC (4%) 30 files
*.scss895 LOC (2%) 26 files
*.txt44 LOC (<1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-01-17 15:36