apache / camel-kafka-connector
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
gitmodules
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.

main33832 LOC (19%) 871 files
test15734 LOC (8%) 271 files
generated33584 LOC (18%) 603 files
build and deployment22403 LOC (12%) 222 files
other72437 LOC (40%) 1,058 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 ".*".
  • 871 files match defined criteria (33,832 LOC, 100.0% vs. main code):
    • 646 *.java files (24,558 LOC)
    • 214 *.xml files (8,289 LOC)
    • 11 *.yaml files (985 LOC)
  • " *.java" is biggest, containing 72.59% of LOC.
  • " *.yaml" is smallest, containing 2.91% of LOC.


*.java24558 LOC (72%) 646 files
*.xml8289 LOC (24%) 214 files
*.yaml985 LOC (2%) 11 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/.*".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*/mock[a-zA-Z0-9_\- ]+/.*".
    • files with paths like ".*/testing[.].*".
  • 271 files match defined criteria (15,734 LOC, 46.5% vs. main code):
    • 235 *.java files (13,822 LOC)
    • 33 *.xml files (1,889 LOC)
    • 1 *.sh files (14 LOC)
    • 2 *.sql files (9 LOC)
  • " *.java" is biggest, containing 87.85% of LOC.
  • " *.sql" is smallest, containing 0.06% of LOC.


*.java13822 LOC (87%) 235 files
*.xml1889 LOC (12%) 33 files
*.sh14 LOC (<1%) 1 file
*.sql9 LOC (<1%) 2 files
Generated Code
Automatically generated files, not manually changed after generation.
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/generated/.*".
  • 603 files match defined criteria (33,584 LOC, 99.3% vs. main code):
    • 400 *.json files (33,136 LOC)
    • 202 *.properties files (402 LOC)
    • 1 *.java files (46 LOC)
  • " *.json" is biggest, containing 98.67% of LOC.
  • " *.java" is smallest, containing 0.14% of LOC.


*.json33136 LOC (98%) 400 files
*.properties402 LOC (1%) 202 files
*.java46 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 ".*[.]sh".
    • files with paths like ".*/pom[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitmodules".
    • files with paths like ".*[.]bat".
  • 222 files match defined criteria (22,403 LOC, 66.2% vs. main code):
    • 215 *.xml files (22,144 LOC)
    • 6 *.sh files (242 LOC)
    • 1 *.bat files (17 LOC)
  • " *.xml" is biggest, containing 98.84% of LOC.
  • " *.bat" is smallest, containing 0.08% of LOC.


*.xml22144 LOC (98%) 215 files
*.sh242 LOC (1%) 6 files
*.bat17 LOC (<1%) 1 file
Other Code
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]adoc".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
  • 1058 files match defined criteria (72,437 LOC, 214.1% vs. main code):
    • 423 *.txt files (36,608 LOC)
    • 400 *.json files (33,136 LOC)
    • 1 *.md files (1,410 LOC)
    • 232 *.properties files (1,227 LOC)
    • 2 *.adoc files (56 LOC)
  • " *.txt" is biggest, containing 50.54% of LOC.
  • " *.adoc" is smallest, containing 0.08% of LOC.


*.txt36608 LOC (50%) 423 files
*.json33136 LOC (45%) 400 files
*.md1410 LOC (1%) 1 file
*.properties1227 LOC (1%) 232 files
*.adoc56 LOC (<1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 20:03