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.

main44202 LOC (75%) 759 files
test4824 LOC (8%) 57 files
generated0 LOC (0%) 0 files
build and deployment6712 LOC (11%) 42 files
other3087 LOC (5%) 27 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 ".*".
  • 759 files match defined criteria (44,202 LOC, 100.0% vs. main code):
    • 484 *.java files (22,530 LOC)
    • 154 *.ts files (12,303 LOC)
    • 53 *.tsx files (5,651 LOC)
    • 31 *.xml files (2,004 LOC)
    • 7 *.py files (465 LOC)
    • 2 *.sql files (432 LOC)
    • 19 *.scss files (425 LOC)
    • 5 *.yaml files (356 LOC)
    • 2 *.js files (17 LOC)
    • 1 *.html files (13 LOC)
    • 1 *.css files (6 LOC)
  • " *.java" is biggest, containing 50.97% of LOC.
  • " *.css" is smallest, containing 0.01% of LOC.


*.java22530 LOC (50%) 484 files
*.ts12303 LOC (27%) 154 files
*.tsx5651 LOC (12%) 53 files
*.xml2004 LOC (4%) 31 files
*.py465 LOC (1%) 7 files
*.sql432 LOC (<1%) 2 files
*.scss425 LOC (<1%) 19 files
*.yaml356 LOC (<1%) 5 files
*.js17 LOC (<1%) 2 files
*.html13 LOC (<1%) 1 file
*.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/.*".
  • 57 files match defined criteria (4,824 LOC, 10.9% vs. main code):
    • 51 *.java files (4,699 LOC)
    • 3 *.yaml files (49 LOC)
    • 2 *.ts files (45 LOC)
    • 1 *.xml files (31 LOC)
  • " *.java" is biggest, containing 97.41% of LOC.
  • " *.xml" is smallest, containing 0.64% of LOC.


*.java4699 LOC (97%) 51 files
*.yaml49 LOC (1%) 3 files
*.ts45 LOC (<1%) 2 files
*.xml31 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 ".*/package[.]json".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/pnpm.*[.]ya?ml".
    • files with paths like ".*[.]dockerfile".
  • 42 files match defined criteria (6,712 LOC, 15.2% vs. main code):
    • 34 *.xml files (3,911 LOC)
    • 1 *.yaml files (2,715 LOC)
    • 6 *.sh files (62 LOC)
    • 1 *.dockerfile files (24 LOC)
  • " *.xml" is biggest, containing 58.27% of LOC.
  • " *.dockerfile" is smallest, containing 0.36% of LOC.


*.xml3911 LOC (58%) 34 files
*.yaml2715 LOC (40%) 1 file
*.sh62 LOC (<1%) 6 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 ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*/[.]prettierignore".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]eslintignore".
  • 27 files match defined criteria (3,087 LOC, 7.0% vs. main code):
    • 10 *.txt files (1,499 LOC)
    • 7 *.json files (428 LOC)
    • 5 *.md files (404 LOC)
    • 1 *.xml files (381 LOC)
    • 4 *.properties files (375 LOC)
  • " *.txt" is biggest, containing 48.56% of LOC.
  • " *.properties" is smallest, containing 12.15% of LOC.


*.txt1499 LOC (48%) 10 files
*.json428 LOC (13%) 7 files
*.md404 LOC (13%) 5 files
*.xml381 LOC (12%) 1 file
*.properties375 LOC (12%) 4 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 20:41