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.

main284549 LOC (44%) 2,856 files
test304049 LOC (47%) 2,185 files
generated0 LOC (0%) 0 files
build and deployment11069 LOC (1%) 59 files
other41345 LOC (6%) 231 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 ".*".
  • 2856 files match defined criteria (284,549 LOC, 100.0% vs. main code):
    • 2,776 *.java files (278,679 LOC)
    • 31 *.jsp files (1,888 LOC)
    • 27 *.xml files (1,622 LOC)
    • 2 *.js files (1,115 LOC)
    • 13 *.groovy files (920 LOC)
    • 3 *.css files (240 LOC)
    • 1 *.pl files (57 LOC)
    • 1 *.html files (19 LOC)
    • 1 *.yml files (6 LOC)
    • 1 *.cfg files (3 LOC)
  • " *.java" is biggest, containing 97.94% of LOC.
  • " *.cfg" is smallest, containing 0% of LOC.


*.java278679 LOC (97%) 2,776 files
*.jsp1888 LOC (<1%) 31 files
*.xml1622 LOC (<1%) 27 files
*.js1115 LOC (<1%) 2 files
*.groovy920 LOC (<1%) 13 files
*.css240 LOC (<1%) 3 files
*.pl57 LOC (<1%) 1 file
*.html19 LOC (<1%) 1 file
*.yml6 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/.*".
  • 2185 files match defined criteria (304,049 LOC, 106.9% vs. main code):
    • 2,122 *.java files (301,044 LOC)
    • 19 *.groovy files (1,639 LOC)
    • 36 *.xml files (1,222 LOC)
    • 1 *.pl files (108 LOC)
    • 2 *.sh files (23 LOC)
    • 2 *.yml files (7 LOC)
    • 3 *.cfg files (6 LOC)
  • " *.java" is biggest, containing 99.01% of LOC.
  • " *.cfg" is smallest, containing 0% of LOC.


*.java301044 LOC (99%) 2,122 files
*.groovy1639 LOC (<1%) 19 files
*.xml1222 LOC (<1%) 36 files
*.pl108 LOC (<1%) 1 file
*.sh23 LOC (<1%) 2 files
*.yml7 LOC (<1%) 2 files
*.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 ".*[.]sh".
    • files with paths like ".*/pom[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/assembly[.]xml".
  • 59 files match defined criteria (11,069 LOC, 3.9% vs. main code):
    • 51 *.xml files (10,778 LOC)
    • 8 *.sh files (291 LOC)
  • " *.xml" is biggest, containing 97.37% of LOC.
  • " *.sh" is smallest, containing 2.63% of LOC.


*.xml10778 LOC (97%) 51 files
*.sh291 LOC (2%) 8 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 ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 231 files match defined criteria (41,345 LOC, 14.5% vs. main code):
    • 138 *.md files (20,913 LOC)
    • 3 *.svg files (12,942 LOC)
    • 31 *.txt files (3,986 LOC)
    • 37 *.properties files (2,052 LOC)
    • 22 *.json files (1,452 LOC)
  • " *.md" is biggest, containing 50.58% of LOC.
  • " *.json" is smallest, containing 3.51% of LOC.


*.md20913 LOC (50%) 138 files
*.svg12942 LOC (31%) 3 files
*.txt3986 LOC (9%) 31 files
*.properties2052 LOC (4%) 37 files
*.json1452 LOC (3%) 22 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 14:13