apache / jackrabbit-filevault
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
xsd
gitattributes
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.

main50366 LOC (64%) 565 files
test20511 LOC (26%) 331 files
generated0 LOC (0%) 0 files
build and deployment3241 LOC (4%) 30 files
other3507 LOC (4%) 49 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 565 files match defined criteria (50,366 LOC, 100.0% vs. main code):
    • 550 *.java files (49,994 LOC)
    • 14 *.xml files (364 LOC)
    • 1 *.css files (8 LOC)
  • " *.java" is biggest, containing 99.26% of LOC.
  • " *.css" is smallest, containing 0.02% of LOC.


*.java49994 LOC (99%) 550 files
*.xml364 LOC (<1%) 14 files
*.css8 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 ".*[-]tests/.*".
    • files with paths like ".*/test_.*".
    • files with paths like ".*_test[.].*".
  • 331 files match defined criteria (20,511 LOC, 40.7% vs. main code):
    • 143 *.java files (17,727 LOC)
    • 185 *.xml files (2,773 LOC)
    • 2 *.sh files (9 LOC)
    • 1 *.cfg files (2 LOC)
  • " *.java" is biggest, containing 86.43% of LOC.
  • " *.cfg" is smallest, containing 0.01% of LOC.


*.java17727 LOC (86%) 143 files
*.xml2773 LOC (13%) 185 files
*.sh9 LOC (<1%) 2 files
*.cfg2 LOC (<1%) 1 file
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".
    • files with paths like ".*[.]bat".
    • files with paths like ".*/[.]gitattributes".
  • 30 files match defined criteria (3,241 LOC, 6.4% vs. main code):
    • 28 *.xml files (3,055 LOC)
    • 1 *.bat files (94 LOC)
    • 1 *.sh files (92 LOC)
  • " *.xml" is biggest, containing 94.26% of LOC.
  • " *.sh" is smallest, containing 2.84% of LOC.


*.xml3055 LOC (94%) 28 files
*.bat94 LOC (2%) 1 file
*.sh92 LOC (2%) 1 file
Other Code
txt
properties
xsd
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 ".*[.]md".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/resources/.*[.]xsd".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[Ee]xamples/.*".
  • 49 files match defined criteria (3,507 LOC, 7.0% vs. main code):
    • 23 *.md files (1,910 LOC)
    • 15 *.txt files (1,385 LOC)
    • 2 *.java files (72 LOC)
    • 7 *.json files (52 LOC)
    • 1 *.properties files (46 LOC)
    • 1 *.xsd files (42 LOC)
  • " *.md" is biggest, containing 54.46% of LOC.
  • " *.xsd" is smallest, containing 1.2% of LOC.


*.md1910 LOC (54%) 23 files
*.txt1385 LOC (39%) 15 files
*.java72 LOC (2%) 2 files
*.json52 LOC (1%) 7 files
*.properties46 LOC (1%) 1 file
*.xsd42 LOC (1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:38