elastic / geneve
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
cfg
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.

main3290 LOC (11%) 43 files
test6597 LOC (22%) 25 files
generated0 LOC (0%) 0 files
build and deployment310 LOC (1%) 2 files
other19333 LOC (65%) 33 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
cfg
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 43 files match defined criteria (3,290 LOC, 100.0% vs. main code):
    • 39 *.py files (3,089 LOC)
    • 1 *.yaml files (107 LOC)
    • 1 *.toml files (46 LOC)
    • 1 *.g files (40 LOC)
    • 1 *.cfg files (8 LOC)
  • " *.py" is biggest, containing 93.89% of LOC.
  • " *.cfg" is smallest, containing 0.24% of LOC.


*.py3089 LOC (93%) 39 files
*.yaml107 LOC (3%) 1 file
*.toml46 LOC (1%) 1 file
*.g40 LOC (1%) 1 file
*.cfg8 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 ".*/[Tt]ests/.*".
    • files with paths like ".*/test_.*".
    • files with paths like ".*[-]test[-].*".
  • 25 files match defined criteria (6,597 LOC, 200.5% vs. main code):
    • 20 *.py files (4,116 LOC)
    • 1 *.ipynb files (2,338 LOC)
    • 4 *.yaml files (143 LOC)
  • " *.py" is biggest, containing 62.39% of LOC.
  • " *.yaml" is smallest, containing 2.17% of LOC.


*.py4116 LOC (62%) 20 files
*.ipynb2338 LOC (35%) 1 file
*.yaml143 LOC (2%) 4 files
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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]sh".
  • 2 files match defined criteria (310 LOC, 9.4% vs. main code). All matches are in *.sh files.


*.sh310 LOC (100%) 2 files
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/README[.][a-z0-9]+".
  • 33 files match defined criteria (19,333 LOC, 587.6% vs. main code):
    • 27 *.md files (19,017 LOC)
    • 4 *.txt files (170 LOC)
    • 2 *.json files (146 LOC)
  • " *.md" is biggest, containing 98.37% of LOC.
  • " *.json" is smallest, containing 0.76% of LOC.


*.md19017 LOC (98%) 27 files
*.txt170 LOC (<1%) 4 files
*.json146 LOC (<1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-13 19:58