apache / jackrabbit-oak
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
cfg
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.

main400270 LOC (50%) 3,766 files
test329076 LOC (41%) 2,325 files
generated0 LOC (0%) 0 files
build and deployment11835 LOC (1%) 60 files
other52931 LOC (6%) 250 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
cfg
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 3766 files match defined criteria (400,270 LOC, 100.0% vs. main code):
    • 3,657 *.java files (389,257 LOC)
    • 25 *.html files (4,059 LOC)
    • 31 *.jsp files (1,888 LOC)
    • 27 *.xml files (1,632 LOC)
    • 2 *.js files (1,245 LOC)
    • 6 *.py files (972 LOC)
    • 13 *.groovy files (917 LOC)
    • 3 *.css files (240 LOC)
    • 1 *.pl files (57 LOC)
    • 1 *.cfg files (3 LOC)
  • " *.java" is biggest, containing 97.25% of LOC.
  • " *.cfg" is smallest, containing 0% of LOC.


*.java389257 LOC (97%) 3,657 files
*.html4059 LOC (1%) 25 files
*.jsp1888 LOC (<1%) 31 files
*.xml1632 LOC (<1%) 27 files
*.js1245 LOC (<1%) 2 files
*.py972 LOC (<1%) 6 files
*.groovy917 LOC (<1%) 13 files
*.css240 LOC (<1%) 3 files
*.pl57 LOC (<1%) 1 file
*.cfg3 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
cfg
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/test[.].*".
    • files with paths like ".*/testing[.].*".
  • 2325 files match defined criteria (329,076 LOC, 82.2% vs. main code):
    • 2,282 *.java files (327,698 LOC)
    • 36 *.xml files (1,221 LOC)
    • 1 *.pl files (108 LOC)
    • 2 *.sh files (23 LOC)
    • 1 *.groovy files (20 LOC)
    • 3 *.cfg files (6 LOC)
  • " *.java" is biggest, containing 99.58% of LOC.
  • " *.cfg" is smallest, containing 0% of LOC.


*.java327698 LOC (99%) 2,282 files
*.xml1221 LOC (<1%) 36 files
*.pl108 LOC (<1%) 1 file
*.sh23 LOC (<1%) 2 files
*.groovy20 LOC (<1%) 1 file
*.cfg6 LOC (<1%) 3 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".
    • files with paths like ".*/assembly[.]xml".
  • 60 files match defined criteria (11,835 LOC, 3.0% vs. main code):
    • 50 *.xml files (11,188 LOC)
    • 10 *.sh files (647 LOC)
  • " *.xml" is biggest, containing 94.53% of LOC.
  • " *.sh" is smallest, containing 5.47% of LOC.


*.xml11188 LOC (94%) 50 files
*.sh647 LOC (5%) 10 files
Other Code
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 250 files match defined criteria (52,931 LOC, 13.2% vs. main code):
    • 141 *.md files (21,201 LOC)
    • 3 *.svg files (12,942 LOC)
    • 36 *.json files (11,784 LOC)
    • 33 *.txt files (4,948 LOC)
    • 37 *.properties files (2,056 LOC)
  • " *.md" is biggest, containing 40.05% of LOC.
  • " *.properties" is smallest, containing 3.88% of LOC.


*.md21201 LOC (40%) 141 files
*.svg12942 LOC (24%) 3 files
*.json11784 LOC (22%) 36 files
*.txt4948 LOC (9%) 33 files
*.properties2056 LOC (3%) 37 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:29