guardian / giant
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
snap
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.

main37043 LOC (67%) 573 files
test5751 LOC (10%) 65 files
generated5674 LOC (10%) 1 file
build and deployment253 LOC (<1%) 13 files
other6465 LOC (11%) 22 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 ".*".
  • 573 files match defined criteria (37,043 LOC, 100.0% vs. main code):
    • 233 *.scala files (15,562 LOC)
    • 72 *.tsx files (7,319 LOC)
    • 121 *.js files (6,791 LOC)
    • 87 *.ts files (4,202 LOC)
    • 43 *.scss files (2,594 LOC)
    • 2 *.sbt files (194 LOC)
    • 7 *.css files (154 LOC)
    • 3 *.xml files (113 LOC)
    • 1 *.yaml files (60 LOC)
    • 1 *.html files (25 LOC)
    • 2 *.sql files (20 LOC)
    • 1 *.java files (9 LOC)
  • " *.scala" is biggest, containing 42.01% of LOC.
  • " *.java" is smallest, containing 0.02% of LOC.


*.scala15562 LOC (42%) 233 files
*.tsx7319 LOC (19%) 72 files
*.js6791 LOC (18%) 121 files
*.ts4202 LOC (11%) 87 files
*.scss2594 LOC (7%) 43 files
*.sbt194 LOC (<1%) 2 files
*.css154 LOC (<1%) 7 files
*.xml113 LOC (<1%) 3 files
*.yaml60 LOC (<1%) 1 file
*.html25 LOC (<1%) 1 file
*.sql20 LOC (<1%) 2 files
*.java9 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
snap
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*[.]spec[.]tsx".
    • files with paths like ".*[.]spec[.]ts".
    • files with paths like ".*[.]spec[.]js".
    • files with paths like ".*/jest[.][a-zA-Z0-9\.]+".
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
    • files with paths like ".*[.]snap".
  • 65 files match defined criteria (5,751 LOC, 15.5% vs. main code):
    • 51 *.scala files (5,147 LOC)
    • 2 *.tsx files (238 LOC)
    • 6 *.js files (233 LOC)
    • 4 *.ts files (103 LOC)
    • 1 *.xml files (21 LOC)
    • 1 *.snap files (9 LOC)
  • " *.scala" is biggest, containing 89.5% of LOC.
  • " *.snap" is smallest, containing 0.16% of LOC.


*.scala5147 LOC (89%) 51 files
*.tsx238 LOC (4%) 2 files
*.js233 LOC (4%) 6 files
*.ts103 LOC (1%) 4 files
*.xml21 LOC (<1%) 1 file
*.snap9 LOC (<1%) 1 file
Generated Code
Automatically generated files, not manually changed after generation.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/package[-]lock[.]json".
  • 1 file matches defined criteria (5,674 LOC, 15.3% vs. main code). All matches are in *.json files.


*.json5674 LOC (100%) 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 ".*/package[-]lock[.]json".
  • 13 files match defined criteria (253 LOC, 0.7% vs. main code). All matches are in *.sh files.


*.sh253 LOC (100%) 13 files
Other Code
txt
properties
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 ".*/[.]gitignore".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/vendor/.*".
    • files with paths like ".*[.]svg".
  • 22 files match defined criteria (6,465 LOC, 17.5% vs. main code):
    • 10 *.json files (6,222 LOC)
    • 4 *.md files (233 LOC)
    • 7 *.txt files (9 LOC)
    • 1 *.properties files (1 LOC)
  • " *.json" is biggest, containing 96.24% of LOC.
  • " *.properties" is smallest, containing 0.02% of LOC.


*.json6222 LOC (96%) 10 files
*.md233 LOC (3%) 4 files
*.txt9 LOC (<1%) 7 files
*.properties1 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-09 20:54