apache / seatunnel-web
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
cmd
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.

main42003 LOC (81%) 731 files
test669 LOC (1%) 14 files
generated0 LOC (0%) 0 files
build and deployment6202 LOC (12%) 37 files
other2489 LOC (4%) 16 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 ".*".
  • 731 files match defined criteria (42,003 LOC, 100.0% vs. main code):
    • 466 *.java files (20,959 LOC)
    • 158 *.ts files (12,120 LOC)
    • 59 *.tsx files (5,957 LOC)
    • 22 *.xml files (1,504 LOC)
    • 2 *.sql files (438 LOC)
    • 2 *.html files (382 LOC)
    • 17 *.scss files (363 LOC)
    • 1 *.yaml files (215 LOC)
    • 1 *.yml files (42 LOC)
    • 2 *.js files (17 LOC)
    • 1 *.css files (6 LOC)
  • " *.java" is biggest, containing 49.9% of LOC.
  • " *.css" is smallest, containing 0.01% of LOC.


*.java20959 LOC (49%) 466 files
*.ts12120 LOC (28%) 158 files
*.tsx5957 LOC (14%) 59 files
*.xml1504 LOC (3%) 22 files
*.sql438 LOC (1%) 2 files
*.html382 LOC (<1%) 2 files
*.scss363 LOC (<1%) 17 files
*.yaml215 LOC (<1%) 1 file
*.yml42 LOC (<1%) 1 file
*.js17 LOC (<1%) 2 files
*.css6 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/.*".
  • 14 files match defined criteria (669 LOC, 1.6% vs. main code):
    • 12 *.java files (624 LOC)
    • 2 *.ts files (45 LOC)
  • " *.java" is biggest, containing 93.27% of LOC.
  • " *.ts" is smallest, containing 6.73% of LOC.


*.java624 LOC (93%) 12 files
*.ts45 LOC (6%) 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 ".*[.]sh".
    • files with paths like ".*[.]dockerfile".
    • files with paths like ".*/pnpm.*[.]ya?ml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*/pom[.]xml".
  • 37 files match defined criteria (6,202 LOC, 14.8% vs. main code):
    • 31 *.xml files (3,419 LOC)
    • 1 *.yaml files (2,715 LOC)
    • 4 *.sh files (44 LOC)
    • 1 *.dockerfile files (24 LOC)
  • " *.xml" is biggest, containing 55.13% of LOC.
  • " *.dockerfile" is smallest, containing 0.39% of LOC.


*.xml3419 LOC (55%) 31 files
*.yaml2715 LOC (43%) 1 file
*.sh44 LOC (<1%) 4 files
*.dockerfile24 LOC (<1%) 1 file
Other Code
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]prettierignore".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]eslintignore".
    • files with paths like ".*[.]properties".
  • 16 files match defined criteria (2,489 LOC, 5.9% vs. main code):
    • 10 *.txt files (1,839 LOC)
    • 1 *.xml files (381 LOC)
    • 1 *.properties files (97 LOC)
    • 2 *.md files (93 LOC)
    • 2 *.json files (79 LOC)
  • " *.txt" is biggest, containing 73.89% of LOC.
  • " *.json" is smallest, containing 3.17% of LOC.


*.txt1839 LOC (73%) 10 files
*.xml381 LOC (15%) 1 file
*.properties97 LOC (3%) 1 file
*.md93 LOC (3%) 2 files
*.json79 LOC (3%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-11 02:33