guardian / workflow-frontend
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
editorconfig
babelrc
txt
eslintignore
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.

main13949 LOC (76%) 233 files
test492 LOC (2%) 9 files
generated0 LOC (0%) 0 files
build and deployment244 LOC (1%) 7 files
other3440 LOC (18%) 45 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 ".*".
  • 233 files match defined criteria (13,949 LOC, 100.0% vs. main code):
    • 62 *.js files (5,914 LOC)
    • 60 *.scala files (2,852 LOC)
    • 31 *.scss files (2,836 LOC)
    • 67 *.html files (1,783 LOC)
    • 6 *.ts files (313 LOC)
    • 2 *.sbt files (89 LOC)
    • 2 *.tsx files (73 LOC)
    • 1 *.css files (40 LOC)
    • 1 *.xml files (32 LOC)
    • 1 *.yaml files (17 LOC)
  • " *.js" is biggest, containing 42.4% of LOC.
  • " *.yaml" is smallest, containing 0.12% of LOC.


*.js5914 LOC (42%) 62 files
*.scala2852 LOC (20%) 60 files
*.scss2836 LOC (20%) 31 files
*.html1783 LOC (12%) 67 files
*.ts313 LOC (2%) 6 files
*.sbt89 LOC (<1%) 2 files
*.tsx73 LOC (<1%) 2 files
*.css40 LOC (<1%) 1 file
*.xml32 LOC (<1%) 1 file
*.yaml17 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 ".*/karma[.]conf[.]js".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*[.]spec[.]js".
  • 9 files match defined criteria (492 LOC, 3.5% vs. main code):
    • 7 *.scala files (365 LOC)
    • 2 *.js files (127 LOC)
  • " *.scala" is biggest, containing 74.19% of LOC.
  • " *.js" is smallest, containing 25.81% of LOC.


*.scala365 LOC (74%) 7 files
*.js127 LOC (25%) 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]sh".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*([.]|/)webpack([.]|/).*".
  • 7 files match defined criteria (244 LOC, 1.7% vs. main code):
    • 5 *.sh files (133 LOC)
    • 2 *.js files (111 LOC)
  • " *.sh" is biggest, containing 54.51% of LOC.
  • " *.js" is smallest, containing 45.49% of LOC.


*.sh133 LOC (54%) 5 files
*.js111 LOC (45%) 2 files
Other Code
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]editorconfig".
    • files with paths like ".*/[.]eslintignore".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]md".
    • files with paths like ".*[.]json".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]svg".
  • 45 files match defined criteria (3,440 LOC, 24.7% vs. main code):
    • 36 *.svg files (3,142 LOC)
    • 5 *.json files (184 LOC)
    • 3 *.md files (113 LOC)
    • 1 *.properties files (1 LOC)
  • " *.svg" is biggest, containing 91.34% of LOC.
  • " *.properties" is smallest, containing 0.03% of LOC.


*.svg3142 LOC (91%) 36 files
*.json184 LOC (5%) 5 files
*.md113 LOC (3%) 3 files
*.properties1 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-09 20:46