epam / kubernetes-kueue
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
webmanifest
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.

main29272 LOC (58%) 202 files
test16714 LOC (33%) 66 files
generated1020 LOC (2%) 1 file
build and deployment314 LOC (<1%) 5 files
other3102 LOC (6%) 25 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
tpl
webmanifest
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 202 files match defined criteria (29,272 LOC, 100.0% vs. main code):
    • 105 *.yaml files (20,276 LOC)
    • 74 *.go files (8,123 LOC)
    • 16 *.html files (388 LOC)
    • 2 *.scss files (251 LOC)
    • 2 *.toml files (155 LOC)
    • 1 *.tpl files (57 LOC)
    • 1 *.xml files (21 LOC)
    • 1 *.webmanifest files (1 LOC)
  • " *.yaml" is biggest, containing 69.27% of LOC.
  • " *.webmanifest" is smallest, containing 0% of LOC.


*.yaml20276 LOC (69%) 105 files
*.go8123 LOC (27%) 74 files
*.html388 LOC (1%) 16 files
*.scss251 LOC (<1%) 2 files
*.toml155 LOC (<1%) 2 files
*.tpl57 LOC (<1%) 1 file
*.xml21 LOC (<1%) 1 file
*.webmanifest1 LOC (<1%) 1 file
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 ".*_test[.].*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/e2e/.*".
  • 66 files match defined criteria (16,714 LOC, 57.1% vs. main code):
    • 59 *.go files (16,395 LOC)
    • 6 *.yaml files (225 LOC)
    • 1 *.sh files (94 LOC)
  • " *.go" is biggest, containing 98.09% of LOC.
  • " *.sh" is smallest, containing 0.56% of LOC.


*.go16395 LOC (98%) 59 files
*.yaml225 LOC (1%) 6 files
*.sh94 LOC (<1%) 1 file
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 (1,020 LOC, 3.5% vs. main code). All matches are in *.json files.


*.json1020 LOC (100%) 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 ".*/package[-]lock[.]json".
    • files with paths like ".*/package[.]json".
  • 5 files match defined criteria (314 LOC, 1.1% vs. main code). All matches are in *.sh files.


*.sh314 LOC (100%) 5 files
Other Code
mod
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/go[.]mod".
    • 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 ".*/[.]dockerignore".
    • files with paths like ".*/[Ee]xamples/.*".
  • 25 files match defined criteria (3,102 LOC, 10.6% vs. main code):
    • 18 *.md files (1,880 LOC)
    • 2 *.json files (1,028 LOC)
    • 3 *.yaml files (101 LOC)
    • 1 *.mod files (81 LOC)
    • 1 *.txt files (12 LOC)
  • " *.md" is biggest, containing 60.61% of LOC.
  • " *.txt" is smallest, containing 0.39% of LOC.


*.md1880 LOC (60%) 18 files
*.json1028 LOC (33%) 2 files
*.yaml101 LOC (3%) 3 files
*.mod81 LOC (2%) 1 file
*.txt12 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-01-17 15:35