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

main8408 LOC (57%) 135 files
test4423 LOC (30%) 44 files
generated258 LOC (1%) 2 files
build and deployment882 LOC (6%) 12 files
other554 LOC (3%) 12 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 ".*".
  • 135 files match defined criteria (8,408 LOC, 100.0% vs. main code):
    • 111 *.java files (4,893 LOC)
    • 15 *.xml files (3,279 LOC)
    • 8 *.jsp files (232 LOC)
    • 1 *.cgi files (4 LOC)
  • " *.java" is biggest, containing 58.19% of LOC.
  • " *.cgi" is smallest, containing 0.05% of LOC.


*.java4893 LOC (58%) 111 files
*.xml3279 LOC (38%) 15 files
*.jsp232 LOC (2%) 8 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/.*".
  • 44 files match defined criteria (4,423 LOC, 52.6% vs. main code):
    • 42 *.java files (4,239 LOC)
    • 2 *.xml files (184 LOC)
  • " *.java" is biggest, containing 95.84% of LOC.
  • " *.xml" is smallest, containing 4.16% of LOC.


*.java4239 LOC (95%) 42 files
*.xml184 LOC (4%) 2 files
Generated Code
Automatically generated files, not manually changed after generation.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.](html|html|xhtml)" AND any line of content like "[ ]*[<]meta name[=]"generator" .*".
  • 2 files match defined criteria (258 LOC, 3.1% vs. main code). All matches are in *.html files.


*.html258 LOC (100%) 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 ".*/assembly/src[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 12 files match defined criteria (882 LOC, 10.5% vs. main code). All matches are in *.xml files.


*.xml882 LOC (100%) 12 files
Other Code
txt
properties
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 ".*[.]properties".
    • files with paths like ".*/checkstyle[.]xml".
    • files with paths like ".*/checkstyle.*".
  • 12 files match defined criteria (554 LOC, 6.6% vs. main code):
    • 6 *.txt files (276 LOC)
    • 3 *.md files (117 LOC)
    • 1 *.xml files (93 LOC)
    • 2 *.properties files (68 LOC)
  • " *.txt" is biggest, containing 49.82% of LOC.
  • " *.properties" is smallest, containing 12.27% of LOC.


*.txt276 LOC (49%) 6 files
*.md117 LOC (21%) 3 files
*.xml93 LOC (16%) 1 file
*.properties68 LOC (12%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 14:50