apache / steve
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.

main8663 LOC (79%) 69 files
test165 LOC (1%) 4 files
generated1133 LOC (10%) 24 files
build and deployment21 LOC (<1%) 3 files
other914 LOC (8%) 17 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 ".*".
  • 69 files match defined criteria (8,663 LOC, 100.0% vs. main code):
    • 41 *.py files (3,853 LOC)
    • 7 *.js files (2,635 LOC)
    • 4 *.css files (935 LOC)
    • 6 *.pl files (549 LOC)
    • 1 *.pas files (367 LOC)
    • 1 *.rb files (109 LOC)
    • 3 *.html files (78 LOC)
    • 2 *.yaml files (44 LOC)
    • 1 *.rdf files (35 LOC)
    • 1 *.sql files (30 LOC)
    • 1 *.cfg files (16 LOC)
    • 1 *.toml files (12 LOC)
  • " *.py" is biggest, containing 44.48% of LOC.
  • " *.toml" is smallest, containing 0.14% of LOC.


*.py3853 LOC (44%) 41 files
*.js2635 LOC (30%) 7 files
*.css935 LOC (10%) 4 files
*.pl549 LOC (6%) 6 files
*.pas367 LOC (4%) 1 file
*.rb109 LOC (1%) 1 file
*.html78 LOC (<1%) 3 files
*.yaml44 LOC (<1%) 2 files
*.rdf35 LOC (<1%) 1 file
*.sql30 LOC (<1%) 1 file
*.cfg16 LOC (<1%) 1 file
*.toml12 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 ".*/[Tt]est/.*".
  • 4 files match defined criteria (165 LOC, 1.9% vs. main code):
    • 3 *.py files (147 LOC)
    • 1 *.sh files (18 LOC)
  • " *.py" is biggest, containing 89.09% of LOC.
  • " *.sh" is smallest, containing 10.91% of LOC.


*.py147 LOC (89%) 3 files
*.sh18 LOC (10%) 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 ".*[.](html|html|xhtml)" AND any line of content like "[ ]*[<]meta name[=]"generator" .*".
  • 24 files match defined criteria (1,133 LOC, 13.1% vs. main code). All matches are in *.html files.


*.html1133 LOC (100%) 24 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".
  • 3 files match defined criteria (21 LOC, 0.2% vs. main code). All matches are in *.sh files.


*.sh21 LOC (100%) 3 files
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • 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 ".*[.]svg".
  • 17 files match defined criteria (914 LOC, 10.6% vs. main code):
    • 10 *.md files (432 LOC)
    • 6 *.txt files (390 LOC)
    • 1 *.svg files (92 LOC)
  • " *.md" is biggest, containing 47.26% of LOC.
  • " *.svg" is smallest, containing 10.07% of LOC.


*.md432 LOC (47%) 10 files
*.txt390 LOC (42%) 6 files
*.svg92 LOC (10%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:57