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.

main290576 LOC (63%) 2,685 files
test157086 LOC (34%) 940 files
generated0 LOC (0%) 0 files
build and deployment6026 LOC (1%) 50 files
other5689 LOC (1%) 75 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 ".*".
  • 2685 files match defined criteria (290,576 LOC, 100.0% vs. main code):
    • 2,161 *.java files (239,576 LOC)
    • 245 *.js files (29,171 LOC)
    • 100 *.xml files (13,127 LOC)
    • 173 *.html files (7,745 LOC)
    • 3 *.css files (865 LOC)
    • 1 *.py files (43 LOC)
    • 1 *.yml files (40 LOC)
    • 1 *.xsl files (9 LOC)
  • " *.java" is biggest, containing 82.45% of LOC.
  • " *.xsl" is smallest, containing 0% of LOC.


*.java239576 LOC (82%) 2,161 files
*.js29171 LOC (10%) 245 files
*.xml13127 LOC (4%) 100 files
*.html7745 LOC (2%) 173 files
*.css865 LOC (<1%) 3 files
*.py43 LOC (<1%) 1 file
*.yml40 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 ".*[-]test[-].*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/[Ss]pecs/.*".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*[-]tests[-].*".
    • files with paths like ".*[-]tests/.*".
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
  • 940 files match defined criteria (157,086 LOC, 54.1% vs. main code):
    • 912 *.java files (148,855 LOC)
    • 23 *.xml files (7,719 LOC)
    • 1 *.xsl files (412 LOC)
    • 3 *.js files (78 LOC)
    • 1 *.html files (22 LOC)
  • " *.java" is biggest, containing 94.76% of LOC.
  • " *.html" is smallest, containing 0.01% of LOC.


*.java148855 LOC (94%) 912 files
*.xml7719 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 ".*[.]bat".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/assembly/src[.]xml".
    • files with paths like ".*[.]sh".
  • 50 files match defined criteria (6,026 LOC, 2.1% vs. main code):
    • 48 *.xml files (5,968 LOC)
    • 2 *.sh files (58 LOC)
  • " *.xml" is biggest, containing 99.04% of LOC.
  • " *.sh" is smallest, containing 0.96% of LOC.


*.xml5968 LOC (99%) 48 files
*.sh58 LOC (<1%) 2 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 ".*[.]svg".
    • files with paths like ".*/resources/.*[.]xsd".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[Ee]xamples/.*".
  • 75 files match defined criteria (5,689 LOC, 2.0% vs. main code):
    • 12 *.md files (3,111 LOC)
    • 38 *.properties files (1,224 LOC)
    • 13 *.json files (1,097 LOC)
    • 5 *.svg files (212 LOC)
    • 6 *.txt files (36 LOC)
    • 1 *.xsd files (9 LOC)
  • " *.md" is biggest, containing 54.68% of LOC.
  • " *.xsd" is smallest, containing 0.16% of LOC.


*.md3111 LOC (54%) 12 files
*.properties1224 LOC (21%) 38 files
*.json1097 LOC (19%) 13 files
*.svg212 LOC (3%) 5 files
*.txt36 LOC (<1%) 6 files
*.xsd9 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 18:19