apache / velocity-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
xsl
htaccess
cgi
props
txt
rss
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.

main448282 LOC (27%) 1,738 files
test73056 LOC (4%) 505 files
generated1105621 LOC (67%) 5,728 files
build and deployment42 LOC (<1%) 2 files
other2544 LOC (<1%) 42 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
xsl
cgi
rss
props
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 1738 files match defined criteria (448,282 LOC, 100.0% vs. main code):
    • 1,599 *.html files (432,940 LOC)
    • 110 *.css files (13,354 LOC)
    • 2 *.xml files (822 LOC)
    • 5 *.rdf files (351 LOC)
    • 8 *.xsl files (329 LOC)
    • 8 *.js files (232 LOC)
    • 2 *.pm files (209 LOC)
    • 2 *.cgi files (41 LOC)
    • 1 *.rss files (2 LOC)
    • 1 *.props files (2 LOC)
  • " *.html" is biggest, containing 96.58% of LOC.
  • " *.props" is smallest, containing 0% of LOC.


*.html432940 LOC (96%) 1,599 files
*.css13354 LOC (2%) 110 files
*.xml822 LOC (<1%) 2 files
*.rdf351 LOC (<1%) 5 files
*.xsl329 LOC (<1%) 8 files
*.js232 LOC (<1%) 8 files
*.pm209 LOC (<1%) 2 files
*.cgi41 LOC (<1%) 2 files
*.rss2 LOC (<1%) 1 file
*.props2 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/.*".
  • 505 files match defined criteria (73,056 LOC, 16.3% vs. main code). All matches are in *.html files.


*.html73056 LOC (100%) 505 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 .*".
  • 5728 files match defined criteria (1,105,621 LOC, 246.6% vs. main code). All matches are in *.html files.


*.html1105621 LOC (100%) 5,728 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 ".*/pom[.]xml".
    • files with paths like ".*[.]sh".
  • 2 files match defined criteria (42 LOC, 0.0% vs. main code):
    • 1 *.sh files (22 LOC)
    • 1 *.xml files (20 LOC)
  • " *.sh" is biggest, containing 52.38% of LOC.
  • " *.xml" is smallest, containing 47.62% of LOC.


*.sh22 LOC (52%) 1 file
*.xml20 LOC (47%) 1 file
Other Code
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*/[.]htaccess".
    • files with paths like ".*[.]svg".
  • 42 files match defined criteria (2,544 LOC, 0.6% vs. main code):
    • 22 *.html files (1,951 LOC)
    • 19 *.svg files (543 LOC)
    • 1 *.md files (50 LOC)
  • " *.html" is biggest, containing 76.69% of LOC.
  • " *.md" is smallest, containing 1.97% of LOC.


*.html1951 LOC (76%) 22 files
*.svg543 LOC (21%) 19 files
*.md50 LOC (1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-11 01:44