apache / camel-quarkus-examples
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
properties
txt
gitattributes
wsdl
cmd
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.

main9756 LOC (37%) 112 files
test1435 LOC (5%) 60 files
generated0 LOC (0%) 0 files
build and deployment7350 LOC (28%) 35 files
other7290 LOC (28%) 60 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
wsdl
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 112 files match defined criteria (9,756 LOC, 100.0% vs. main code):
    • 32 *.xml files (6,784 LOC)
    • 73 *.java files (2,515 LOC)
    • 3 *.html files (298 LOC)
    • 1 *.wsdl files (104 LOC)
    • 2 *.yaml files (46 LOC)
    • 1 *.sql files (9 LOC)
  • " *.xml" is biggest, containing 69.54% of LOC.
  • " *.sql" is smallest, containing 0.09% of LOC.


*.xml6784 LOC (69%) 32 files
*.java2515 LOC (25%) 73 files
*.html298 LOC (3%) 3 files
*.wsdl104 LOC (1%) 1 file
*.yaml46 LOC (<1%) 2 files
*.sql9 LOC (<1%) 1 file
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 ".*/[Tt]est/.*".
    • files with paths like ".*[-]test[-].*".
  • 60 files match defined criteria (1,435 LOC, 14.7% vs. main code):
    • 58 *.java files (1,429 LOC)
    • 2 *.sql files (6 LOC)
  • " *.java" is biggest, containing 99.58% of LOC.
  • " *.sql" is smallest, containing 0.42% of LOC.


*.java1429 LOC (99%) 58 files
*.sql6 LOC (<1%) 2 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 ".*/[.]gitattributes".
  • 35 files match defined criteria (7,350 LOC, 75.3% vs. main code):
    • 29 *.xml files (7,309 LOC)
    • 6 *.sh files (41 LOC)
  • " *.xml" is biggest, containing 99.44% of LOC.
  • " *.sh" is smallest, containing 0.56% of LOC.


*.xml7309 LOC (99%) 29 files
*.sh41 LOC (<1%) 6 files
Other Code
properties
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]adoc".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*/[Ee]xamples/.*".
  • 60 files match defined criteria (7,290 LOC, 74.7% vs. main code):
    • 5 *.json files (3,488 LOC)
    • 26 *.adoc files (2,672 LOC)
    • 23 *.properties files (886 LOC)
    • 3 *.txt files (190 LOC)
    • 3 *.java files (54 LOC)
  • " *.json" is biggest, containing 47.85% of LOC.
  • " *.java" is smallest, containing 0.74% of LOC.


*.json3488 LOC (47%) 5 files
*.adoc2672 LOC (36%) 26 files
*.properties886 LOC (12%) 23 files
*.txt190 LOC (2%) 3 files
*.java54 LOC (<1%) 3 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 20:17