apache / kafka-merge-queue-sandbox
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
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.

main389399 LOC (38%) 3,485 files
test587851 LOC (58%) 2,252 files
generated0 LOC (0%) 0 files
build and deployment4173 LOC (<1%) 18 files
other19441 LOC (1%) 368 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 ".*".
  • 3485 files match defined criteria (389,399 LOC, 100.0% vs. main code):
    • 3,309 *.java files (351,941 LOC)
    • 142 *.scala files (35,373 LOC)
    • 19 *.py files (1,306 LOC)
    • 3 *.xml files (376 LOC)
    • 6 *.yaml files (199 LOC)
    • 1 *.xsl files (153 LOC)
    • 1 *.rdf files (34 LOC)
    • 3 *.html files (16 LOC)
    • 1 *.awk files (1 LOC)
  • " *.java" is biggest, containing 90.38% of LOC.
  • " *.awk" is smallest, containing 0% of LOC.


*.java351941 LOC (90%) 3,309 files
*.scala35373 LOC (9%) 142 files
*.py1306 LOC (<1%) 19 files
*.xml376 LOC (<1%) 3 files
*.yaml199 LOC (<1%) 6 files
*.xsl153 LOC (<1%) 1 file
*.rdf34 LOC (<1%) 1 file
*.html16 LOC (<1%) 3 files
*.awk1 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[-].*".
    • files with paths like ".*/test[.].*".
    • files with paths like ".*/testing[.].*".
    • files with paths like ".*/[Ss]pecs/.*".
    • files with paths like ".*[-]tests/.*".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*[-]tests[-].*".
    • files with paths like ".*_test[.].*".
  • 2252 files match defined criteria (587,851 LOC, 151.0% vs. main code):
    • 1,943 *.java files (489,716 LOC)
    • 285 *.scala files (97,419 LOC)
    • 18 *.yaml files (408 LOC)
    • 5 *.py files (307 LOC)
    • 1 *.html files (1 LOC)
  • " *.java" is biggest, containing 83.31% of LOC.
  • " *.html" is smallest, containing 0% of LOC.


*.java489716 LOC (83%) 1,943 files
*.scala97419 LOC (16%) 285 files
*.yaml408 LOC (<1%) 18 files
*.py307 LOC (<1%) 5 files
*.html1 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 ".*[.]gradle".
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]bat".
    • files with paths like ".*/pom[.]xml".
  • 18 files match defined criteria (4,173 LOC, 1.1% vs. main code):
    • 4 *.gradle files (3,431 LOC)
    • 11 *.sh files (537 LOC)
    • 3 *.xml files (205 LOC)
  • " *.gradle" is biggest, containing 82.22% of LOC.
  • " *.xml" is smallest, containing 4.91% of LOC.


*.gradle3431 LOC (82%) 4 files
*.sh537 LOC (12%) 11 files
*.xml205 LOC (4%) 3 files
Other Code
properties
txt
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 ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*/[Dd]ocumentation/.*".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/checkstyle[.]xml".
  • 368 files match defined criteria (19,441 LOC, 5.0% vs. main code):
    • 291 *.json files (14,046 LOC)
    • 16 *.xml files (1,804 LOC)
    • 18 *.java files (1,417 LOC)
    • 16 *.md files (1,254 LOC)
    • 22 *.properties files (810 LOC)
    • 5 *.txt files (110 LOC)
  • " *.json" is biggest, containing 72.25% of LOC.
  • " *.txt" is smallest, containing 0.57% of LOC.


*.json14046 LOC (72%) 291 files
*.xml1804 LOC (9%) 16 files
*.java1417 LOC (7%) 18 files
*.md1254 LOC (6%) 16 files
*.properties810 LOC (4%) 22 files
*.txt110 LOC (<1%) 5 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 21:02