apache / cayenne
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
plist
xsd
properties
txt
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.

main173361 LOC (57%) 2,377 files
test119240 LOC (39%) 1,957 files
generated670 LOC (<1%) 16 files
build and deployment4327 LOC (1%) 39 files
other4335 LOC (1%) 62 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 ".*".
  • 2377 files match defined criteria (173,361 LOC, 100.0% vs. main code):
    • 2,325 *.java files (171,243 LOC)
    • 24 *.xml files (1,932 LOC)
    • 28 *.html files (186 LOC)
  • " *.java" is biggest, containing 98.78% of LOC.
  • " *.html" is smallest, containing 0.11% of LOC.


*.java171243 LOC (98%) 2,325 files
*.xml1932 LOC (1%) 24 files
*.html186 LOC (<1%) 28 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[-]test[-].*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/test_.*".
  • 1957 files match defined criteria (119,240 LOC, 68.8% vs. main code):
    • 1,526 *.java files (108,386 LOC)
    • 344 *.xml files (9,835 LOC)
    • 73 *.sql files (843 LOC)
    • 14 *.gradle files (176 LOC)
  • " *.java" is biggest, containing 90.9% of LOC.
  • " *.gradle" is smallest, containing 0.15% of LOC.


*.java108386 LOC (90%) 1,526 files
*.xml9835 LOC (8%) 344 files
*.sql843 LOC (<1%) 73 files
*.gradle176 LOC (<1%) 14 files
Generated Code
Automatically generated files, not manually changed after generation.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/generated/.*".
  • 16 files match defined criteria (670 LOC, 0.4% vs. main code). All matches are in *.java files.


*.java670 LOC (100%) 16 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 ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]gradle".
    • files with paths like ".*[.]bat".
  • 39 files match defined criteria (4,327 LOC, 2.5% vs. main code):
    • 34 *.xml files (4,067 LOC)
    • 2 *.sh files (97 LOC)
    • 2 *.gradle files (90 LOC)
    • 1 *.bat files (73 LOC)
  • " *.xml" is biggest, containing 93.99% of LOC.
  • " *.bat" is smallest, containing 1.69% of LOC.


*.xml4067 LOC (93%) 34 files
*.sh97 LOC (2%) 2 files
*.gradle90 LOC (2%) 2 files
*.bat73 LOC (1%) 1 file
Other Code
plist
xsd
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/resources/.*[.]xsd".
    • files with paths like ".*/asciidoc/.*".
    • files with paths like ".*[.]adoc".
    • files with paths like ".*[.]plist".
  • 62 files match defined criteria (4,335 LOC, 2.5% vs. main code):
    • 35 *.plist files (1,737 LOC)
    • 14 *.xsd files (1,445 LOC)
    • 5 *.txt files (690 LOC)
    • 1 *.md files (234 LOC)
    • 7 *.properties files (229 LOC)
  • " *.plist" is biggest, containing 40.07% of LOC.
  • " *.properties" is smallest, containing 5.28% of LOC.


*.plist1737 LOC (40%) 35 files
*.xsd1445 LOC (33%) 14 files
*.txt690 LOC (15%) 5 files
*.md234 LOC (5%) 1 file
*.properties229 LOC (5%) 7 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:15