guardian / pluto-deliverables
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
gitmodules
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.

main16296 LOC (79%) 192 files
test3241 LOC (15%) 37 files
generated0 LOC (0%) 0 files
build and deployment121 LOC (<1%) 5 files
other917 LOC (4%) 7 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 ".*".
  • 192 files match defined criteria (16,296 LOC, 100.0% vs. main code):
    • 61 *.tsx files (8,697 LOC)
    • 101 *.py files (5,099 LOC)
    • 17 *.ts files (1,676 LOC)
    • 3 *.jsx files (320 LOC)
    • 4 *.yaml files (187 LOC)
    • 3 *.js files (178 LOC)
    • 2 *.html files (71 LOC)
    • 1 *.css files (68 LOC)
  • " *.tsx" is biggest, containing 53.37% of LOC.
  • " *.css" is smallest, containing 0.42% of LOC.


*.tsx8697 LOC (53%) 61 files
*.py5099 LOC (31%) 101 files
*.ts1676 LOC (10%) 17 files
*.jsx320 LOC (1%) 3 files
*.yaml187 LOC (1%) 4 files
*.js178 LOC (1%) 3 files
*.html71 LOC (<1%) 2 files
*.css68 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]ests/.*".
    • files with paths like ".*/test_.*".
    • files with paths like ".*_test[.].*".
    • files with paths like ".*_tests[.].*".
    • files with paths like ".*__tests__.*".
  • 37 files match defined criteria (3,241 LOC, 19.9% vs. main code):
    • 9 *.tsx files (1,565 LOC)
    • 22 *.py files (1,394 LOC)
    • 4 *.ts files (218 LOC)
    • 2 *.yaml files (64 LOC)
  • " *.tsx" is biggest, containing 48.29% of LOC.
  • " *.yaml" is smallest, containing 1.97% of LOC.


*.tsx1565 LOC (48%) 9 files
*.py1394 LOC (43%) 22 files
*.ts218 LOC (6%) 4 files
*.yaml64 LOC (1%) 2 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 ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitmodules".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*([.]|/)webpack([.]|/).*".
  • 5 files match defined criteria (121 LOC, 0.7% vs. main code):
    • 1 *.js files (79 LOC)
    • 4 *.sh files (42 LOC)
  • " *.js" is biggest, containing 65.29% of LOC.
  • " *.sh" is smallest, containing 34.71% of LOC.


*.js79 LOC (65%) 1 file
*.sh42 LOC (34%) 4 files
Other Code
txt
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 ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]dockerignore".
  • 7 files match defined criteria (917 LOC, 5.6% vs. main code):
    • 5 *.json files (714 LOC)
    • 1 *.md files (187 LOC)
    • 1 *.txt files (16 LOC)
  • " *.json" is biggest, containing 77.86% of LOC.
  • " *.txt" is smallest, containing 1.74% of LOC.


*.json714 LOC (77%) 5 files
*.md187 LOC (20%) 1 file
*.txt16 LOC (1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-09 20:57