epam / TimebaseWS-old
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
properties
editorconfig
http
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.

main22607 LOC (86%) 410 files
test1613 LOC (6%) 18 files
generated0 LOC (0%) 0 files
build and deployment1099 LOC (4%) 14 files
other778 LOC (2%) 24 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 ".*".
  • 410 files match defined criteria (22,607 LOC, 100.0% vs. main code):
    • 388 *.java files (19,352 LOC)
    • 9 *.tsx files (2,127 LOC)
    • 10 *.ts files (1,040 LOC)
    • 1 *.yaml files (52 LOC)
    • 2 *.xml files (36 LOC)
  • " *.java" is biggest, containing 85.6% of LOC.
  • " *.xml" is smallest, containing 0.16% of LOC.


*.java19352 LOC (85%) 388 files
*.tsx2127 LOC (9%) 9 files
*.ts1040 LOC (4%) 10 files
*.yaml52 LOC (<1%) 1 file
*.xml36 LOC (<1%) 2 files
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 ".*/jest[.][a-zA-Z0-9\.]+".
    • files with paths like ".*[-]tests/.*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*_test[.].*".
  • 18 files match defined criteria (1,613 LOC, 7.1% vs. main code):
    • 13 *.java files (1,008 LOC)
    • 1 *.ipynb files (431 LOC)
    • 1 *.py files (136 LOC)
    • 2 *.yaml files (36 LOC)
    • 1 *.js files (2 LOC)
  • " *.java" is biggest, containing 62.49% of LOC.
  • " *.js" is smallest, containing 0.12% of LOC.


*.java1008 LOC (62%) 13 files
*.ipynb431 LOC (26%) 1 file
*.py136 LOC (8%) 1 file
*.yaml36 LOC (2%) 2 files
*.js2 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*[.]gradle".
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]bat".
  • 14 files match defined criteria (1,099 LOC, 4.9% vs. main code):
    • 13 *.gradle files (1,021 LOC)
    • 1 *.bat files (78 LOC)
  • " *.gradle" is biggest, containing 92.9% of LOC.
  • " *.bat" is smallest, containing 7.1% of LOC.


*.gradle1021 LOC (92%) 13 files
*.bat78 LOC (7%) 1 file
Other Code
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • 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 ".*[.]svg".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[Ss]amples/.*".
  • 24 files match defined criteria (778 LOC, 3.4% vs. main code):
    • 3 *.txt files (364 LOC)
    • 7 *.json files (143 LOC)
    • 1 *.svg files (115 LOC)
    • 2 *.js files (51 LOC)
    • 7 *.sh files (50 LOC)
    • 3 *.md files (43 LOC)
    • 1 *.properties files (12 LOC)
  • " *.txt" is biggest, containing 46.79% of LOC.
  • " *.properties" is smallest, containing 1.54% of LOC.


*.txt364 LOC (46%) 3 files
*.json143 LOC (18%) 7 files
*.svg115 LOC (14%) 1 file
*.js51 LOC (6%) 2 files
*.sh50 LOC (6%) 7 files
*.md43 LOC (5%) 3 files
*.properties12 LOC (1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-01-10 14:14