apache / camel-spring-boot
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
xquery
cql
cmd
gitattributes
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.

main89788 LOC (35%) 1,298 files
test55158 LOC (21%) 1,073 files
generated2218 LOC (<1%) 15 files
build and deployment22448 LOC (8%) 400 files
other83015 LOC (32%) 1,222 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
cmd
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 1298 files match defined criteria (89,788 LOC, 100.0% vs. main code):
    • 1,292 *.java files (89,614 LOC)
    • 4 *.xml files (126 LOC)
    • 2 *.cmd files (48 LOC)
  • " *.java" is biggest, containing 99.81% of LOC.
  • " *.cmd" is smallest, containing 0.05% of LOC.


*.java89614 LOC (99%) 1,292 files
*.xml126 LOC (<1%) 4 files
*.cmd48 LOC (<1%) 2 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
cql
xquery
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 ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*/mock[a-zA-Z0-9_\- ]+/.*".
  • 1073 files match defined criteria (55,158 LOC, 61.4% vs. main code):
    • 991 *.java files (53,618 LOC)
    • 65 *.xml files (1,408 LOC)
    • 6 *.sql files (50 LOC)
    • 4 *.cql files (47 LOC)
    • 5 *.xquery files (24 LOC)
    • 1 *.avsc files (7 LOC)
    • 1 *.groovy files (4 LOC)
  • " *.java" is biggest, containing 97.21% of LOC.
  • " *.groovy" is smallest, containing 0.01% of LOC.


*.java53618 LOC (97%) 991 files
*.xml1408 LOC (2%) 65 files
*.sql50 LOC (<1%) 6 files
*.cql47 LOC (<1%) 4 files
*.xquery24 LOC (<1%) 5 files
*.avsc7 LOC (<1%) 1 file
*.groovy4 LOC (<1%) 1 file
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/.*".
  • 15 files match defined criteria (2,218 LOC, 2.5% vs. main code). All matches are in *.java files.


*.java2218 LOC (100%) 15 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitattributes".
    • files with paths like ".*[.]sh".
  • 400 files match defined criteria (22,448 LOC, 25.0% vs. main code). All matches are in *.xml files.


*.xml22448 LOC (100%) 400 files
Other Code
txt
properties
xsd
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]txt".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]adoc".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/resources/.*[.]xsd".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
  • 1222 files match defined criteria (83,015 LOC, 92.5% vs. main code):
    • 774 *.txt files (67,727 LOC)
    • 374 *.json files (13,481 LOC)
    • 51 *.properties files (1,378 LOC)
    • 20 *.xsd files (368 LOC)
    • 2 *.adoc files (41 LOC)
    • 1 *.md files (20 LOC)
  • " *.txt" is biggest, containing 81.58% of LOC.
  • " *.md" is smallest, containing 0.02% of LOC.


*.txt67727 LOC (81%) 774 files
*.json13481 LOC (16%) 374 files
*.properties1378 LOC (1%) 51 files
*.xsd368 LOC (<1%) 20 files
*.adoc41 LOC (<1%) 2 files
*.md20 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 20:06