apache / sdap-nexusproto
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
properties
txt
proto
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.

main184 LOC (33%) 4 files
test0 LOC (0%) 0 files
generated0 LOC (0%) 0 files
build and deployment224 LOC (41%) 3 files
other137 LOC (25%) 4 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
proto
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 4 files match defined criteria (184 LOC, 100.0% vs. main code):
    • 1 *.proto files (136 LOC)
    • 3 *.py files (48 LOC)
  • " *.proto" is biggest, containing 73.91% of LOC.
  • " *.py" is smallest, containing 26.09% of LOC.


*.proto136 LOC (73%) 1 file
*.py48 LOC (26%) 3 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 ".*[.]gradle".
    • files with paths like ".*[.]bat".
  • 3 files match defined criteria (224 LOC, 121.7% vs. main code):
    • 2 *.gradle files (156 LOC)
    • 1 *.bat files (68 LOC)
  • " *.gradle" is biggest, containing 69.64% of LOC.
  • " *.bat" is smallest, containing 30.36% of LOC.


*.gradle156 LOC (69%) 2 files
*.bat68 LOC (30%) 1 file
Other Code
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
  • 4 files match defined criteria (137 LOC, 74.5% vs. main code):
    • 3 *.md files (133 LOC)
    • 1 *.properties files (4 LOC)
  • " *.md" is biggest, containing 97.08% of LOC.
  • " *.properties" is smallest, containing 2.92% of LOC.


*.md133 LOC (97%) 3 files
*.properties4 LOC (2%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 17:32