epam / eco-schema-catalog
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
properties
gitattributes
ejs
txt
editorconfig
cmd
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.

main23586 LOC (67%) 421 files
test8997 LOC (25%) 95 files
generated0 LOC (0%) 0 files
build and deployment1096 LOC (3%) 8 files
other1078 LOC (3%) 50 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
ejs
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 421 files match defined criteria (23,586 LOC, 100.0% vs. main code):
    • 156 *.java files (12,660 LOC)
    • 163 *.js files (7,310 LOC)
    • 71 *.scss files (2,451 LOC)
    • 21 *.avsc files (642 LOC)
    • 7 *.xml files (358 LOC)
    • 2 *.yaml files (128 LOC)
    • 1 *.ejs files (37 LOC)
  • " *.java" is biggest, containing 53.68% of LOC.
  • " *.ejs" is smallest, containing 0.16% of LOC.


*.java12660 LOC (53%) 156 files
*.js7310 LOC (30%) 163 files
*.scss2451 LOC (10%) 71 files
*.avsc642 LOC (2%) 21 files
*.xml358 LOC (1%) 7 files
*.yaml128 LOC (<1%) 2 files
*.ejs37 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 ".*/__mock[a-zA-Z0-9_\- ]+/.*".
    • files with paths like ".*/jest[.][a-zA-Z0-9\.]+".
    • files with paths like ".*[.]spec[.]js".
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
    • files with paths like ".*/[Tt]est/.*".
  • 95 files match defined criteria (8,997 LOC, 38.1% vs. main code):
    • 67 *.java files (6,013 LOC)
    • 28 *.js files (2,984 LOC)
  • " *.java" is biggest, containing 66.83% of LOC.
  • " *.js" is smallest, containing 33.17% of LOC.


*.java6013 LOC (66%) 67 files
*.js2984 LOC (33%) 28 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 ".*([.]|/)webpack([.]|/).*".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*/docker[-]compose[.]yaml".
    • files with paths like ".*/pom[.]xml".
    • files with paths like ".*/[.]gitattributes".
  • 8 files match defined criteria (1,096 LOC, 4.6% vs. main code):
    • 6 *.xml files (949 LOC)
    • 1 *.js files (121 LOC)
    • 1 *.yaml files (26 LOC)
  • " *.xml" is biggest, containing 86.59% of LOC.
  • " *.yaml" is smallest, containing 2.37% of LOC.


*.xml949 LOC (86%) 6 files
*.js121 LOC (11%) 1 file
*.yaml26 LOC (2%) 1 file
Other Code
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]editorconfig".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[.]dockerignore".
    • files with paths like ".*[.]txt".
  • 50 files match defined criteria (1,078 LOC, 4.6% vs. main code):
    • 24 *.json files (432 LOC)
    • 8 *.md files (423 LOC)
    • 8 *.svg files (174 LOC)
    • 10 *.properties files (49 LOC)
  • " *.json" is biggest, containing 40.07% of LOC.
  • " *.properties" is smallest, containing 4.55% of LOC.


*.json432 LOC (40%) 24 files
*.md423 LOC (39%) 8 files
*.svg174 LOC (16%) 8 files
*.properties49 LOC (4%) 10 files
Analyzers
Info about analyzers used for source code examinations.


2025-01-10 14:09