aws / eks-hybrid
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
cfg
npmignore
mod
hcl
mjs
prettierignore
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.

main12921 LOC (33%) 175 files
test17268 LOC (44%) 186 files
generated2172 LOC (5%) 1 file
build and deployment628 LOC (1%) 8 files
other5559 LOC (14%) 28 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
hcl
cfg
mjs
tpl
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 175 files match defined criteria (12,921 LOC, 100.0% vs. main code):
    • 154 *.go files (10,721 LOC)
    • 5 *.ts files (907 LOC)
    • 1 *.hcl files (570 LOC)
    • 9 *.yaml files (563 LOC)
    • 2 *.cfg files (85 LOC)
    • 1 *.mjs files (27 LOC)
    • 2 *.tpl files (24 LOC)
    • 1 *.toml files (24 LOC)
  • " *.go" is biggest, containing 82.97% of LOC.
  • " *.toml" is smallest, containing 0.19% of LOC.


*.go10721 LOC (82%) 154 files
*.ts907 LOC (7%) 5 files
*.hcl570 LOC (4%) 1 file
*.yaml563 LOC (4%) 9 files
*.cfg85 LOC (<1%) 2 files
*.mjs27 LOC (<1%) 1 file
*.tpl24 LOC (<1%) 2 files
*.toml24 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/.*".
    • files with paths like ".*/test_.*".
  • 186 files match defined criteria (17,268 LOC, 133.6% vs. main code):
    • 128 *.go files (15,061 LOC)
    • 26 *.yaml files (1,121 LOC)
    • 29 *.sh files (1,056 LOC)
    • 2 *.toml files (27 LOC)
    • 1 *.dockerignore files (3 LOC)
  • " *.go" is biggest, containing 87.22% of LOC.
  • " *.dockerignore" is smallest, containing 0.02% of LOC.


*.go15061 LOC (87%) 128 files
*.yaml1121 LOC (6%) 26 files
*.sh1056 LOC (6%) 29 files
*.toml27 LOC (<1%) 2 files
*.dockerignore3 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 (2,172 LOC, 16.8% vs. main code). All matches are in *.json files.


*.json2172 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".
  • 8 files match defined criteria (628 LOC, 4.9% vs. main code). All matches are in *.sh files.


*.sh628 LOC (100%) 8 files
Other Code
txt
mod
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 ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]prettierignore".
    • files with paths like ".*/[.]npmignore".
    • files with paths like ".*/go[.]mod".
  • 28 files match defined criteria (5,559 LOC, 43.0% vs. main code):
    • 15 *.json files (2,712 LOC)
    • 2 *.txt files (1,945 LOC)
    • 9 *.md files (751 LOC)
    • 2 *.mod files (151 LOC)
  • " *.json" is biggest, containing 48.79% of LOC.
  • " *.mod" is smallest, containing 2.72% of LOC.


*.json2712 LOC (48%) 15 files
*.txt1945 LOC (34%) 2 files
*.md751 LOC (13%) 9 files
*.mod151 LOC (2%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-04 01:00