epam / edp-headlamp
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
webmanifest
tpl
properties
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.

main56299 LOC (76%) 1,456 files
test16311 LOC (22%) 146 files
generated0 LOC (0%) 0 files
build and deployment0 LOC (0%) 0 files
other1439 LOC (1%) 15 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
tpl
webmanifest
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 1456 files match defined criteria (56,299 LOC, 100.0% vs. main code):
    • 580 *.tsx files (35,576 LOC)
    • 864 *.ts files (20,323 LOC)
    • 8 *.yaml files (316 LOC)
    • 1 *.tpl files (63 LOC)
    • 1 *.css files (14 LOC)
    • 1 *.js files (6 LOC)
    • 1 *.webmanifest files (1 LOC)
  • " *.tsx" is biggest, containing 63.19% of LOC.
  • " *.webmanifest" is smallest, containing 0% of LOC.


*.tsx35576 LOC (63%) 580 files
*.ts20323 LOC (36%) 864 files
*.yaml316 LOC (<1%) 8 files
*.tpl63 LOC (<1%) 1 file
*.css14 LOC (<1%) 1 file
*.js6 LOC (<1%) 1 file
*.webmanifest1 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 ".*/jest[.][a-zA-Z0-9\.]+".
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
    • files with paths like ".*[.]snap".
  • 146 files match defined criteria (16,311 LOC, 29.0% vs. main code):
    • 30 *.snap files (10,171 LOC)
    • 78 *.ts files (3,604 LOC)
    • 37 *.tsx files (2,522 LOC)
    • 1 *.js files (14 LOC)
  • " *.snap" is biggest, containing 62.36% of LOC.
  • " *.js" is smallest, containing 0.09% of LOC.


*.snap10171 LOC (62%) 30 files
*.ts3604 LOC (22%) 78 files
*.tsx2522 LOC (15%) 37 files
*.js14 LOC (<1%) 1 file
Other Code
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/[.]prettierignore".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
  • 15 files match defined criteria (1,439 LOC, 2.6% vs. main code):
    • 9 *.md files (1,215 LOC)
    • 3 *.json files (126 LOC)
    • 1 *.svg files (58 LOC)
    • 1 *.txt files (22 LOC)
    • 1 *.properties files (18 LOC)
  • " *.md" is biggest, containing 84.43% of LOC.
  • " *.properties" is smallest, containing 1.25% of LOC.


*.md1215 LOC (84%) 9 files
*.json126 LOC (8%) 3 files
*.svg58 LOC (4%) 1 file
*.txt22 LOC (1%) 1 file
*.properties18 LOC (1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-01-17 15:34