epam / edp-ddm-control-plane-console
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
mod
mo
ini
tpl
eslintignore
properties
po
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.

main34221 LOC (62%) 261 files
test2210 LOC (4%) 20 files
generated8583 LOC (15%) 1 file
build and deployment0 LOC (0%) 0 files
other9738 LOC (17%) 22 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
tpl
mo
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 261 files match defined criteria (34,221 LOC, 100.0% vs. main code):
    • 102 *.go files (11,127 LOC)
    • 55 *.vue files (9,441 LOC)
    • 14 *.css files (6,500 LOC)
    • 20 *.js files (4,865 LOC)
    • 12 *.ts files (955 LOC)
    • 26 *.yaml files (645 LOC)
    • 24 *.html files (567 LOC)
    • 1 *.tpl files (58 LOC)
    • 4 *.groovy files (29 LOC)
    • 1 *.mo files (17 LOC)
    • 2 *.scss files (17 LOC)
  • " *.go" is biggest, containing 32.52% of LOC.
  • " *.scss" is smallest, containing 0.05% of LOC.


*.go11127 LOC (32%) 102 files
*.vue9441 LOC (27%) 55 files
*.css6500 LOC (18%) 14 files
*.js4865 LOC (14%) 20 files
*.ts955 LOC (2%) 12 files
*.yaml645 LOC (1%) 26 files
*.html567 LOC (1%) 24 files
*.tpl58 LOC (<1%) 1 file
*.groovy29 LOC (<1%) 4 files
*.mo17 LOC (<1%) 1 file
*.scss17 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 ".*/mock[a-zA-Z0-9_\- ]+/.*".
    • files with paths like ".*/[Mm]ocks/.*".
    • files with paths like ".*_test[.].*".
  • 20 files match defined criteria (2,210 LOC, 6.5% vs. main code). All matches are in *.go files.


*.go2210 LOC (100%) 20 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 ".*/package[-]lock[.]json".
  • 1 file matches defined criteria (8,583 LOC, 25.1% vs. main code). All matches are in *.json files.


*.json8583 LOC (100%) 1 file
Other Code
mod
ini
po
properties
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*/go[.]mod".
    • files with paths like ".*[.]po".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]eslintignore".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]ini".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[.]gitignore".
  • 22 files match defined criteria (9,738 LOC, 28.5% vs. main code):
    • 5 *.json files (8,656 LOC)
    • 10 *.svg files (706 LOC)
    • 1 *.mod files (143 LOC)
    • 2 *.md files (81 LOC)
    • 1 *.ini files (76 LOC)
    • 1 *.po files (68 LOC)
    • 1 *.properties files (6 LOC)
    • 1 *.txt files (2 LOC)
  • " *.json" is biggest, containing 88.89% of LOC.
  • " *.txt" is smallest, containing 0.02% of LOC.


*.json8656 LOC (88%) 5 files
*.svg706 LOC (7%) 10 files
*.mod143 LOC (1%) 1 file
*.md81 LOC (<1%) 2 files
*.ini76 LOC (<1%) 1 file
*.po68 LOC (<1%) 1 file
*.properties6 LOC (<1%) 1 file
*.txt2 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-01-10 14:19