epam / deps-fe-labeling-tool
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
gitattributes
txt
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.

main17658 LOC (48%) 483 files
test17072 LOC (46%) 310 files
generated0 LOC (0%) 0 files
build and deployment187 LOC (<1%) 3 files
other1498 LOC (4%) 54 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 ".*".
  • 483 files match defined criteria (17,658 LOC, 100.0% vs. main code):
    • 173 *.jsx files (10,189 LOC)
    • 308 *.js files (7,443 LOC)
    • 2 *.html files (26 LOC)
  • " *.jsx" is biggest, containing 57.7% of LOC.
  • " *.html" is smallest, containing 0.15% of LOC.


*.jsx10189 LOC (57%) 173 files
*.js7443 LOC (42%) 308 files
*.html26 LOC (<1%) 2 files
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 ".*/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[.].*".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*[.]snap".
  • 310 files match defined criteria (17,072 LOC, 96.7% vs. main code):
    • 207 *.js files (10,516 LOC)
    • 87 *.snap files (5,400 LOC)
    • 16 *.jsx files (1,156 LOC)
  • " *.js" is biggest, containing 61.6% of LOC.
  • " *.jsx" is smallest, containing 6.77% of LOC.


*.js10516 LOC (61%) 207 files
*.snap5400 LOC (31%) 87 files
*.jsx1156 LOC (6%) 16 files
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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*([.]|/)webpack([.]|/).*".
    • files with paths like ".*/[.]gitattributes".
  • 3 files match defined criteria (187 LOC, 1.1% vs. main code). All matches are in *.js files.


*.js187 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 ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]eslintignore".
    • files with paths like ".*[.]svg".
  • 54 files match defined criteria (1,498 LOC, 8.5% vs. main code):
    • 13 *.js files (988 LOC)
    • 3 *.json files (217 LOC)
    • 3 *.md files (140 LOC)
    • 32 *.svg files (126 LOC)
    • 1 *.jsx files (15 LOC)
    • 1 *.html files (11 LOC)
    • 1 *.css files (1 LOC)
  • " *.js" is biggest, containing 65.95% of LOC.
  • " *.css" is smallest, containing 0.07% of LOC.


*.js988 LOC (65%) 13 files
*.json217 LOC (14%) 3 files
*.md140 LOC (9%) 3 files
*.svg126 LOC (8%) 32 files
*.jsx15 LOC (1%) 1 file
*.html11 LOC (<1%) 1 file
*.css1 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-01-10 14:29