apache / shenyu-wasm
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
wat
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.

main1180 LOC (56%) 18 files
test294 LOC (14%) 6 files
generated0 LOC (0%) 0 files
build and deployment260 LOC (12%) 2 files
other359 LOC (17%) 4 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 ".*".
  • 18 files match defined criteria (1,180 LOC, 100.0% vs. main code):
    • 7 *.rs files (701 LOC)
    • 9 *.java files (231 LOC)
    • 1 *.xml files (216 LOC)
    • 1 *.toml files (32 LOC)
  • " *.rs" is biggest, containing 59.41% of LOC.
  • " *.toml" is smallest, containing 2.71% of LOC.


*.rs701 LOC (59%) 7 files
*.java231 LOC (19%) 9 files
*.xml216 LOC (18%) 1 file
*.toml32 LOC (2%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
wat
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
  • 6 files match defined criteria (294 LOC, 24.9% vs. main code):
    • 3 *.java files (247 LOC)
    • 2 *.rs files (42 LOC)
    • 1 *.wat files (5 LOC)
  • " *.java" is biggest, containing 84.01% of LOC.
  • " *.wat" is smallest, containing 1.7% of LOC.


*.java247 LOC (84%) 3 files
*.rs42 LOC (14%) 2 files
*.wat5 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 2 files match defined criteria (260 LOC, 22.0% vs. main code). All matches are in *.xml files.


*.xml260 LOC (100%) 2 files
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
  • 4 files match defined criteria (359 LOC, 30.4% vs. main code):
    • 3 *.md files (343 LOC)
    • 1 *.txt files (16 LOC)
  • " *.md" is biggest, containing 95.54% of LOC.
  • " *.txt" is smallest, containing 4.46% of LOC.


*.md343 LOC (95%) 3 files
*.txt16 LOC (4%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-11 02:46