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.

main29776 LOC (18%) 776 files
test16808 LOC (10%) 281 files
generated26750 LOC (16%) 521 files
build and deployment23783 LOC (15%) 192 files
other61000 LOC (38%) 926 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 ".*".
  • 776 files match defined criteria (29,776 LOC, 100.0% vs. main code):
    • 574 *.java files (21,479 LOC)
    • 189 *.xml files (7,364 LOC)
    • 11 *.yaml files (914 LOC)
    • 2 *.yml files (19 LOC)
  • " *.java" is biggest, containing 72.14% of LOC.
  • " *.yml" is smallest, containing 0.06% of LOC.


*.java21479 LOC (72%) 574 files
*.xml7364 LOC (24%) 189 files
*.yaml914 LOC (3%) 11 files
*.yml19 LOC (<1%) 2 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 ".*[-]tests[-].*".
  • 281 files match defined criteria (16,808 LOC, 56.4% vs. main code):
    • 241 *.java files (14,621 LOC)
    • 37 *.xml files (2,164 LOC)
    • 1 *.sh files (14 LOC)
    • 2 *.sql files (9 LOC)
  • " *.java" is biggest, containing 86.99% of LOC.
  • " *.sql" is smallest, containing 0.05% of LOC.


*.java14621 LOC (86%) 241 files
*.xml2164 LOC (12%) 37 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/.*".
  • 521 files match defined criteria (26,750 LOC, 89.8% vs. main code):
    • 342 *.json files (26,358 LOC)
    • 178 *.properties files (354 LOC)
    • 1 *.java files (38 LOC)
  • " *.json" is biggest, containing 98.53% of LOC.
  • " *.java" is smallest, containing 0.14% of LOC.


*.json26358 LOC (98%) 342 files
*.properties354 LOC (1%) 178 files
*.java38 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 ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitmodules".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]bat".
  • 192 files match defined criteria (23,783 LOC, 79.9% vs. main code):
    • 190 *.xml files (23,755 LOC)
    • 1 *.bat files (17 LOC)
    • 1 *.sh files (11 LOC)
  • " *.xml" is biggest, containing 99.88% of LOC.
  • " *.sh" is smallest, containing 0.05% of LOC.


*.xml23755 LOC (99%) 190 files
*.bat17 LOC (<1%) 1 file
*.sh11 LOC (<1%) 1 file
Other Code
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]md".
    • files with paths like ".*/[.]gitignore".
  • 926 files match defined criteria (61,000 LOC, 204.9% vs. main code):
    • 373 *.txt files (32,158 LOC)
    • 342 *.json files (26,358 LOC)
    • 1 *.md files (1,248 LOC)
    • 208 *.properties files (1,179 LOC)
    • 2 *.adoc files (57 LOC)
  • " *.txt" is biggest, containing 52.72% of LOC.
  • " *.adoc" is smallest, containing 0.09% of LOC.


*.txt32158 LOC (52%) 373 files
*.json26358 LOC (43%) 342 files
*.md1248 LOC (2%) 1 file
*.properties1179 LOC (1%) 208 files
*.adoc57 LOC (<1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 22:27