epam / edp-ddm-kong
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
lua
patch
t
proto
txt
mod
ld
rockspec
editorconfig
tpl
gitmodules
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.

main192316 LOC (75%) 1,062 files
test1720 LOC (<1%) 20 files
generated0 LOC (0%) 0 files
build and deployment1159 LOC (<1%) 16 files
other58007 LOC (22%) 203 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
lua
proto
t
tpl
rockspec
ld
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 1062 files match defined criteria (192,316 LOC, 100.0% vs. main code):
    • 839 *.lua files (180,325 LOC)
    • 40 *.proto files (3,870 LOC)
    • 1 *.sql files (2,521 LOC)
    • 48 *.yaml files (2,492 LOC)
    • 101 *.t files (806 LOC)
    • 1 *.tpl files (649 LOC)
    • 1 *.rockspec files (466 LOC)
    • 17 *.tf files (437 LOC)
    • 1 *.css files (246 LOC)
    • 8 *.groovy files (159 LOC)
    • 1 *.pm files (159 LOC)
    • 1 *.py files (94 LOC)
    • 1 *.go files (61 LOC)
    • 2 *.ld files (31 LOC)
  • " *.lua" is biggest, containing 93.76% of LOC.
  • " *.ld" is smallest, containing 0.02% of LOC.


*.lua180325 LOC (93%) 839 files
*.proto3870 LOC (2%) 40 files
*.sql2521 LOC (1%) 1 file
*.yaml2492 LOC (1%) 48 files
*.t806 LOC (<1%) 101 files
*.tpl649 LOC (<1%) 1 file
*.rockspec466 LOC (<1%) 1 file
*.tf437 LOC (<1%) 17 files
*.css246 LOC (<1%) 1 file
*.groovy159 LOC (<1%) 8 files
*.pm159 LOC (<1%) 1 file
*.py94 LOC (<1%) 1 file
*.go61 LOC (<1%) 1 file
*.ld31 LOC (<1%) 2 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
lua
proto
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*[-]tests/.*".
    • files with paths like ".*[-]tests[-].*".
    • files with paths like ".*_tests[.].*".
    • files with paths like ".*/mock[a-zA-Z0-9_\- ]+/.*".
    • files with paths like ".*/[Mm]ocks/.*".
    • files with paths like ".*/test[.].*".
    • files with paths like ".*/test_.*".
  • 20 files match defined criteria (1,720 LOC, 0.9% vs. main code):
    • 7 *.lua files (1,133 LOC)
    • 11 *.sh files (461 LOC)
    • 1 *.yaml files (115 LOC)
    • 1 *.proto files (11 LOC)
  • " *.lua" is biggest, containing 65.87% of LOC.
  • " *.proto" is smallest, containing 0.64% of LOC.


*.lua1133 LOC (65%) 7 files
*.sh461 LOC (26%) 11 files
*.yaml115 LOC (6%) 1 file
*.proto11 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 ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitmodules".
  • 16 files match defined criteria (1,159 LOC, 0.6% vs. main code). All matches are in *.sh files.


*.sh1159 LOC (100%) 16 files
Other Code
patch
txt
mod
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]dockerignore".
    • files with paths like ".*[.]patch".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/go[.]mod".
    • files with paths like ".*[.]editorconfig".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 203 files match defined criteria (58,007 LOC, 30.2% vs. main code):
    • 174 *.patch files (41,729 LOC)
    • 20 *.md files (12,920 LOC)
    • 3 *.json files (3,139 LOC)
    • 5 *.txt files (216 LOC)
    • 1 *.mod files (3 LOC)
  • " *.patch" is biggest, containing 71.94% of LOC.
  • " *.mod" is smallest, containing 0.01% of LOC.


*.patch41729 LOC (71%) 174 files
*.md12920 LOC (22%) 20 files
*.json3139 LOC (5%) 3 files
*.txt216 LOC (<1%) 5 files
*.mod3 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-01-10 14:33