apache / geronimo-batchee
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
xsd
txt
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.

main24954 LOC (63%) 384 files
test8895 LOC (22%) 241 files
generated1225 LOC (3%) 30 files
build and deployment2636 LOC (6%) 29 files
other1720 LOC (4%) 25 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
xsd
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 384 files match defined criteria (24,954 LOC, 100.0% vs. main code):
    • 356 *.java files (23,941 LOC)
    • 2 *.xsd files (409 LOC)
    • 17 *.xml files (363 LOC)
    • 8 *.jsp files (208 LOC)
    • 1 *.js files (33 LOC)
  • " *.java" is biggest, containing 95.94% of LOC.
  • " *.js" is smallest, containing 0.13% of LOC.


*.java23941 LOC (95%) 356 files
*.xsd409 LOC (1%) 2 files
*.xml363 LOC (1%) 17 files
*.jsp208 LOC (<1%) 8 files
*.js33 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 ".*[-]tests/.*".
  • 241 files match defined criteria (8,895 LOC, 35.6% vs. main code):
    • 144 *.java files (7,445 LOC)
    • 96 *.xml files (1,426 LOC)
    • 1 *.sql files (24 LOC)
  • " *.java" is biggest, containing 83.7% of LOC.
  • " *.sql" is smallest, containing 0.27% of LOC.


*.java7445 LOC (83%) 144 files
*.xml1426 LOC (16%) 96 files
*.sql24 LOC (<1%) 1 file
Generated Code
Automatically generated files, not manually changed after generation.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with any line of content like "// This file was generated .*".
  • 30 files match defined criteria (1,225 LOC, 4.9% vs. main code). All matches are in *.java files.


*.java1225 LOC (100%) 30 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 ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 29 files match defined criteria (2,636 LOC, 10.6% vs. main code):
    • 28 *.xml files (2,634 LOC)
    • 1 *.sh files (2 LOC)
  • " *.xml" is biggest, containing 99.92% of LOC.
  • " *.sh" is smallest, containing 0.08% of LOC.


*.xml2634 LOC (99%) 28 files
*.sh2 LOC (<1%) 1 file
Other Code
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]json".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]md".
  • 25 files match defined criteria (1,720 LOC, 6.9% vs. main code):
    • 7 *.md files (1,515 LOC)
    • 7 *.properties files (136 LOC)
    • 10 *.json files (45 LOC)
    • 1 *.adoc files (24 LOC)
  • " *.md" is biggest, containing 88.08% of LOC.
  • " *.adoc" is smallest, containing 1.4% of LOC.


*.md1515 LOC (88%) 7 files
*.properties136 LOC (7%) 7 files
*.json45 LOC (2%) 10 files
*.adoc24 LOC (1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 22:13