apache / yunikorn-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
mod
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.

main5689 LOC (34%) 97 files
test1039 LOC (6%) 27 files
generated0 LOC (0%) 0 files
build and deployment7730 LOC (46%) 1 file
other2038 LOC (12%) 12 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 ".*".
  • 97 files match defined criteria (5,689 LOC, 100.0% vs. main code):
    • 52 *.ts files (3,338 LOC)
    • 21 *.scss files (1,280 LOC)
    • 21 *.html files (938 LOC)
    • 2 *.go files (88 LOC)
    • 1 *.js files (45 LOC)
  • " *.ts" is biggest, containing 58.67% of LOC.
  • " *.js" is smallest, containing 0.79% of LOC.


*.ts3338 LOC (58%) 52 files
*.scss1280 LOC (22%) 21 files
*.html938 LOC (16%) 21 files
*.go88 LOC (1%) 2 files
*.js45 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 ".*/karma[.]conf[.]js".
    • files with paths like ".*/test[.].*".
    • files with paths like ".*[.]spec[.]ts".
    • files with paths like ".*_test[.].*".
  • 27 files match defined criteria (1,039 LOC, 18.3% vs. main code):
    • 25 *.ts files (929 LOC)
    • 1 *.go files (55 LOC)
    • 1 *.js files (55 LOC)
  • " *.ts" is biggest, containing 89.41% of LOC.
  • " *.js" is smallest, containing 5.29% of LOC.


*.ts929 LOC (89%) 25 files
*.go55 LOC (5%) 1 file
*.js55 LOC (5%) 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 ".*/package[.]json".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/pnpm.*[.]ya?ml".
  • 1 file matches defined criteria (7,730 LOC, 135.9% vs. main code). All matches are in *.yaml files.


*.yaml7730 LOC (100%) 1 file
Other Code
mod
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/go[.]mod".
    • files with paths like ".*/[.]dockerignore".
  • 12 files match defined criteria (2,038 LOC, 35.8% vs. main code):
    • 9 *.json files (1,944 LOC)
    • 1 *.md files (63 LOC)
    • 1 *.mod files (23 LOC)
    • 1 *.svg files (8 LOC)
  • " *.json" is biggest, containing 95.39% of LOC.
  • " *.svg" is smallest, containing 0.39% of LOC.


*.json1944 LOC (95%) 9 files
*.md63 LOC (3%) 1 file
*.mod23 LOC (1%) 1 file
*.svg8 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 19:54