apache / activemq-artemis-console
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
properties
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.

main6185 LOC (80%) 44 files
test109 LOC (1%) 8 files
generated0 LOC (0%) 0 files
build and deployment777 LOC (10%) 5 files
other658 LOC (8%) 14 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 44 files match defined criteria (6,185 LOC, 100.0% vs. main code):
    • 26 *.tsx files (4,573 LOC)
    • 10 *.ts files (939 LOC)
    • 3 *.xml files (357 LOC)
    • 3 *.css files (272 LOC)
    • 1 *.js files (29 LOC)
    • 1 *.html files (15 LOC)
  • " *.tsx" is biggest, containing 73.94% of LOC.
  • " *.html" is smallest, containing 0.24% of LOC.


*.tsx4573 LOC (73%) 26 files
*.ts939 LOC (15%) 10 files
*.xml357 LOC (5%) 3 files
*.css272 LOC (4%) 3 files
*.js29 LOC (<1%) 1 file
*.html15 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
    • files with paths like ".*/__mock[a-zA-Z0-9_\- ]+/.*".
    • files with paths like ".*[-]test[-].*".
    • files with paths like ".*/jest[.][a-zA-Z0-9\.]+".
  • 8 files match defined criteria (109 LOC, 1.8% vs. main code):
    • 4 *.ts files (99 LOC)
    • 4 *.js files (10 LOC)
  • " *.ts" is biggest, containing 90.83% of LOC.
  • " *.js" is smallest, containing 9.17% of LOC.


*.ts99 LOC (90%) 4 files
*.js10 LOC (9%) 4 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*([.]|/)webpack([.]|/).*".
  • 5 files match defined criteria (777 LOC, 12.6% vs. main code):
    • 4 *.xml files (464 LOC)
    • 1 *.cjs files (313 LOC)
  • " *.xml" is biggest, containing 59.72% of LOC.
  • " *.cjs" is smallest, containing 40.28% of LOC.


*.xml464 LOC (59%) 4 files
*.cjs313 LOC (40%) 1 file
Other Code
txt
properties
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 ".*[.]properties".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]json".
  • 14 files match defined criteria (658 LOC, 10.6% vs. main code):
    • 7 *.json files (374 LOC)
    • 4 *.md files (246 LOC)
    • 2 *.txt files (19 LOC)
    • 1 *.properties files (19 LOC)
  • " *.json" is biggest, containing 56.84% of LOC.
  • " *.properties" is smallest, containing 2.89% of LOC.


*.json374 LOC (56%) 7 files
*.md246 LOC (37%) 4 files
*.txt19 LOC (2%) 2 files
*.properties19 LOC (2%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 20:58