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

main6084 LOC (46%) 68 files
test748 LOC (5%) 10 files
generated0 LOC (0%) 0 files
build and deployment96 LOC (<1%) 4 files
other6134 LOC (46%) 11 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 ".*".
  • 68 files match defined criteria (6,084 LOC, 100.0% vs. main code):
    • 32 *.tsx files (3,464 LOC)
    • 19 *.ts files (1,425 LOC)
    • 4 *.xml files (412 LOC)
    • 5 *.jsx files (321 LOC)
    • 3 *.css files (242 LOC)
    • 3 *.py files (196 LOC)
    • 2 *.html files (24 LOC)
  • " *.tsx" is biggest, containing 56.94% of LOC.
  • " *.html" is smallest, containing 0.39% of LOC.


*.tsx3464 LOC (56%) 32 files
*.ts1425 LOC (23%) 19 files
*.xml412 LOC (6%) 4 files
*.jsx321 LOC (5%) 5 files
*.css242 LOC (3%) 3 files
*.py196 LOC (3%) 3 files
*.html24 LOC (<1%) 2 files
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 ".*__tests__.*".
  • 10 files match defined criteria (748 LOC, 12.3% vs. main code):
    • 6 *.tsx files (482 LOC)
    • 4 *.ts files (266 LOC)
  • " *.tsx" is biggest, containing 64.44% of LOC.
  • " *.ts" is smallest, containing 35.56% of LOC.


*.tsx482 LOC (64%) 6 files
*.ts266 LOC (35%) 4 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 ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*([.]|/)webpack([.]|/).*".
    • files with paths like ".*/package[.]json".
  • 4 files match defined criteria (96 LOC, 1.6% vs. main code):
    • 1 *.js files (68 LOC)
    • 3 *.sh files (28 LOC)
  • " *.js" is biggest, containing 70.83% of LOC.
  • " *.sh" is smallest, containing 29.17% of LOC.


*.js68 LOC (70%) 1 file
*.sh28 LOC (29%) 3 files
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]npmrc".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
  • 11 files match defined criteria (6,134 LOC, 100.8% vs. main code):
    • 9 *.json files (6,057 LOC)
    • 1 *.md files (76 LOC)
    • 1 *.txt files (1 LOC)
  • " *.json" is biggest, containing 98.74% of LOC.
  • " *.txt" is smallest, containing 0.02% of LOC.


*.json6057 LOC (98%) 9 files
*.md76 LOC (1%) 1 file
*.txt1 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-09 20:55