apache / activemq-artemis
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
properties
txt
xsd
cmd
profile
prefs
diff
project
cfg
ini
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.

main251778 LOC (36%) 1,992 files
test419151 LOC (60%) 3,069 files
generated0 LOC (0%) 0 files
build and deployment7774 LOC (1%) 63 files
other11254 LOC (1%) 137 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
prefs
profile
cmd
cfg
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 1992 files match defined criteria (251,778 LOC, 100.0% vs. main code):
    • 1,969 *.java files (250,478 LOC)
    • 14 *.xml files (746 LOC)
    • 1 *.prefs files (307 LOC)
    • 2 *.profile files (88 LOC)
    • 2 *.cmd files (73 LOC)
    • 1 *.rdf files (64 LOC)
    • 2 *.html files (17 LOC)
    • 1 *.cfg files (5 LOC)
  • " *.java" is biggest, containing 99.48% of LOC.
  • " *.cfg" is smallest, containing 0% of LOC.


*.java250478 LOC (99%) 1,969 files
*.xml746 LOC (<1%) 14 files
*.prefs307 LOC (<1%) 1 file
*.profile88 LOC (<1%) 2 files
*.cmd73 LOC (<1%) 2 files
*.rdf64 LOC (<1%) 1 file
*.html17 LOC (<1%) 2 files
*.cfg5 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
profile
cmd
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*[-]tests/.*".
    • files with paths like ".*[-]test[-].*".
    • files with paths like ".*[-]tests[-].*".
    • files with paths like ".*/e2e/.*".
    • files with paths like ".*/test[.].*".
    • files with paths like ".*_tests[.].*".
  • 3069 files match defined criteria (419,151 LOC, 166.5% vs. main code):
    • 2,639 *.java files (395,858 LOC)
    • 305 *.xml files (19,919 LOC)
    • 82 *.groovy files (2,758 LOC)
    • 29 *.sh files (440 LOC)
    • 2 *.profile files (89 LOC)
    • 11 *.html files (45 LOC)
    • 1 *.cmd files (42 LOC)
  • " *.java" is biggest, containing 94.44% of LOC.
  • " *.cmd" is smallest, containing 0.01% of LOC.


*.java395858 LOC (94%) 2,639 files
*.xml19919 LOC (4%) 305 files
*.groovy2758 LOC (<1%) 82 files
*.sh440 LOC (<1%) 29 files
*.profile89 LOC (<1%) 2 files
*.html45 LOC (<1%) 11 files
*.cmd42 LOC (<1%) 1 file
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".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 63 files match defined criteria (7,774 LOC, 3.1% vs. main code):
    • 51 *.xml files (7,543 LOC)
    • 12 *.sh files (231 LOC)
  • " *.xml" is biggest, containing 97.03% of LOC.
  • " *.sh" is smallest, containing 2.97% of LOC.


*.xml7543 LOC (97%) 51 files
*.sh231 LOC (2%) 12 files
Other Code
xsd
properties
txt
ini
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*/resources/.*[.]xsd".
    • files with paths like ".*[.]adoc".
    • files with paths like ".*[.]properties".
    • 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]emos?/.*".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]diff".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*/checkstyle[.]xml".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*[.]ini".
  • 137 files match defined criteria (11,254 LOC, 4.5% vs. main code):
    • 7 *.xsd files (5,296 LOC)
    • 81 *.properties files (4,566 LOC)
    • 2 *.adoc files (416 LOC)
    • 5 *.java files (356 LOC)
    • 26 *.txt files (208 LOC)
    • 9 *.md files (159 LOC)
    • 4 *.xml files (147 LOC)
    • 1 *.html files (71 LOC)
    • 1 *.json files (25 LOC)
    • 1 *.ini files (10 LOC)
  • " *.xsd" is biggest, containing 47.06% of LOC.
  • " *.ini" is smallest, containing 0.09% of LOC.


*.xsd5296 LOC (47%) 7 files
*.properties4566 LOC (40%) 81 files
*.adoc416 LOC (3%) 2 files
*.java356 LOC (3%) 5 files
*.txt208 LOC (1%) 26 files
*.md159 LOC (1%) 9 files
*.xml147 LOC (1%) 4 files
*.html71 LOC (<1%) 1 file
*.json25 LOC (<1%) 1 file
*.ini10 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:51