guardian / VaultDoor
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
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.

main7150 LOC (83%) 118 files
test1179 LOC (13%) 16 files
generated0 LOC (0%) 0 files
build and deployment61 LOC (<1%) 2 files
other195 LOC (2%) 5 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 ".*".
  • 118 files match defined criteria (7,150 LOC, 100.0% vs. main code):
    • 74 *.scala files (3,463 LOC)
    • 17 *.jsx files (1,792 LOC)
    • 16 *.tsx files (1,520 LOC)
    • 4 *.ts files (141 LOC)
    • 2 *.sbt files (84 LOC)
    • 1 *.xml files (40 LOC)
    • 1 *.css files (38 LOC)
    • 1 *.py files (38 LOC)
    • 1 *.js files (18 LOC)
    • 1 *.html files (16 LOC)
  • " *.scala" is biggest, containing 48.43% of LOC.
  • " *.html" is smallest, containing 0.22% of LOC.


*.scala3463 LOC (48%) 74 files
*.jsx1792 LOC (25%) 17 files
*.tsx1520 LOC (21%) 16 files
*.ts141 LOC (1%) 4 files
*.sbt84 LOC (1%) 2 files
*.xml40 LOC (<1%) 1 file
*.css38 LOC (<1%) 1 file
*.py38 LOC (<1%) 1 file
*.js18 LOC (<1%) 1 file
*.html16 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 ".*__tests__.*".
    • files with paths like ".*/[Tt]est/.*".
  • 16 files match defined criteria (1,179 LOC, 16.5% vs. main code):
    • 5 *.jsx files (510 LOC)
    • 9 *.scala files (459 LOC)
    • 1 *.tsx files (129 LOC)
    • 1 *.ts files (81 LOC)
  • " *.jsx" is biggest, containing 43.26% of LOC.
  • " *.ts" is smallest, containing 6.87% of LOC.


*.jsx510 LOC (43%) 5 files
*.scala459 LOC (38%) 9 files
*.tsx129 LOC (10%) 1 file
*.ts81 LOC (6%) 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 ".*([.]|/)webpack([.]|/).*".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]sh".
  • 2 files match defined criteria (61 LOC, 0.9% vs. main code):
    • 1 *.js files (60 LOC)
    • 1 *.sh files (1 LOC)
  • " *.js" is biggest, containing 98.36% of LOC.
  • " *.sh" is smallest, containing 1.64% of LOC.


*.js60 LOC (98%) 1 file
*.sh1 LOC (1%) 1 file
Other Code
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]properties".
  • 5 files match defined criteria (195 LOC, 2.7% vs. main code):
    • 2 *.json files (114 LOC)
    • 2 *.md files (80 LOC)
    • 1 *.properties files (1 LOC)
  • " *.json" is biggest, containing 58.46% of LOC.
  • " *.properties" is smallest, containing 0.51% of LOC.


*.json114 LOC (58%) 2 files
*.md80 LOC (41%) 2 files
*.properties1 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-09 20:51