epam / edp-ddm-redash
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
txt
snap
tpl
ini
babelrc
mako
editorconfig
in
cfg
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.

main73695 LOC (71%) 937 files
test20157 LOC (19%) 131 files
generated0 LOC (0%) 0 files
build and deployment369 LOC (<1%) 3 files
other8904 LOC (8%) 91 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
tpl
mako
cfg
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 937 files match defined criteria (73,695 LOC, 100.0% vs. main code):
    • 177 *.py files (19,373 LOC)
    • 180 *.jsx files (17,731 LOC)
    • 156 *.js files (8,988 LOC)
    • 144 *.less files (8,190 LOC)
    • 82 *.yaml files (6,752 LOC)
    • 94 *.tsx files (6,484 LOC)
    • 72 *.ts files (3,686 LOC)
    • 3 *.tpl files (1,347 LOC)
    • 19 *.html files (960 LOC)
    • 4 *.css files (119 LOC)
    • 1 *.toml files (36 LOC)
    • 1 *.mako files (17 LOC)
    • 1 *.cfg files (6 LOC)
    • 3 *.groovy files (6 LOC)
  • " *.py" is biggest, containing 26.29% of LOC.
  • " *.groovy" is smallest, containing 0.01% of LOC.


*.py19373 LOC (26%) 177 files
*.jsx17731 LOC (24%) 180 files
*.js8988 LOC (12%) 156 files
*.less8190 LOC (11%) 144 files
*.yaml6752 LOC (9%) 82 files
*.tsx6484 LOC (8%) 94 files
*.ts3686 LOC (5%) 72 files
*.tpl1347 LOC (1%) 3 files
*.html960 LOC (1%) 19 files
*.css119 LOC (<1%) 4 files
*.toml36 LOC (<1%) 1 file
*.mako17 LOC (<1%) 1 file
*.cfg6 LOC (<1%) 1 file
*.groovy6 LOC (<1%) 3 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
snap
in
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*_tests[.].*".
    • files with paths like ".*__tests__.*".
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
    • files with paths like ".*[.]snap".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*/test_.*".
  • 131 files match defined criteria (20,157 LOC, 27.4% vs. main code):
    • 16 *.snap files (9,939 LOC)
    • 76 *.py files (8,338 LOC)
    • 15 *.tsx files (770 LOC)
    • 17 *.js files (710 LOC)
    • 4 *.ts files (374 LOC)
    • 1 *.yaml files (16 LOC)
    • 1 *.jsx files (8 LOC)
    • 1 *.in files (2 LOC)
  • " *.snap" is biggest, containing 49.31% of LOC.
  • " *.in" is smallest, containing 0.01% of LOC.


*.snap9939 LOC (49%) 16 files
*.py8338 LOC (41%) 76 files
*.tsx770 LOC (3%) 15 files
*.js710 LOC (3%) 17 files
*.ts374 LOC (1%) 4 files
*.yaml16 LOC (<1%) 1 file
*.jsx8 LOC (<1%) 1 file
*.in2 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 ".*[.]sh".
    • files with paths like ".*([.]|/)webpack([.]|/).*".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/package[.]json".
  • 3 files match defined criteria (369 LOC, 0.5% vs. main code):
    • 2 *.js files (347 LOC)
    • 1 *.py files (22 LOC)
  • " *.js" is biggest, containing 94.04% of LOC.
  • " *.py" is smallest, containing 5.96% of LOC.


*.js347 LOC (94%) 2 files
*.py22 LOC (5%) 1 file
Other Code
txt
ini
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]ini".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]editorconfig".
    • files with paths like ".*/[.]dockerignore".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/[.]eslintignore".
    • files with paths like ".*/[.]prettierignore".
  • 91 files match defined criteria (8,904 LOC, 12.1% vs. main code):
    • 7 *.svg files (3,093 LOC)
    • 19 *.md files (2,904 LOC)
    • 45 *.json files (2,534 LOC)
    • 18 *.txt files (338 LOC)
    • 2 *.ini files (35 LOC)
  • " *.svg" is biggest, containing 34.74% of LOC.
  • " *.ini" is smallest, containing 0.39% of LOC.


*.svg3093 LOC (34%) 7 files
*.md2904 LOC (32%) 19 files
*.json2534 LOC (28%) 45 files
*.txt338 LOC (3%) 18 files
*.ini35 LOC (<1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-01-10 14:33