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

main22863 LOC (75%) 205 files
test6390 LOC (21%) 68 files
generated0 LOC (0%) 0 files
build and deployment535 LOC (1%) 4 files
other467 LOC (1%) 7 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 ".*".
  • 205 files match defined criteria (22,863 LOC, 100.0% vs. main code):
    • 187 *.java files (20,017 LOC)
    • 15 *.xml files (2,676 LOC)
    • 2 *.html files (166 LOC)
    • 1 *.cgi files (4 LOC)
  • " *.java" is biggest, containing 87.55% of LOC.
  • " *.cgi" is smallest, containing 0.02% of LOC.


*.java20017 LOC (87%) 187 files
*.xml2676 LOC (11%) 15 files
*.html166 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/.*".
  • 68 files match defined criteria (6,390 LOC, 27.9% vs. main code):
    • 61 *.java files (6,228 LOC)
    • 7 *.xml files (162 LOC)
  • " *.java" is biggest, containing 97.46% of LOC.
  • " *.xml" is smallest, containing 2.54% of LOC.


*.java6228 LOC (97%) 61 files
*.xml162 LOC (2%) 7 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 ".*/build[.]xml".
    • 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".
    • files with paths like ".*[.]bat".
  • 4 files match defined criteria (535 LOC, 2.3% vs. main code):
    • 3 *.xml files (517 LOC)
    • 1 *.bat files (18 LOC)
  • " *.xml" is biggest, containing 96.64% of LOC.
  • " *.bat" is smallest, containing 3.36% of LOC.


*.xml517 LOC (96%) 3 files
*.bat18 LOC (3%) 1 file
Other Code
txt
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 ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/checkstyle[.]xml".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 7 files match defined criteria (467 LOC, 2.0% vs. main code):
    • 4 *.md files (212 LOC)
    • 2 *.txt files (173 LOC)
    • 1 *.xml files (82 LOC)
  • " *.md" is biggest, containing 45.4% of LOC.
  • " *.xml" is smallest, containing 17.56% of LOC.


*.md212 LOC (45%) 4 files
*.txt173 LOC (37%) 2 files
*.xml82 LOC (17%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 14:50