alibaba / fluss
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
proto
txt
cmd
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.

main99005 LOC (58%) 1,132 files
test63474 LOC (37%) 483 files
generated0 LOC (0%) 0 files
build and deployment4252 LOC (2%) 35 files
other2264 LOC (1%) 47 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
proto
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 1132 files match defined criteria (99,005 LOC, 100.0% vs. main code):
    • 1,110 *.java files (97,441 LOC)
    • 1 *.proto files (683 LOC)
    • 4 *.css files (252 LOC)
    • 7 *.xml files (243 LOC)
    • 3 *.tsx files (166 LOC)
    • 2 *.ts files (132 LOC)
    • 4 *.js files (77 LOC)
    • 1 *.yaml files (11 LOC)
  • " *.java" is biggest, containing 98.42% of LOC.
  • " *.yaml" is smallest, containing 0.01% of LOC.


*.java97441 LOC (98%) 1,110 files
*.proto683 LOC (<1%) 1 file
*.css252 LOC (<1%) 4 files
*.xml243 LOC (<1%) 7 files
*.tsx166 LOC (<1%) 3 files
*.ts132 LOC (<1%) 2 files
*.js77 LOC (<1%) 4 files
*.yaml11 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
proto
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 ".*[-]tests/.*".
    • files with paths like ".*/[Tt]ests/.*".
  • 483 files match defined criteria (63,474 LOC, 64.1% vs. main code):
    • 468 *.java files (62,637 LOC)
    • 6 *.xml files (487 LOC)
    • 9 *.proto files (350 LOC)
  • " *.java" is biggest, containing 98.68% of LOC.
  • " *.proto" is smallest, containing 0.55% of LOC.


*.java62637 LOC (98%) 468 files
*.xml487 LOC (<1%) 6 files
*.proto350 LOC (<1%) 9 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 ".*/package[.]json".
  • 35 files match defined criteria (4,252 LOC, 4.3% vs. main code):
    • 30 *.xml files (4,053 LOC)
    • 5 *.sh files (199 LOC)
  • " *.xml" is biggest, containing 95.32% of LOC.
  • " *.sh" is smallest, containing 4.68% of LOC.


*.xml4053 LOC (95%) 30 files
*.sh199 LOC (4%) 5 files
Other Code
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]properties".
    • 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 ".*/[.]gitignore".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]json".
  • 47 files match defined criteria (2,264 LOC, 2.3% vs. main code):
    • 17 *.md files (1,219 LOC)
    • 19 *.properties files (565 LOC)
    • 1 *.xml files (289 LOC)
    • 6 *.json files (99 LOC)
    • 3 *.svg files (67 LOC)
    • 1 *.asm files (25 LOC)
  • " *.md" is biggest, containing 53.84% of LOC.
  • " *.asm" is smallest, containing 1.1% of LOC.


*.md1219 LOC (53%) 17 files
*.properties565 LOC (24%) 19 files
*.xml289 LOC (12%) 1 file
*.json99 LOC (4%) 6 files
*.svg67 LOC (2%) 3 files
*.asm25 LOC (1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-14 19:00