apache / camel-upgrade-recipes
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
cmd
properties
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.

main3226 LOC (39%) 48 files
test3845 LOC (47%) 20 files
generated0 LOC (0%) 0 files
build and deployment747 LOC (9%) 6 files
other260 LOC (3%) 3 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 ".*".
  • 48 files match defined criteria (3,226 LOC, 100.0% vs. main code):
    • 32 *.java files (2,308 LOC)
    • 16 *.yaml files (918 LOC)
  • " *.java" is biggest, containing 71.54% of LOC.
  • " *.yaml" is smallest, containing 28.46% of LOC.


*.java2308 LOC (71%) 32 files
*.yaml918 LOC (28%) 16 files
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/.*".
  • 20 files match defined criteria (3,845 LOC, 119.2% vs. main code). All matches are in *.java files.


*.java3845 LOC (100%) 20 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 ".*[.]sh".
    • files with paths like ".*/pom[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 6 files match defined criteria (747 LOC, 23.2% vs. main code):
    • 3 *.xml files (715 LOC)
    • 3 *.sh files (32 LOC)
  • " *.xml" is biggest, containing 95.72% of LOC.
  • " *.sh" is smallest, containing 4.28% of LOC.


*.xml715 LOC (95%) 3 files
*.sh32 LOC (4%) 3 files
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]adoc".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*/README[.][a-z0-9]+".
  • 3 files match defined criteria (260 LOC, 8.1% vs. main code):
    • 1 *.txt files (169 LOC)
    • 2 *.adoc files (91 LOC)
  • " *.txt" is biggest, containing 65% of LOC.
  • " *.adoc" is smallest, containing 35% of LOC.


*.txt169 LOC (65%) 1 file
*.adoc91 LOC (35%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 20:59