epam / edp-ddm-architecture
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
hbs
ini
diff
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.

main598 LOC (68%) 28 files
test0 LOC (0%) 0 files
generated83 LOC (9%) 1 file
build and deployment0 LOC (0%) 0 files
other190 LOC (21%) 2 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
hbs
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 28 files match defined criteria (598 LOC, 100.0% vs. main code):
    • 13 *.yaml files (343 LOC)
    • 2 *.css files (111 LOC)
    • 8 *.hbs files (93 LOC)
    • 2 *.js files (45 LOC)
    • 3 *.groovy files (6 LOC)
  • " *.yaml" is biggest, containing 57.36% of LOC.
  • " *.groovy" is smallest, containing 1% of LOC.


*.yaml343 LOC (57%) 13 files
*.css111 LOC (18%) 2 files
*.hbs93 LOC (15%) 8 files
*.js45 LOC (7%) 2 files
*.groovy6 LOC (1%) 3 files
Generated Code
Automatically generated files, not manually changed after generation.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.](html|html|xhtml)" AND any line of content like "[ ]*[<]meta name[=]"generator" .*".
  • 1 file matches defined criteria (83 LOC, 13.9% vs. main code). All matches are in *.html files.


*.html83 LOC (100%) 1 file
Other Code
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]adoc".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]ini".
    • files with paths like ".*/[Dd]ocumentation/.*".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
  • 2 files match defined criteria (190 LOC, 31.8% vs. main code):
    • 1 *.md files (171 LOC)
    • 1 *.json files (19 LOC)
  • " *.md" is biggest, containing 90% of LOC.
  • " *.json" is smallest, containing 10% of LOC.


*.md171 LOC (90%) 1 file
*.json19 LOC (10%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-01-17 15:36