apache / activemq-artemis-examples
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
csproj
gitattributes
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.

main0 LOC (0%) 0 files
test0 LOC (0%) 0 files
generated0 LOC (0%) 0 files
build and deployment307 LOC (<1%) 5 files
other44546 LOC (99%) 831 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".
    • files with paths like ".*[.]csproj".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitattributes".
  • 5 files match defined criteria (307 LOC, ∞% vs. main code):
    • 3 *.sh files (215 LOC)
    • 2 *.xml files (92 LOC)
  • " *.sh" is biggest, containing 70.03% of LOC.
  • " *.xml" is smallest, containing 29.97% of LOC.


*.sh215 LOC (70%) 3 files
*.xml92 LOC (29%) 2 files
Other Code
properties
txt
csproj
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]md".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]json".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
  • 831 files match defined criteria (44,546 LOC, ∞% vs. main code):
    • 369 *.xml files (27,582 LOC)
    • 182 *.java files (11,042 LOC)
    • 145 *.md files (2,506 LOC)
    • 97 *.properties files (1,991 LOC)
    • 3 *.js files (522 LOC)
    • 6 *.cs files (368 LOC)
    • 3 *.css files (107 LOC)
    • 2 *.txt files (94 LOC)
    • 2 *.cpp files (86 LOC)
    • 4 *.json files (68 LOC)
    • 2 *.rb files (61 LOC)
    • 3 *.html files (61 LOC)
    • 3 *.csproj files (29 LOC)
    • 9 *.sh files (21 LOC)
    • 1 *.hpp files (8 LOC)
  • " *.xml" is biggest, containing 61.92% of LOC.
  • " *.hpp" is smallest, containing 0.02% of LOC.


*.xml27582 LOC (61%) 369 files
*.java11042 LOC (24%) 182 files
*.md2506 LOC (5%) 145 files
*.properties1991 LOC (4%) 97 files
*.js522 LOC (1%) 3 files
*.cs368 LOC (<1%) 6 files
*.css107 LOC (<1%) 3 files
*.txt94 LOC (<1%) 2 files
*.cpp86 LOC (<1%) 2 files
*.json68 LOC (<1%) 4 files
*.rb61 LOC (<1%) 2 files
*.html61 LOC (<1%) 3 files
*.csproj29 LOC (<1%) 3 files
*.sh21 LOC (<1%) 9 files
*.hpp8 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 20:55