apache / qpid-jms
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
xsl
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.

main32765 LOC (28%) 315 files
test79048 LOC (69%) 384 files
generated0 LOC (0%) 0 files
build and deployment902 LOC (<1%) 7 files
other762 LOC (<1%) 16 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 ".*".
  • 315 files match defined criteria (32,765 LOC, 100.0% vs. main code):
    • 310 *.java files (32,605 LOC)
    • 2 *.xml files (115 LOC)
    • 1 *.yml files (29 LOC)
    • 2 *.html files (16 LOC)
  • " *.java" is biggest, containing 99.51% of LOC.
  • " *.html" is smallest, containing 0.05% of LOC.


*.java32605 LOC (99%) 310 files
*.xml115 LOC (<1%) 2 files
*.yml29 LOC (<1%) 1 file
*.html16 LOC (<1%) 2 files
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 ".*[-]tests/.*".
    • files with paths like ".*/[Tt]est/.*".
  • 384 files match defined criteria (79,048 LOC, 241.3% vs. main code):
    • 377 *.java files (78,107 LOC)
    • 5 *.xsl files (789 LOC)
    • 2 *.xml files (152 LOC)
  • " *.java" is biggest, containing 98.81% of LOC.
  • " *.xml" is smallest, containing 0.19% of LOC.


*.java78107 LOC (98%) 377 files
*.xsl789 LOC (<1%) 5 files
*.xml152 LOC (<1%) 2 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 ".*/assembly/src[.]xml".
  • 7 files match defined criteria (902 LOC, 2.8% vs. main code). All matches are in *.xml files.


*.xml902 LOC (100%) 7 files
Other Code
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]properties".
  • 16 files match defined criteria (762 LOC, 2.3% vs. main code):
    • 8 *.txt files (358 LOC)
    • 3 *.md files (279 LOC)
    • 5 *.properties files (125 LOC)
  • " *.txt" is biggest, containing 46.98% of LOC.
  • " *.properties" is smallest, containing 16.4% of LOC.


*.txt358 LOC (46%) 8 files
*.md279 LOC (36%) 3 files
*.properties125 LOC (16%) 5 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 15:23