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
rss
cgi
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.

main195958 LOC (39%) 1,781 files
test755 LOC (<1%) 9 files
generated275583 LOC (55%) 1,925 files
build and deployment8 LOC (<1%) 1 file
other28572 LOC (5%) 105 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
cgi
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 1781 files match defined criteria (195,958 LOC, 100.0% vs. main code):
    • 1,367 *.html files (136,243 LOC)
    • 223 *.css files (47,368 LOC)
    • 175 *.js files (12,226 LOC)
    • 4 *.cgi files (80 LOC)
    • 12 *.xml files (41 LOC)
  • " *.html" is biggest, containing 69.53% of LOC.
  • " *.xml" is smallest, containing 0.02% of LOC.


*.html136243 LOC (69%) 1,367 files
*.css47368 LOC (24%) 223 files
*.js12226 LOC (6%) 175 files
*.cgi80 LOC (<1%) 4 files
*.xml41 LOC (<1%) 12 files
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/.*".
  • 9 files match defined criteria (755 LOC, 0.4% vs. main code). All matches are in *.html files.


*.html755 LOC (100%) 9 files
Generated Code
Automatically generated files, not manually changed after generation.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with any line of content like "\<\!\-\-[ ]*Generated by .*".
    • files with paths like ".*[.](html|html|xhtml)" AND any line of content like "[ ]*[<]meta name[=]"generator" .*".
  • 1925 files match defined criteria (275,583 LOC, 140.6% vs. main code). All matches are in *.html files.


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


*.yaml8 LOC (100%) 1 file
Other Code
rss
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
  • 105 files match defined criteria (28,572 LOC, 14.6% vs. main code):
    • 28 *.html files (19,942 LOC)
    • 9 *.xml files (3,341 LOC)
    • 8 *.rss files (2,308 LOC)
    • 35 *.md files (1,578 LOC)
    • 8 *.txt files (1,216 LOC)
    • 17 *.svg files (187 LOC)
  • " *.html" is biggest, containing 69.8% of LOC.
  • " *.svg" is smallest, containing 0.65% of LOC.


*.html19942 LOC (69%) 28 files
*.xml3341 LOC (11%) 9 files
*.rss2308 LOC (8%) 8 files
*.md1578 LOC (5%) 35 files
*.txt1216 LOC (4%) 8 files
*.svg187 LOC (<1%) 17 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 17:27