guardian / pinboard
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
eslintignore
snap
prettierignore
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.

main13861 LOC (67%) 163 files
test5775 LOC (28%) 10 files
generated0 LOC (0%) 0 files
build and deployment199 LOC (<1%) 6 files
other778 LOC (3%) 56 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 ".*".
  • 163 files match defined criteria (13,861 LOC, 100.0% vs. main code):
    • 52 *.tsx files (8,272 LOC)
    • 78 *.ts files (4,879 LOC)
    • 2 *.html files (210 LOC)
    • 2 *.graphql files (175 LOC)
    • 21 *.sql files (150 LOC)
    • 2 *.yaml files (119 LOC)
    • 6 *.js files (56 LOC)
  • " *.tsx" is biggest, containing 59.68% of LOC.
  • " *.js" is smallest, containing 0.4% of LOC.


*.tsx8272 LOC (59%) 52 files
*.ts4879 LOC (35%) 78 files
*.html210 LOC (1%) 2 files
*.graphql175 LOC (1%) 2 files
*.sql150 LOC (1%) 21 files
*.yaml119 LOC (<1%) 2 files
*.js56 LOC (<1%) 6 files
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 ".*/jest[.][a-zA-Z0-9\.]+".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
    • files with paths like ".*[.]snap".
  • 10 files match defined criteria (5,775 LOC, 41.7% vs. main code):
    • 1 *.snap files (5,480 LOC)
    • 4 *.ts files (205 LOC)
    • 5 *.js files (90 LOC)
  • " *.snap" is biggest, containing 94.89% of LOC.
  • " *.js" is smallest, containing 1.56% of LOC.


*.snap5480 LOC (94%) 1 file
*.ts205 LOC (3%) 4 files
*.js90 LOC (1%) 5 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 ".*/package[.]json".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]sh".
    • files with paths like ".*([.]|/)webpack([.]|/).*".
  • 6 files match defined criteria (199 LOC, 1.4% vs. main code):
    • 2 *.js files (132 LOC)
    • 4 *.sh files (67 LOC)
  • " *.js" is biggest, containing 66.33% of LOC.
  • " *.sh" is smallest, containing 33.67% of LOC.


*.js132 LOC (66%) 2 files
*.sh67 LOC (33%) 4 files
Other Code
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 ".*/[.]eslintignore".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/[.]prettierignore".
  • 56 files match defined criteria (778 LOC, 5.6% vs. main code):
    • 27 *.json files (550 LOC)
    • 12 *.md files (163 LOC)
    • 17 *.svg files (65 LOC)
  • " *.json" is biggest, containing 70.69% of LOC.
  • " *.svg" is smallest, containing 8.35% of LOC.


*.json550 LOC (70%) 27 files
*.md163 LOC (20%) 12 files
*.svg65 LOC (8%) 17 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-09 20:53