apache / streampark-website
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
mdx
txt
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.

main10517 LOC (25%) 151 files
test0 LOC (0%) 0 files
generated0 LOC (0%) 0 files
build and deployment273 LOC (<1%) 2 files
other30376 LOC (73%) 187 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 ".*".
  • 151 files match defined criteria (10,517 LOC, 100.0% vs. main code):
    • 21 *.less files (2,982 LOC)
    • 58 *.tsx files (2,602 LOC)
    • 30 *.css files (2,490 LOC)
    • 12 *.jsx files (1,231 LOC)
    • 25 *.js files (1,126 LOC)
    • 5 *.ts files (86 LOC)
  • " *.less" is biggest, containing 28.35% of LOC.
  • " *.ts" is smallest, containing 0.82% of LOC.


*.less2982 LOC (28%) 21 files
*.tsx2602 LOC (24%) 58 files
*.css2490 LOC (23%) 30 files
*.jsx1231 LOC (11%) 12 files
*.js1126 LOC (10%) 25 files
*.ts86 LOC (<1%) 5 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 ".*/docker[-]compose[.]yaml".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 2 files match defined criteria (273 LOC, 2.6% vs. main code):
    • 1 *.sh files (222 LOC)
    • 1 *.yaml files (51 LOC)
  • " *.sh" is biggest, containing 81.32% of LOC.
  • " *.yaml" is smallest, containing 18.68% of LOC.


*.sh222 LOC (81%) 1 file
*.yaml51 LOC (18%) 1 file
Other Code
mdx
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]mdx".
    • files with paths like ".*[.]txt".
  • 187 files match defined criteria (30,376 LOC, 288.8% vs. main code):
    • 136 *.md files (23,952 LOC)
    • 24 *.svg files (5,438 LOC)
    • 26 *.json files (945 LOC)
    • 1 *.mdx files (41 LOC)
  • " *.md" is biggest, containing 78.85% of LOC.
  • " *.mdx" is smallest, containing 0.13% of LOC.


*.md23952 LOC (78%) 136 files
*.svg5438 LOC (17%) 24 files
*.json945 LOC (3%) 26 files
*.mdx41 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 20:34