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.

main281615 LOC (7%) 2,379 files
test0 LOC (0%) 0 files
generated2859725 LOC (80%) 12,466 files
build and deployment54 LOC (<1%) 7 files
other428979 LOC (12%) 2,087 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
ru
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 2379 files match defined criteria (281,615 LOC, 100.0% vs. main code):
    • 45 *.xsd files (158,837 LOC)
    • 1,797 *.js files (64,427 LOC)
    • 246 *.htm files (36,117 LOC)
    • 24 *.css files (7,853 LOC)
    • 90 *.scss files (6,068 LOC)
    • 37 *.html files (5,563 LOC)
    • 135 *.asc files (1,643 LOC)
    • 1 *.xml files (969 LOC)
    • 3 *.yml files (136 LOC)
    • 1 *.ru files (2 LOC)
  • " *.xsd" is biggest, containing 56.4% of LOC.
  • " *.ru" is smallest, containing 0% of LOC.


*.xsd158837 LOC (56%) 45 files
*.js64427 LOC (22%) 1,797 files
*.htm36117 LOC (12%) 246 files
*.css7853 LOC (2%) 24 files
*.scss6068 LOC (2%) 90 files
*.html5563 LOC (1%) 37 files
*.asc1643 LOC (<1%) 135 files
*.xml969 LOC (<1%) 1 file
*.yml136 LOC (<1%) 3 files
*.ru2 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 any line of content like "\<\!\-\-[ ]*Generated by .*".
    • files with paths like ".*[.](html|html|xhtml)" AND any line of content like "[ ]*[<]meta name[=]"generator" .*".
    • files with paths like ".*[.](html|html|xhtml)" AND any line of content like ".*Generated by Doxygen.*".
  • 12466 files match defined criteria (2,859,725 LOC, 1015.5% vs. main code). All matches are in *.html files.


*.html2859725 LOC (100%) 12,466 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".
  • 7 files match defined criteria (54 LOC, 0.0% vs. main code). All matches are in *.sh files.


*.sh54 LOC (100%) 7 files
Other Code
diff
txt
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 ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[Dd]ocumentation/.*".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]diff".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*/[.]htaccess".
  • 2087 files match defined criteria (428,979 LOC, 152.3% vs. main code):
    • 750 *.html files (306,228 LOC)
    • 895 *.md files (45,050 LOC)
    • 161 *.css files (33,983 LOC)
    • 44 *.svg files (23,313 LOC)
    • 198 *.js files (19,464 LOC)
    • 8 *.diff files (492 LOC)
    • 28 *.txt files (435 LOC)
    • 3 *.json files (14 LOC)
  • " *.html" is biggest, containing 71.39% of LOC.
  • " *.json" is smallest, containing 0% of LOC.


*.html306228 LOC (71%) 750 files
*.md45050 LOC (10%) 895 files
*.css33983 LOC (7%) 161 files
*.svg23313 LOC (5%) 44 files
*.js19464 LOC (4%) 198 files
*.diff492 LOC (<1%) 8 files
*.txt435 LOC (<1%) 28 files
*.json14 LOC (<1%) 3 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 21:28