apache / camel-quarkus
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
xsl
proto
wsdl
xsd
tm
xquery
spec
cmd
gitattributes
ini
pub
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.

main37190 LOC (11%) 1,130 files
test173357 LOC (55%) 3,021 files
generated20370 LOC (6%) 27 files
build and deployment57180 LOC (18%) 1,064 files
other24940 LOC (7%) 731 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
xsl
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 1130 files match defined criteria (37,190 LOC, 100.0% vs. main code):
    • 748 *.java files (30,865 LOC)
    • 348 *.yaml files (4,155 LOC)
    • 15 *.mustache files (998 LOC)
    • 7 *.xml files (549 LOC)
    • 9 *.groovy files (475 LOC)
    • 1 *.js files (123 LOC)
    • 2 *.xsl files (25 LOC)
  • " *.java" is biggest, containing 82.99% of LOC.
  • " *.xsl" is smallest, containing 0.07% of LOC.


*.java30865 LOC (82%) 748 files
*.yaml4155 LOC (11%) 348 files
*.mustache998 LOC (2%) 15 files
*.xml549 LOC (1%) 7 files
*.groovy475 LOC (1%) 9 files
*.js123 LOC (<1%) 1 file
*.xsl25 LOC (<1%) 2 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
wsdl
proto
xsl
tm
xquery
spec
pub
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[-]tests/.*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/mock[a-zA-Z0-9_\- ]+/.*".
    • files with paths like ".*[-]test[-].*".
    • files with paths like ".*/test[.].*".
    • files with paths like ".*[-]tests[-].*".
    • files with paths like ".*/testing[.].*".
  • 3021 files match defined criteria (173,357 LOC, 466.1% vs. main code):
    • 2,447 *.java files (120,663 LOC)
    • 451 *.xml files (48,553 LOC)
    • 12 *.wsdl files (1,901 LOC)
    • 17 *.yaml files (509 LOC)
    • 17 *.proto files (485 LOC)
    • 25 *.sql files (379 LOC)
    • 17 *.xsl files (245 LOC)
    • 4 *.sh files (160 LOC)
    • 6 *.mustache files (90 LOC)
    • 1 *.rs files (89 LOC)
    • 5 *.tm files (85 LOC)
    • 3 *.ftl files (46 LOC)
    • 4 *.avsc files (37 LOC)
    • 3 *.groovy files (34 LOC)
    • 1 *.toml files (33 LOC)
    • 3 *.graphql files (30 LOC)
    • 2 *.xquery files (7 LOC)
    • 1 *.html files (6 LOC)
    • 1 *.spec files (4 LOC)
    • 1 *.pub files (1 LOC)
  • " *.java" is biggest, containing 69.6% of LOC.
  • " *.pub" is smallest, containing 0% of LOC.


*.java120663 LOC (69%) 2,447 files
*.xml48553 LOC (28%) 451 files
*.wsdl1901 LOC (1%) 12 files
*.yaml509 LOC (<1%) 17 files
*.proto485 LOC (<1%) 17 files
*.sql379 LOC (<1%) 25 files
*.xsl245 LOC (<1%) 17 files
*.sh160 LOC (<1%) 4 files
*.mustache90 LOC (<1%) 6 files
*.rs89 LOC (<1%) 1 file
*.tm85 LOC (<1%) 5 files
*.ftl46 LOC (<1%) 3 files
*.avsc37 LOC (<1%) 4 files
*.groovy34 LOC (<1%) 3 files
*.toml33 LOC (<1%) 1 file
*.graphql30 LOC (<1%) 3 files
*.xquery7 LOC (<1%) 2 files
*.html6 LOC (<1%) 1 file
*.spec4 LOC (<1%) 1 file
*.pub1 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/.*".
    • files with any line of content like "// This file was generated .*".
  • 27 files match defined criteria (20,370 LOC, 54.8% vs. main code):
    • 2 *.xml files (17,724 LOC)
    • 24 *.java files (2,600 LOC)
    • 1 *.json files (46 LOC)
  • " *.xml" is biggest, containing 87.01% of LOC.
  • " *.json" is smallest, containing 0.23% of LOC.


*.xml17724 LOC (87%) 2 files
*.java2600 LOC (12%) 24 files
*.json46 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".
    • files with paths like ".*[.]sh".
    • files with paths like ".*/[.]gitattributes".
  • 1064 files match defined criteria (57,180 LOC, 153.8% vs. main code):
    • 1,061 *.xml files (57,146 LOC)
    • 3 *.sh files (34 LOC)
  • " *.xml" is biggest, containing 99.94% of LOC.
  • " *.sh" is smallest, containing 0.06% of LOC.


*.xml57146 LOC (99%) 1,061 files
*.sh34 LOC (<1%) 3 files
Other Code
properties
txt
xsd
ini
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]adoc".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/resources/.*[.]xsd".
    • files with paths like ".*[.]ini".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]md".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 731 files match defined criteria (24,940 LOC, 67.1% vs. main code):
    • 261 *.json files (9,362 LOC)
    • 213 *.properties files (4,659 LOC)
    • 2 *.md files (4,225 LOC)
    • 200 *.adoc files (4,205 LOC)
    • 49 *.txt files (1,239 LOC)
    • 5 *.xsd files (1,223 LOC)
    • 1 *.ini files (27 LOC)
  • " *.json" is biggest, containing 37.54% of LOC.
  • " *.ini" is smallest, containing 0.11% of LOC.


*.json9362 LOC (37%) 261 files
*.properties4659 LOC (18%) 213 files
*.md4225 LOC (16%) 2 files
*.adoc4205 LOC (16%) 200 files
*.txt1239 LOC (4%) 49 files
*.xsd1223 LOC (4%) 5 files
*.ini27 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 19:56