apache / commons-configuration
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
xsd
cgi
ini
plist
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.

main34948 LOC (46%) 313 files
test33511 LOC (44%) 303 files
generated0 LOC (0%) 0 files
build and deployment796 LOC (1%) 2 files
other5638 LOC (7%) 48 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
xsd
cgi
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 313 files match defined criteria (34,948 LOC, 100.0% vs. main code):
    • 265 *.java files (20,427 LOC)
    • 45 *.xml files (14,361 LOC)
    • 1 *.xsd files (107 LOC)
    • 1 *.html files (49 LOC)
    • 1 *.cgi files (4 LOC)
  • " *.java" is biggest, containing 58.45% of LOC.
  • " *.cgi" is smallest, containing 0.01% of LOC.


*.java20427 LOC (58%) 265 files
*.xml14361 LOC (41%) 45 files
*.xsd107 LOC (<1%) 1 file
*.html49 LOC (<1%) 1 file
*.cgi4 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 ".*/test_.*".
  • 303 files match defined criteria (33,511 LOC, 95.9% vs. main code):
    • 209 *.java files (31,655 LOC)
    • 93 *.xml files (1,837 LOC)
    • 1 *.yaml files (19 LOC)
  • " *.java" is biggest, containing 94.46% of LOC.
  • " *.yaml" is smallest, containing 0.06% of LOC.


*.java31655 LOC (94%) 209 files
*.xml1837 LOC (5%) 93 files
*.yaml19 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 ".*/assembly/src[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 2 files match defined criteria (796 LOC, 2.3% vs. main code). All matches are in *.xml files.


*.xml796 LOC (100%) 2 files
Other Code
txt
properties
xsd
plist
ini
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/checkstyle[.]xml".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*/changes[.]xml".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]plist".
    • files with paths like ".*/resources/.*[.]xsd".
    • files with paths like ".*[.]ini".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 48 files match defined criteria (5,638 LOC, 16.1% vs. main code):
    • 3 *.xml files (3,100 LOC)
    • 5 *.txt files (1,338 LOC)
    • 30 *.properties files (704 LOC)
    • 4 *.md files (222 LOC)
    • 2 *.xsd files (119 LOC)
    • 2 *.json files (88 LOC)
    • 1 *.plist files (50 LOC)
    • 1 *.ini files (17 LOC)
  • " *.xml" is biggest, containing 54.98% of LOC.
  • " *.ini" is smallest, containing 0.3% of LOC.


*.xml3100 LOC (54%) 3 files
*.txt1338 LOC (23%) 5 files
*.properties704 LOC (12%) 30 files
*.md222 LOC (3%) 4 files
*.xsd119 LOC (2%) 2 files
*.json88 LOC (1%) 2 files
*.plist50 LOC (<1%) 1 file
*.ini17 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:31