apache / creadur-site
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
cgi
xsd
pb
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.

main374483 LOC (34%) 2,905 files
test3636 LOC (<1%) 23 files
generated673677 LOC (61%) 4,633 files
build and deployment7 LOC (<1%) 1 file
other36359 LOC (3%) 200 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
xsd
cgi
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 2905 files match defined criteria (374,483 LOC, 100.0% vs. main code):
    • 2,391 *.html files (265,678 LOC)
    • 286 *.css files (82,249 LOC)
    • 218 *.js files (26,171 LOC)
    • 2 *.xsd files (240 LOC)
    • 7 *.cgi files (140 LOC)
    • 1 *.yaml files (5 LOC)
  • " *.html" is biggest, containing 70.95% of LOC.
  • " *.yaml" is smallest, containing 0% of LOC.


*.html265678 LOC (70%) 2,391 files
*.css82249 LOC (21%) 286 files
*.js26171 LOC (6%) 218 files
*.xsd240 LOC (<1%) 2 files
*.cgi140 LOC (<1%) 7 files
*.yaml5 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]est/.*".
  • 23 files match defined criteria (3,636 LOC, 1.0% vs. main code). All matches are in *.html files.


*.html3636 LOC (100%) 23 files
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" .*".
    • files with any line of content like "\<\!\-\-[ ]*Generated by .*".
  • 4633 files match defined criteria (673,677 LOC, 179.9% vs. main code). All matches are in *.html files.


*.html673677 LOC (100%) 4,633 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 ".*/docker[-]compose[.]yaml".
  • 1 file matches defined criteria (7 LOC, 0.0% vs. main code). All matches are in *.yaml files.


*.yaml7 LOC (100%) 1 file
Other Code
txt
pb
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]pb".
  • 200 files match defined criteria (36,359 LOC, 9.7% vs. main code):
    • 64 *.html files (26,957 LOC)
    • 16 *.txt files (3,792 LOC)
    • 9 *.xml files (3,341 LOC)
    • 55 *.md files (1,644 LOC)
    • 54 *.svg files (540 LOC)
    • 2 *.pb files (85 LOC)
  • " *.html" is biggest, containing 74.14% of LOC.
  • " *.pb" is smallest, containing 0.23% of LOC.


*.html26957 LOC (74%) 64 files
*.txt3792 LOC (10%) 16 files
*.xml3341 LOC (9%) 9 files
*.md1644 LOC (4%) 55 files
*.svg540 LOC (1%) 54 files
*.pb85 LOC (<1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 16:04