DeloitteAU / rhythm-ui
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
babelrc
hbs
mdx
txt
editorconfig
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.

main8185 LOC (64%) 198 files
test898 LOC (7%) 20 files
generated0 LOC (0%) 0 files
build and deployment0 LOC (0%) 0 files
other3670 LOC (28%) 126 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
hbs
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 198 files match defined criteria (8,185 LOC, 100.0% vs. main code):
    • 60 *.ts files (3,460 LOC)
    • 96 *.tsx files (2,836 LOC)
    • 10 *.css files (796 LOC)
    • 11 *.js files (666 LOC)
    • 19 *.hbs files (319 LOC)
    • 1 *.html files (76 LOC)
    • 1 *.vue files (32 LOC)
  • " *.ts" is biggest, containing 42.27% of LOC.
  • " *.vue" is smallest, containing 0.39% of LOC.


*.ts3460 LOC (42%) 60 files
*.tsx2836 LOC (34%) 96 files
*.css796 LOC (9%) 10 files
*.js666 LOC (8%) 11 files
*.hbs319 LOC (3%) 19 files
*.html76 LOC (<1%) 1 file
*.vue32 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
hbs
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
    • files with paths like ".*/karma[.]conf[.]js".
  • 20 files match defined criteria (898 LOC, 11.0% vs. main code):
    • 14 *.ts files (792 LOC)
    • 3 *.js files (73 LOC)
    • 2 *.hbs files (23 LOC)
    • 1 *.html files (10 LOC)
  • " *.ts" is biggest, containing 88.2% of LOC.
  • " *.html" is smallest, containing 1.11% of LOC.


*.ts792 LOC (88%) 14 files
*.js73 LOC (8%) 3 files
*.hbs23 LOC (2%) 2 files
*.html10 LOC (1%) 1 file
Other Code
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*[.]json".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]mdx".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]editorconfig".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]eslintignore".
    • files with paths like ".*[.]txt".
  • 126 files match defined criteria (3,670 LOC, 44.8% vs. main code):
    • 36 *.md files (2,050 LOC)
    • 86 *.json files (1,598 LOC)
    • 1 *.svg files (19 LOC)
    • 3 *.css files (3 LOC)
  • " *.md" is biggest, containing 55.86% of LOC.
  • " *.css" is smallest, containing 0.08% of LOC.


*.md2050 LOC (55%) 36 files
*.json1598 LOC (43%) 86 files
*.svg19 LOC (<1%) 1 file
*.css3 LOC (<1%) 3 files
Analyzers
Info about analyzers used for source code examinations.


2025-01-17 11:50