guardian / riff-raff
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
coffee
txt
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.

main22082 LOC (70%) 237 files
test8975 LOC (28%) 63 files
generated0 LOC (0%) 0 files
build and deployment109 LOC (<1%) 1 file
other280 LOC (<1%) 9 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
coffee
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 237 files match defined criteria (22,082 LOC, 100.0% vs. main code):
    • 147 *.scala files (16,651 LOC)
    • 2 *.js files (2,162 LOC)
    • 60 *.html files (1,919 LOC)
    • 16 *.coffee files (521 LOC)
    • 1 *.css files (310 LOC)
    • 2 *.less files (307 LOC)
    • 2 *.sbt files (96 LOC)
    • 4 *.sql files (49 LOC)
    • 2 *.xml files (48 LOC)
    • 1 *.yaml files (19 LOC)
  • " *.scala" is biggest, containing 75.41% of LOC.
  • " *.yaml" is smallest, containing 0.09% of LOC.


*.scala16651 LOC (75%) 147 files
*.js2162 LOC (9%) 2 files
*.html1919 LOC (8%) 60 files
*.coffee521 LOC (2%) 16 files
*.css310 LOC (1%) 1 file
*.less307 LOC (1%) 2 files
*.sbt96 LOC (<1%) 2 files
*.sql49 LOC (<1%) 4 files
*.xml48 LOC (<1%) 2 files
*.yaml19 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]est/.*".
  • 63 files match defined criteria (8,975 LOC, 40.6% vs. main code):
    • 56 *.scala files (8,789 LOC)
    • 6 *.html files (172 LOC)
    • 1 *.xml files (14 LOC)
  • " *.scala" is biggest, containing 97.93% of LOC.
  • " *.xml" is smallest, containing 0.16% of LOC.


*.scala8789 LOC (97%) 56 files
*.html172 LOC (1%) 6 files
*.xml14 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]sh".
  • 1 file matches defined criteria (109 LOC, 0.5% vs. main code). All matches are in *.sh files.


*.sh109 LOC (100%) 1 file
Other Code
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]md".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[Dd]ocumentation/.*".
  • 9 files match defined criteria (280 LOC, 1.3% vs. main code):
    • 1 *.json files (101 LOC)
    • 4 *.html files (88 LOC)
    • 2 *.md files (77 LOC)
    • 1 *.txt files (13 LOC)
    • 1 *.properties files (1 LOC)
  • " *.json" is biggest, containing 36.07% of LOC.
  • " *.properties" is smallest, containing 0.36% of LOC.


*.json101 LOC (36%) 1 file
*.html88 LOC (31%) 4 files
*.md77 LOC (27%) 2 files
*.txt13 LOC (4%) 1 file
*.properties1 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-09 20:42