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
wsdl
tm
xsd
proto
xquery
spec
gitmodules
cmd
gitattributes
ini
mjs
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.

main34400 LOC (12%) 1,153 files
test146573 LOC (52%) 2,613 files
generated18006 LOC (6%) 27 files
build and deployment59963 LOC (21%) 988 files
other19776 LOC (7%) 555 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 ".*".
  • 1153 files match defined criteria (34,400 LOC, 100.0% vs. main code):
    • 678 *.java files (27,554 LOC)
    • 324 *.yaml files (3,581 LOC)
    • 132 *.adoc files (2,268 LOC)
    • 7 *.xml files (536 LOC)
    • 8 *.groovy files (418 LOC)
    • 2 *.kt files (22 LOC)
    • 1 *.yml files (11 LOC)
    • 1 *.xsl files (10 LOC)
  • " *.java" is biggest, containing 80.1% of LOC.
  • " *.xsl" is smallest, containing 0.03% of LOC.


*.java27554 LOC (80%) 678 files
*.yaml3581 LOC (10%) 324 files
*.adoc2268 LOC (6%) 132 files
*.xml536 LOC (1%) 7 files
*.groovy418 LOC (1%) 8 files
*.kt22 LOC (<1%) 2 files
*.yml11 LOC (<1%) 1 file
*.xsl10 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
wsdl
xsl
tm
proto
mjs
xquery
spec
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 ".*[-]tests[-].*".
    • files with paths like ".*[-]tests/.*".
  • 2613 files match defined criteria (146,573 LOC, 426.1% vs. main code):
    • 2,067 *.java files (99,160 LOC)
    • 424 *.xml files (44,168 LOC)
    • 9 *.wsdl files (1,445 LOC)
    • 27 *.sql files (384 LOC)
    • 9 *.yaml files (326 LOC)
    • 14 *.xsl files (201 LOC)
    • 10 *.groovy files (141 LOC)
    • 8 *.kts files (117 LOC)
    • 6 *.mustache files (90 LOC)
    • 5 *.tm files (85 LOC)
    • 1 *.sh files (79 LOC)
    • 3 *.proto files (74 LOC)
    • 4 *.kt files (70 LOC)
    • 8 *.js files (58 LOC)
    • 3 *.ftl files (46 LOC)
    • 4 *.avsc files (37 LOC)
    • 2 *.graphql files (32 LOC)
    • 4 *.adoc files (26 LOC)
    • 1 *.mjs files (17 LOC)
    • 2 *.xquery files (7 LOC)
    • 1 *.html files (6 LOC)
    • 1 *.spec files (4 LOC)
  • " *.java" is biggest, containing 67.65% of LOC.
  • " *.spec" is smallest, containing 0% of LOC.


*.java99160 LOC (67%) 2,067 files
*.xml44168 LOC (30%) 424 files
*.wsdl1445 LOC (<1%) 9 files
*.sql384 LOC (<1%) 27 files
*.yaml326 LOC (<1%) 9 files
*.xsl201 LOC (<1%) 14 files
*.groovy141 LOC (<1%) 10 files
*.kts117 LOC (<1%) 8 files
*.mustache90 LOC (<1%) 6 files
*.tm85 LOC (<1%) 5 files
*.sh79 LOC (<1%) 1 file
*.proto74 LOC (<1%) 3 files
*.kt70 LOC (<1%) 4 files
*.js58 LOC (<1%) 8 files
*.ftl46 LOC (<1%) 3 files
*.avsc37 LOC (<1%) 4 files
*.graphql32 LOC (<1%) 2 files
*.adoc26 LOC (<1%) 4 files
*.mjs17 LOC (<1%) 1 file
*.xquery7 LOC (<1%) 2 files
*.html6 LOC (<1%) 1 file
*.spec4 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 (18,006 LOC, 52.3% vs. main code):
    • 2 *.xml files (15,384 LOC)
    • 24 *.java files (2,584 LOC)
    • 1 *.json files (38 LOC)
  • " *.xml" is biggest, containing 85.44% of LOC.
  • " *.json" is smallest, containing 0.21% of LOC.


*.xml15384 LOC (85%) 2 files
*.java2584 LOC (14%) 24 files
*.json38 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 ".*/[.]gitmodules".
    • files with paths like ".*/[.]gitattributes".
  • 988 files match defined criteria (59,963 LOC, 174.3% vs. main code). All matches are in *.xml files.


*.xml59963 LOC (100%) 988 files
Other Code
properties
txt
xsd
ini
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]md".
    • files with paths like ".*[.]json".
    • files with paths like ".*/resources/.*[.]xsd".
    • files with paths like ".*[.]ini".
    • files with paths like ".*/[Ee]xamples/.*".
  • 555 files match defined criteria (19,776 LOC, 57.5% vs. main code):
    • 266 *.json files (8,832 LOC)
    • 2 *.md files (4,598 LOC)
    • 190 *.properties files (4,210 LOC)
    • 38 *.txt files (1,085 LOC)
    • 54 *.adoc files (923 LOC)
    • 4 *.xsd files (101 LOC)
    • 1 *.ini files (27 LOC)
  • " *.json" is biggest, containing 44.66% of LOC.
  • " *.ini" is smallest, containing 0.14% of LOC.


*.json8832 LOC (44%) 266 files
*.md4598 LOC (23%) 2 files
*.properties4210 LOC (21%) 190 files
*.txt1085 LOC (5%) 38 files
*.adoc923 LOC (4%) 54 files
*.xsd101 LOC (<1%) 4 files
*.ini27 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 22:14