apache / jackrabbit
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
ddl
n
xsl
xsd
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.

main218907 LOC (64%) 2,003 files
test110065 LOC (32%) 1,146 files
generated0 LOC (0%) 0 files
build and deployment3863 LOC (1%) 26 files
other4963 LOC (1%) 117 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
xsl
ddl
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 2003 files match defined criteria (218,907 LOC, 100.0% vs. main code):
    • 1,904 *.java files (209,482 LOC)
    • 20 *.xml files (5,741 LOC)
    • 30 *.jsp files (1,582 LOC)
    • 4 *.xsl files (1,018 LOC)
    • 43 *.ddl files (857 LOC)
    • 1 *.js files (179 LOC)
    • 1 *.css files (48 LOC)
  • " *.java" is biggest, containing 95.69% of LOC.
  • " *.css" is smallest, containing 0.02% of LOC.


*.java209482 LOC (95%) 1,904 files
*.xml5741 LOC (2%) 20 files
*.jsp1582 LOC (<1%) 30 files
*.xsl1018 LOC (<1%) 4 files
*.ddl857 LOC (<1%) 43 files
*.js179 LOC (<1%) 1 file
*.css48 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
n
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 ".*[-]test[-].*".
    • files with paths like ".*/test_.*".
    • files with paths like ".*[-]tests/.*".
  • 1146 files match defined criteria (110,065 LOC, 50.3% vs. main code):
    • 1,030 *.java files (106,106 LOC)
    • 106 *.xml files (3,914 LOC)
    • 1 *.sh files (36 LOC)
    • 9 *.n files (9 LOC)
  • " *.java" is biggest, containing 96.4% of LOC.
  • " *.n" is smallest, containing 0.01% of LOC.


*.java106106 LOC (96%) 1,030 files
*.xml3914 LOC (3%) 106 files
*.sh36 LOC (<1%) 1 file
*.n9 LOC (<1%) 9 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 ".*/assembly[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]sh".
  • 26 files match defined criteria (3,863 LOC, 1.8% vs. main code). All matches are in *.xml files.


*.xml3863 LOC (100%) 26 files
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 ".*[.]txt".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]md".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/checkstyle[.]xml".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*/resources/.*[.]xsd".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 117 files match defined criteria (4,963 LOC, 2.3% vs. main code):
    • 57 *.txt files (2,446 LOC)
    • 50 *.properties files (2,058 LOC)
    • 4 *.xml files (189 LOC)
    • 2 *.md files (101 LOC)
    • 3 *.java files (96 LOC)
    • 1 *.xsd files (73 LOC)
  • " *.txt" is biggest, containing 49.28% of LOC.
  • " *.xsd" is smallest, containing 1.47% of LOC.


*.txt2446 LOC (49%) 57 files
*.properties2058 LOC (41%) 50 files
*.xml189 LOC (3%) 4 files
*.md101 LOC (2%) 2 files
*.java96 LOC (1%) 3 files
*.xsd73 LOC (1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:18