apache / streampark
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
properties
editorconfig
cmd
gitattributes
stylelintignore
npmrc
tpl
gitmodules
eslintignore
prettierignore
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.

main117903 LOC (83%) 1,486 files
test10991 LOC (7%) 139 files
generated0 LOC (0%) 0 files
build and deployment6247 LOC (4%) 64 files
other6527 LOC (4%) 209 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 ".*".
  • 1486 files match defined criteria (117,903 LOC, 100.0% vs. main code):
    • 436 *.java files (29,959 LOC)
    • 209 *.vue files (27,734 LOC)
    • 402 *.ts files (24,421 LOC)
    • 314 *.scala files (21,454 LOC)
    • 28 *.tsx files (4,220 LOC)
    • 17 *.sql files (3,995 LOC)
    • 36 *.less files (2,841 LOC)
    • 4 *.ftl files (1,531 LOC)
    • 32 *.xml files (971 LOC)
    • 4 *.js files (487 LOC)
    • 1 *.html files (150 LOC)
    • 3 *.yaml files (140 LOC)
  • " *.java" is biggest, containing 25.41% of LOC.
  • " *.yaml" is smallest, containing 0.12% of LOC.


*.java29959 LOC (25%) 436 files
*.vue27734 LOC (23%) 209 files
*.ts24421 LOC (20%) 402 files
*.scala21454 LOC (18%) 314 files
*.tsx4220 LOC (3%) 28 files
*.sql3995 LOC (3%) 17 files
*.less2841 LOC (2%) 36 files
*.ftl1531 LOC (1%) 4 files
*.xml971 LOC (<1%) 32 files
*.js487 LOC (<1%) 4 files
*.html150 LOC (<1%) 1 file
*.yaml140 LOC (<1%) 3 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 ".*/test[.].*".
    • files with paths like ".*/e2e/.*".
  • 139 files match defined criteria (10,991 LOC, 9.3% vs. main code):
    • 106 *.java files (8,342 LOC)
    • 22 *.scala files (1,895 LOC)
    • 9 *.yaml files (726 LOC)
    • 2 *.sql files (28 LOC)
  • " *.java" is biggest, containing 75.9% of LOC.
  • " *.sql" is smallest, containing 0.25% of LOC.


*.java8342 LOC (75%) 106 files
*.scala1895 LOC (17%) 22 files
*.yaml726 LOC (6%) 9 files
*.sql28 LOC (<1%) 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitmodules".
    • files with paths like ".*/[.]gitattributes".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*/assembly[.]xml".
    • files with paths like ".*/docker[-]compose[.]yaml".
  • 64 files match defined criteria (6,247 LOC, 5.3% vs. main code):
    • 60 *.xml files (5,728 LOC)
    • 3 *.sh files (494 LOC)
    • 1 *.yaml files (25 LOC)
  • " *.xml" is biggest, containing 91.69% of LOC.
  • " *.yaml" is smallest, containing 0.4% of LOC.


*.xml5728 LOC (91%) 60 files
*.sh494 LOC (7%) 3 files
*.yaml25 LOC (<1%) 1 file
Other Code
txt
properties
tpl
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/checkstyle[.]xml".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]prettierignore".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/[.]stylelintignore".
    • files with paths like ".*[.]npmrc".
    • files with paths like ".*[.]editorconfig".
    • files with paths like ".*/[.]eslintignore".
  • 209 files match defined criteria (6,527 LOC, 5.5% vs. main code):
    • 168 *.txt files (4,371 LOC)
    • 26 *.svg files (916 LOC)
    • 4 *.xml files (490 LOC)
    • 4 *.md files (272 LOC)
    • 3 *.json files (260 LOC)
    • 3 *.properties files (189 LOC)
    • 1 *.tpl files (29 LOC)
  • " *.txt" is biggest, containing 66.97% of LOC.
  • " *.tpl" is smallest, containing 0.44% of LOC.


*.txt4371 LOC (66%) 168 files
*.svg916 LOC (14%) 26 files
*.xml490 LOC (7%) 4 files
*.md272 LOC (4%) 4 files
*.json260 LOC (3%) 3 files
*.properties189 LOC (2%) 3 files
*.tpl29 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 19:53