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
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.

main6307 LOC (38%) 70 files
test761 LOC (4%) 36 files
generated0 LOC (0%) 0 files
build and deployment4879 LOC (29%) 21 files
other4605 LOC (27%) 40 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 ".*".
  • 70 files match defined criteria (6,307 LOC, 100.0% vs. main code):
    • 21 *.xml files (4,694 LOC)
    • 41 *.java files (1,264 LOC)
    • 3 *.yml files (141 LOC)
    • 2 *.html files (134 LOC)
    • 2 *.yaml files (60 LOC)
    • 1 *.kt files (14 LOC)
  • " *.xml" is biggest, containing 74.43% of LOC.
  • " *.kt" is smallest, containing 0.22% of LOC.


*.xml4694 LOC (74%) 21 files
*.java1264 LOC (20%) 41 files
*.yml141 LOC (2%) 3 files
*.html134 LOC (2%) 2 files
*.yaml60 LOC (<1%) 2 files
*.kt14 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[-].*".
  • 36 files match defined criteria (761 LOC, 12.1% vs. main code):
    • 33 *.java files (717 LOC)
    • 1 *.xml files (23 LOC)
    • 2 *.kt files (21 LOC)
  • " *.java" is biggest, containing 94.22% of LOC.
  • " *.kt" is smallest, containing 2.76% of LOC.


*.java717 LOC (94%) 33 files
*.xml23 LOC (3%) 1 file
*.kt21 LOC (2%) 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 ".*/docker[-]compose[.]yml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitattributes".
  • 21 files match defined criteria (4,879 LOC, 77.4% vs. main code):
    • 17 *.xml files (4,844 LOC)
    • 1 *.yml files (18 LOC)
    • 3 *.sh files (17 LOC)
  • " *.xml" is biggest, containing 99.28% of LOC.
  • " *.sh" is smallest, containing 0.35% of LOC.


*.xml4844 LOC (99%) 17 files
*.yml18 LOC (<1%) 1 file
*.sh17 LOC (<1%) 3 files
Other Code
properties
txt
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 ".*[.]json".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]md".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 40 files match defined criteria (4,605 LOC, 73.0% vs. main code):
    • 2 *.json files (2,216 LOC)
    • 18 *.adoc files (1,557 LOC)
    • 17 *.properties files (642 LOC)
    • 3 *.txt files (190 LOC)
  • " *.json" is biggest, containing 48.12% of LOC.
  • " *.txt" is smallest, containing 4.13% of LOC.


*.json2216 LOC (48%) 2 files
*.adoc1557 LOC (33%) 18 files
*.properties642 LOC (13%) 17 files
*.txt190 LOC (4%) 3 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-11 02:03