apache / db-jdo
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
xsd
properties
txt
policy
props
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.

main140904 LOC (85%) 1,073 files
test5323 LOC (3%) 52 files
generated0 LOC (0%) 0 files
build and deployment981 LOC (<1%) 5 files
other17340 LOC (10%) 45 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
policy
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 1073 files match defined criteria (140,904 LOC, 100.0% vs. main code):
    • 1,033 *.java files (137,893 LOC)
    • 24 *.sql files (2,126 LOC)
    • 7 *.xml files (601 LOC)
    • 8 *.html files (204 LOC)
    • 1 *.policy files (80 LOC)
  • " *.java" is biggest, containing 97.86% of LOC.
  • " *.policy" is smallest, containing 0.06% of LOC.


*.java137893 LOC (97%) 1,033 files
*.sql2126 LOC (1%) 24 files
*.xml601 LOC (<1%) 7 files
*.html204 LOC (<1%) 8 files
*.policy80 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
props
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
  • 52 files match defined criteria (5,323 LOC, 3.8% vs. main code):
    • 32 *.java files (4,895 LOC)
    • 19 *.xml files (410 LOC)
    • 1 *.props files (18 LOC)
  • " *.java" is biggest, containing 91.96% of LOC.
  • " *.props" is smallest, containing 0.34% of LOC.


*.java4895 LOC (91%) 32 files
*.xml410 LOC (7%) 19 files
*.props18 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 5 files match defined criteria (981 LOC, 0.7% vs. main code). All matches are in *.xml files.


*.xml981 LOC (100%) 5 files
Other Code
xsd
txt
properties
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 ".*[.]md".
    • files with paths like ".*/resources/.*[.]xsd".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
  • 45 files match defined criteria (17,340 LOC, 12.3% vs. main code):
    • 23 *.xsd files (13,961 LOC)
    • 2 *.txt files (1,885 LOC)
    • 16 *.properties files (967 LOC)
    • 4 *.md files (527 LOC)
  • " *.xsd" is biggest, containing 80.51% of LOC.
  • " *.md" is smallest, containing 3.04% of LOC.


*.xsd13961 LOC (80%) 23 files
*.txt1885 LOC (10%) 2 files
*.properties967 LOC (5%) 16 files
*.md527 LOC (3%) 4 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 17:38