apache / activemq-website
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
asc
xsd
txt
diff
ru
htaccess
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.

main280625 LOC (5%) 2,375 files
test0 LOC (0%) 0 files
generated3282400 LOC (63%) 13,644 files
build and deployment231 LOC (<1%) 11 files
other1575738 LOC (30%) 6,983 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
xsd
asc
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 2375 files match defined criteria (280,625 LOC, 100.0% vs. main code):
    • 45 *.xsd files (158,837 LOC)
    • 1,796 *.js files (64,308 LOC)
    • 246 *.htm files (36,117 LOC)
    • 23 *.css files (7,022 LOC)
    • 90 *.scss files (6,068 LOC)
    • 38 *.html files (5,585 LOC)
    • 135 *.asc files (1,643 LOC)
    • 1 *.xml files (969 LOC)
    • 1 *.py files (76 LOC)
  • " *.xsd" is biggest, containing 56.6% of LOC.
  • " *.py" is smallest, containing 0.03% of LOC.


*.xsd158837 LOC (56%) 45 files
*.js64308 LOC (22%) 1,796 files
*.htm36117 LOC (12%) 246 files
*.css7022 LOC (2%) 23 files
*.scss6068 LOC (2%) 90 files
*.html5585 LOC (1%) 38 files
*.asc1643 LOC (<1%) 135 files
*.xml969 LOC (<1%) 1 file
*.py76 LOC (<1%) 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" .*".
    • files with any line of content like "\<\!\-\-[ ]*Generated by .*".
    • files with paths like ".*[.](html|html|xhtml)" AND any line of content like ".*Generated by Doxygen.*".
  • 13644 files match defined criteria (3,282,400 LOC, 1169.7% vs. main code). All matches are in *.html files.


*.html3282400 LOC (100%) 13,644 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 ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 11 files match defined criteria (231 LOC, 0.1% vs. main code). All matches are in *.sh files.


*.sh231 LOC (100%) 11 files
Other Code
diff
txt
ru
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 ".*/[Dd]ocumentation/.*".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]diff".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]json".
    • files with paths like ".*/vendor/.*".
    • files with paths like ".*/[.]htaccess".
    • files with paths like ".*/[.]gitignore".
  • 6983 files match defined criteria (1,575,738 LOC, 561.5% vs. main code):
    • 5,495 *.html files (1,402,085 LOC)
    • 58 *.svg files (60,707 LOC)
    • 950 *.md files (47,064 LOC)
    • 186 *.css files (42,820 LOC)
    • 194 *.js files (19,067 LOC)
    • 34 *.diff files (2,091 LOC)
    • 62 *.txt files (1,888 LOC)
    • 3 *.json files (14 LOC)
    • 1 *.ru files (2 LOC)
  • " *.html" is biggest, containing 88.98% of LOC.
  • " *.ru" is smallest, containing 0% of LOC.


*.html1402085 LOC (88%) 5,495 files
*.svg60707 LOC (3%) 58 files
*.md47064 LOC (2%) 950 files
*.css42820 LOC (2%) 186 files
*.js19067 LOC (1%) 194 files
*.diff2091 LOC (<1%) 34 files
*.txt1888 LOC (<1%) 62 files
*.json14 LOC (<1%) 3 files
*.ru2 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 17:51