apache / qpid-broker-j
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
xsl
xsd
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.

main291969 LOC (63%) 2,690 files
test158977 LOC (34%) 948 files
generated0 LOC (0%) 0 files
build and deployment5936 LOC (1%) 52 files
other6017 LOC (1%) 81 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
xsl
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 2690 files match defined criteria (291,969 LOC, 100.0% vs. main code):
    • 2,165 *.java files (240,126 LOC)
    • 245 *.js files (29,505 LOC)
    • 102 *.xml files (13,481 LOC)
    • 173 *.html files (7,940 LOC)
    • 3 *.css files (865 LOC)
    • 1 *.py files (43 LOC)
    • 1 *.xsl files (9 LOC)
  • " *.java" is biggest, containing 82.24% of LOC.
  • " *.xsl" is smallest, containing 0% of LOC.


*.java240126 LOC (82%) 2,165 files
*.js29505 LOC (10%) 245 files
*.xml13481 LOC (4%) 102 files
*.html7940 LOC (2%) 173 files
*.css865 LOC (<1%) 3 files
*.py43 LOC (<1%) 1 file
*.xsl9 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
xsl
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 ".*/test[.].*".
    • files with paths like ".*[-]tests[-].*".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*[-]tests/.*".
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
    • files with paths like ".*/[Ss]pecs/.*".
  • 948 files match defined criteria (158,977 LOC, 54.4% vs. main code):
    • 920 *.java files (150,760 LOC)
    • 23 *.xml files (7,705 LOC)
    • 1 *.xsl files (412 LOC)
    • 3 *.js files (78 LOC)
    • 1 *.html files (22 LOC)
  • " *.java" is biggest, containing 94.83% of LOC.
  • " *.html" is smallest, containing 0.01% of LOC.


*.java150760 LOC (94%) 920 files
*.xml7705 LOC (4%) 23 files
*.xsl412 LOC (<1%) 1 file
*.js78 LOC (<1%) 3 files
*.html22 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".
    • files with paths like ".*[.]bat".
    • files with paths like ".*/assembly/src[.]xml".
  • 52 files match defined criteria (5,936 LOC, 2.0% vs. main code):
    • 48 *.xml files (5,746 LOC)
    • 4 *.sh files (190 LOC)
  • " *.xml" is biggest, containing 96.8% of LOC.
  • " *.sh" is smallest, containing 3.2% of LOC.


*.xml5746 LOC (96%) 48 files
*.sh190 LOC (3%) 4 files
Other Code
properties
txt
xsd
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/resources/.*[.]xsd".
    • files with paths like ".*[.]svg".
  • 81 files match defined criteria (6,017 LOC, 2.1% vs. main code):
    • 13 *.md files (3,300 LOC)
    • 38 *.properties files (1,224 LOC)
    • 17 *.json files (1,219 LOC)
    • 5 *.svg files (212 LOC)
    • 7 *.txt files (53 LOC)
    • 1 *.xsd files (9 LOC)
  • " *.md" is biggest, containing 54.84% of LOC.
  • " *.xsd" is smallest, containing 0.15% of LOC.


*.md3300 LOC (54%) 13 files
*.properties1224 LOC (20%) 38 files
*.json1219 LOC (20%) 17 files
*.svg212 LOC (3%) 5 files
*.txt53 LOC (<1%) 7 files
*.xsd9 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 16:56