apache / commons-digester
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
cgi
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.

main14636 LOC (52%) 211 files
test10032 LOC (35%) 167 files
generated0 LOC (0%) 0 files
build and deployment994 LOC (3%) 14 files
other2294 LOC (8%) 51 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
cgi
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 211 files match defined criteria (14,636 LOC, 100.0% vs. main code):
    • 182 *.java files (11,150 LOC)
    • 26 *.xml files (3,400 LOC)
    • 2 *.html files (82 LOC)
    • 1 *.cgi files (4 LOC)
  • " *.java" is biggest, containing 76.18% of LOC.
  • " *.cgi" is smallest, containing 0.03% of LOC.


*.java11150 LOC (76%) 182 files
*.xml3400 LOC (23%) 26 files
*.html82 LOC (<1%) 2 files
*.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/.*".
  • 167 files match defined criteria (10,032 LOC, 68.5% vs. main code):
    • 107 *.java files (9,334 LOC)
    • 60 *.xml files (698 LOC)
  • " *.java" is biggest, containing 93.04% of LOC.
  • " *.xml" is smallest, containing 6.96% of LOC.


*.java9334 LOC (93%) 107 files
*.xml698 LOC (6%) 60 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 ".*/assembly/src[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 14 files match defined criteria (994 LOC, 6.8% vs. main code). All matches are in *.xml files.


*.xml994 LOC (100%) 14 files
Other Code
txt
xsd
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 ".*/checkstyle.*".
    • files with paths like ".*/resources/.*[.]xsd".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*/[Ee]xamples/.*".
  • 51 files match defined criteria (2,294 LOC, 15.7% vs. main code):
    • 27 *.java files (1,065 LOC)
    • 19 *.txt files (1,018 LOC)
    • 3 *.md files (174 LOC)
    • 1 *.xsd files (25 LOC)
    • 1 *.xml files (12 LOC)
  • " *.java" is biggest, containing 46.43% of LOC.
  • " *.xml" is smallest, containing 0.52% of LOC.


*.java1065 LOC (46%) 27 files
*.txt1018 LOC (44%) 19 files
*.md174 LOC (7%) 3 files
*.xsd25 LOC (1%) 1 file
*.xml12 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 14:51