epam / edp-ddm-digital-document-service
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
tpl
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.

main3058 LOC (62%) 66 files
test998 LOC (20%) 10 files
generated0 LOC (0%) 0 files
build and deployment297 LOC (6%) 3 files
other501 LOC (10%) 4 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
tpl
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 66 files match defined criteria (3,058 LOC, 100.0% vs. main code):
    • 51 *.java files (2,593 LOC)
    • 11 *.yaml files (399 LOC)
    • 1 *.tpl files (60 LOC)
    • 3 *.groovy files (6 LOC)
  • " *.java" is biggest, containing 84.79% of LOC.
  • " *.groovy" is smallest, containing 0.2% of LOC.


*.java2593 LOC (84%) 51 files
*.yaml399 LOC (13%) 11 files
*.tpl60 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.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
  • 10 files match defined criteria (998 LOC, 32.6% vs. main code). All matches are in *.java files.


*.java998 LOC (100%) 10 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 ".*/pom[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 3 files match defined criteria (297 LOC, 9.7% vs. main code). All matches are in *.xml files.


*.xml297 LOC (100%) 3 files
Other Code
txt
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 ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 4 files match defined criteria (501 LOC, 16.4% vs. main code):
    • 1 *.json files (280 LOC)
    • 1 *.txt files (169 LOC)
    • 2 *.md files (52 LOC)
  • " *.json" is biggest, containing 55.89% of LOC.
  • " *.md" is smallest, containing 10.38% of LOC.


*.json280 LOC (55%) 1 file
*.txt169 LOC (33%) 1 file
*.md52 LOC (10%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-01-10 14:17