guardian / typerighter
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
npmrc
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.

main12487 LOC (52%) 169 files
test10616 LOC (44%) 33 files
generated0 LOC (0%) 0 files
build and deployment6 LOC (<1%) 1 file
other581 LOC (2%) 19 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 ".*".
  • 169 files match defined criteria (12,487 LOC, 100.0% vs. main code):
    • 77 *.scala files (5,736 LOC)
    • 36 *.tsx files (3,547 LOC)
    • 20 *.ts files (1,423 LOC)
    • 4 *.xml files (735 LOC)
    • 1 *.less files (351 LOC)
    • 17 *.sql files (178 LOC)
    • 2 *.sbt files (168 LOC)
    • 5 *.html files (117 LOC)
    • 1 *.js files (69 LOC)
    • 2 *.css files (67 LOC)
    • 2 *.java files (58 LOC)
    • 1 *.yaml files (30 LOC)
    • 1 *.scss files (8 LOC)
  • " *.scala" is biggest, containing 45.94% of LOC.
  • " *.scss" is smallest, containing 0.06% of LOC.


*.scala5736 LOC (45%) 77 files
*.tsx3547 LOC (28%) 36 files
*.ts1423 LOC (11%) 20 files
*.xml735 LOC (5%) 4 files
*.less351 LOC (2%) 1 file
*.sql178 LOC (1%) 17 files
*.sbt168 LOC (1%) 2 files
*.html117 LOC (<1%) 5 files
*.js69 LOC (<1%) 1 file
*.css67 LOC (<1%) 2 files
*.java58 LOC (<1%) 2 files
*.yaml30 LOC (<1%) 1 file
*.scss8 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[.]ts".
    • 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".
  • 33 files match defined criteria (10,616 LOC, 85.0% vs. main code):
    • 2 *.xml files (4,879 LOC)
    • 24 *.scala files (3,187 LOC)
    • 1 *.snap files (2,354 LOC)
    • 3 *.ts files (183 LOC)
    • 2 *.js files (9 LOC)
    • 1 *.cjs files (4 LOC)
  • " *.xml" is biggest, containing 45.96% of LOC.
  • " *.cjs" is smallest, containing 0.04% of LOC.


*.xml4879 LOC (45%) 2 files
*.scala3187 LOC (30%) 24 files
*.snap2354 LOC (22%) 1 file
*.ts183 LOC (1%) 3 files
*.js9 LOC (<1%) 2 files
*.cjs4 LOC (<1%) 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 ".*[.]sh".
  • 1 file matches defined criteria (6 LOC, 0.0% vs. main code). All matches are in *.sh files.


*.sh6 LOC (100%) 1 file
Other Code
properties
txt
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 ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]npmrc".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 19 files match defined criteria (581 LOC, 4.7% vs. main code):
    • 6 *.md files (326 LOC)
    • 8 *.json files (199 LOC)
    • 2 *.svg files (35 LOC)
    • 2 *.properties files (19 LOC)
    • 1 *.txt files (2 LOC)
  • " *.md" is biggest, containing 56.11% of LOC.
  • " *.txt" is smallest, containing 0.34% of LOC.


*.md326 LOC (56%) 6 files
*.json199 LOC (34%) 8 files
*.svg35 LOC (6%) 2 files
*.properties19 LOC (3%) 2 files
*.txt2 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-09 20:50