apache / activemq-web
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
xsd
asc
properties
in
spec
patch
rss
cfg
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.

main48658 LOC (94%) 183 files
test0 LOC (0%) 0 files
generated1091 LOC (2%) 5 files
build and deployment385 LOC (<1%) 3 files
other1350 LOC (2%) 22 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
xsd
rss
cfg
in
spec
asc
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 183 files match defined criteria (48,658 LOC, 100.0% vs. main code):
    • 8 *.xsd files (21,610 LOC)
    • 125 *.html files (20,351 LOC)
    • 5 *.js files (2,579 LOC)
    • 13 *.java files (1,173 LOC)
    • 3 *.css files (1,163 LOC)
    • 15 *.xml files (712 LOC)
    • 1 *.rss files (541 LOC)
    • 1 *.cfg files (200 LOC)
    • 2 *.in files (133 LOC)
    • 1 *.spec files (96 LOC)
    • 1 *.c files (52 LOC)
    • 8 *.asc files (48 LOC)
  • " *.xsd" is biggest, containing 44.41% of LOC.
  • " *.asc" is smallest, containing 0.1% of LOC.


*.xsd21610 LOC (44%) 8 files
*.html20351 LOC (41%) 125 files
*.js2579 LOC (5%) 5 files
*.java1173 LOC (2%) 13 files
*.css1163 LOC (2%) 3 files
*.xml712 LOC (1%) 15 files
*.rss541 LOC (1%) 1 file
*.cfg200 LOC (<1%) 1 file
*.in133 LOC (<1%) 2 files
*.spec96 LOC (<1%) 1 file
*.c52 LOC (<1%) 1 file
*.asc48 LOC (<1%) 8 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 .*".
  • 5 files match defined criteria (1,091 LOC, 2.2% vs. main code). All matches are in *.html files.


*.html1091 LOC (100%) 5 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".
  • 3 files match defined criteria (385 LOC, 0.8% vs. main code):
    • 1 *.xml files (271 LOC)
    • 2 *.sh files (114 LOC)
  • " *.xml" is biggest, containing 70.39% of LOC.
  • " *.sh" is smallest, containing 29.61% of LOC.


*.xml271 LOC (70%) 1 file
*.sh114 LOC (29%) 2 files
Other Code
txt
patch
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]patch".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 22 files match defined criteria (1,350 LOC, 2.8% vs. main code):
    • 17 *.txt files (1,130 LOC)
    • 1 *.patch files (129 LOC)
    • 4 *.properties files (91 LOC)
  • " *.txt" is biggest, containing 83.7% of LOC.
  • " *.properties" is smallest, containing 6.74% of LOC.


*.txt1130 LOC (83%) 17 files
*.patch129 LOC (9%) 1 file
*.properties91 LOC (6%) 4 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 21:05