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.

main37500 LOC (51%) 311 files
test32774 LOC (44%) 296 files
generated0 LOC (0%) 0 files
build and deployment789 LOC (1%) 2 files
other2377 LOC (3%) 45 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 ".*".
  • 311 files match defined criteria (37,500 LOC, 100.0% vs. main code):
    • 261 *.java files (20,070 LOC)
    • 47 *.xml files (17,270 LOC)
    • 1 *.xsd files (107 LOC)
    • 1 *.html files (49 LOC)
    • 1 *.cgi files (4 LOC)
  • " *.java" is biggest, containing 53.52% of LOC.
  • " *.cgi" is smallest, containing 0.01% of LOC.


*.java20070 LOC (53%) 261 files
*.xml17270 LOC (46%) 47 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_.*".
  • 296 files match defined criteria (32,774 LOC, 87.4% vs. main code):
    • 202 *.java files (30,918 LOC)
    • 93 *.xml files (1,837 LOC)
    • 1 *.yaml files (19 LOC)
  • " *.java" is biggest, containing 94.34% of LOC.
  • " *.yaml" is smallest, containing 0.06% of LOC.


*.java30918 LOC (94%) 202 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/assembly/src[.]xml".
  • 2 files match defined criteria (789 LOC, 2.1% vs. main code). All matches are in *.xml files.


*.xml789 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 ".*[.]md".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*/checkstyle[.]xml".
    • files with paths like ".*/resources/.*[.]xsd".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]ini".
    • files with paths like ".*[.]plist".
  • 45 files match defined criteria (2,377 LOC, 6.3% vs. main code):
    • 4 *.txt files (1,075 LOC)
    • 30 *.properties files (704 LOC)
    • 4 *.md files (270 LOC)
    • 2 *.xsd files (119 LOC)
    • 2 *.xml files (105 LOC)
    • 1 *.plist files (50 LOC)
    • 1 *.json files (37 LOC)
    • 1 *.ini files (17 LOC)
  • " *.txt" is biggest, containing 45.23% of LOC.
  • " *.ini" is smallest, containing 0.72% of LOC.


*.txt1075 LOC (45%) 4 files
*.properties704 LOC (29%) 30 files
*.md270 LOC (11%) 4 files
*.xsd119 LOC (5%) 2 files
*.xml105 LOC (4%) 2 files
*.plist50 LOC (2%) 1 file
*.json37 LOC (1%) 1 file
*.ini17 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 14:31