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
props
policy
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.

main132392 LOC (84%) 1,107 files
test5330 LOC (3%) 52 files
generated0 LOC (0%) 0 files
build and deployment930 LOC (<1%) 5 files
other17335 LOC (11%) 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 ".*".
  • 1107 files match defined criteria (132,392 LOC, 100.0% vs. main code):
    • 1,067 *.java files (129,463 LOC)
    • 24 *.sql files (2,044 LOC)
    • 7 *.xml files (601 LOC)
    • 8 *.html files (204 LOC)
    • 1 *.policy files (80 LOC)
  • " *.java" is biggest, containing 97.79% of LOC.
  • " *.policy" is smallest, containing 0.06% of LOC.


*.java129463 LOC (97%) 1,067 files
*.sql2044 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,330 LOC, 4.0% vs. main code):
    • 32 *.java files (4,902 LOC)
    • 19 *.xml files (410 LOC)
    • 1 *.props files (18 LOC)
  • " *.java" is biggest, containing 91.97% of LOC.
  • " *.props" is smallest, containing 0.34% of LOC.


*.java4902 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 (930 LOC, 0.7% vs. main code). All matches are in *.xml files.


*.xml930 LOC (100%) 5 files
Other Code
xsd
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/resources/.*[.]xsd".
  • 45 files match defined criteria (17,335 LOC, 13.1% vs. main code):
    • 23 *.xsd files (13,961 LOC)
    • 2 *.txt files (1,885 LOC)
    • 16 *.properties files (965 LOC)
    • 4 *.md files (524 LOC)
  • " *.xsd" is biggest, containing 80.54% of LOC.
  • " *.md" is smallest, containing 3.02% of LOC.


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


2023-08-10 21:19