guardian / fibre-census
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
plist
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.

main7633 LOC (70%) 109 files
test295 LOC (2%) 4 files
generated0 LOC (0%) 0 files
build and deployment99 LOC (<1%) 5 files
other2836 LOC (26%) 7 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 ".*".
  • 109 files match defined criteria (7,633 LOC, 100.0% vs. main code):
    • 13 *.scss files (1,745 LOC)
    • 13 *.less files (1,745 LOC)
    • 31 *.jsx files (1,660 LOC)
    • 28 *.scala files (1,105 LOC)
    • 1 *.pl files (357 LOC)
    • 8 *.yaml files (334 LOC)
    • 1 *.css files (229 LOC)
    • 2 *.tsx files (176 LOC)
    • 4 *.ts files (141 LOC)
    • 2 *.sbt files (42 LOC)
    • 2 *.html files (36 LOC)
    • 3 *.js files (32 LOC)
    • 1 *.xml files (31 LOC)
  • " *.scss" is biggest, containing 22.86% of LOC.
  • " *.xml" is smallest, containing 0.41% of LOC.


*.scss1745 LOC (22%) 13 files
*.less1745 LOC (22%) 13 files
*.jsx1660 LOC (21%) 31 files
*.scala1105 LOC (14%) 28 files
*.pl357 LOC (4%) 1 file
*.yaml334 LOC (4%) 8 files
*.css229 LOC (3%) 1 file
*.tsx176 LOC (2%) 2 files
*.ts141 LOC (1%) 4 files
*.sbt42 LOC (<1%) 2 files
*.html36 LOC (<1%) 2 files
*.js32 LOC (<1%) 3 files
*.xml31 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 ".*/[Tt]est/.*".
  • 4 files match defined criteria (295 LOC, 3.9% vs. main code):
    • 3 *.scala files (257 LOC)
    • 1 *.pl files (38 LOC)
  • " *.scala" is biggest, containing 87.12% of LOC.
  • " *.pl" is smallest, containing 12.88% of LOC.


*.scala257 LOC (87%) 3 files
*.pl38 LOC (12%) 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([.]|/).*".
  • 5 files match defined criteria (99 LOC, 1.3% vs. main code):
    • 1 *.js files (54 LOC)
    • 4 *.sh files (45 LOC)
  • " *.js" is biggest, containing 54.55% of LOC.
  • " *.sh" is smallest, containing 45.45% of LOC.


*.js54 LOC (54%) 1 file
*.sh45 LOC (45%) 4 files
Other Code
plist
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]plist".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]json".
  • 7 files match defined criteria (2,836 LOC, 37.2% vs. main code):
    • 2 *.svg files (2,720 LOC)
    • 2 *.json files (84 LOC)
    • 1 *.plist files (26 LOC)
    • 1 *.txt files (5 LOC)
    • 1 *.properties files (1 LOC)
  • " *.svg" is biggest, containing 95.91% of LOC.
  • " *.properties" is smallest, containing 0.04% of LOC.


*.svg2720 LOC (95%) 2 files
*.json84 LOC (2%) 2 files
*.plist26 LOC (<1%) 1 file
*.txt5 LOC (<1%) 1 file
*.properties1 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-09 20:50