guardian / pluto-versions-manager
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
txt
npmrc
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.

main2759 LOC (69%) 52 files
test1009 LOC (25%) 4 files
generated0 LOC (0%) 0 files
build and deployment71 LOC (1%) 3 files
other139 LOC (3%) 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 ".*".
  • 52 files match defined criteria (2,759 LOC, 100.0% vs. main code):
    • 36 *.scala files (1,390 LOC)
    • 9 *.tsx files (1,053 LOC)
    • 1 *.ts files (188 LOC)
    • 2 *.sbt files (69 LOC)
    • 1 *.xml files (26 LOC)
    • 1 *.html files (17 LOC)
    • 1 *.jsx files (9 LOC)
    • 1 *.js files (7 LOC)
  • " *.scala" is biggest, containing 50.38% of LOC.
  • " *.js" is smallest, containing 0.25% of LOC.


*.scala1390 LOC (50%) 36 files
*.tsx1053 LOC (38%) 9 files
*.ts188 LOC (6%) 1 file
*.sbt69 LOC (2%) 2 files
*.xml26 LOC (<1%) 1 file
*.html17 LOC (<1%) 1 file
*.jsx9 LOC (<1%) 1 file
*.js7 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 ".*/test_.*".
    • files with paths like ".*__tests__.*".
    • files with paths like ".*/[Tt]est/.*".
  • 4 files match defined criteria (1,009 LOC, 36.6% vs. main code):
    • 2 *.scala files (568 LOC)
    • 1 *.ts files (300 LOC)
    • 1 *.tsx files (141 LOC)
  • " *.scala" is biggest, containing 56.29% of LOC.
  • " *.tsx" is smallest, containing 13.97% of LOC.


*.scala568 LOC (56%) 2 files
*.ts300 LOC (29%) 1 file
*.tsx141 LOC (13%) 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 ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*([.]|/)webpack([.]|/).*".
  • 3 files match defined criteria (71 LOC, 2.6% vs. main code):
    • 1 *.js files (60 LOC)
    • 2 *.sh files (11 LOC)
  • " *.js" is biggest, containing 84.51% of LOC.
  • " *.sh" is smallest, containing 15.49% of LOC.


*.js60 LOC (84%) 1 file
*.sh11 LOC (15%) 2 files
Other Code
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]npmrc".
  • 4 files match defined criteria (139 LOC, 5.0% vs. main code):
    • 2 *.json files (136 LOC)
    • 2 *.properties files (3 LOC)
  • " *.json" is biggest, containing 97.84% of LOC.
  • " *.properties" is smallest, containing 2.16% of LOC.


*.json136 LOC (97%) 2 files
*.properties3 LOC (2%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-09 20:54