GoogleCloudPlatform / tag-automator
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
sass
txt
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.

main1674 LOC (80%) 44 files
test76 LOC (3%) 4 files
generated0 LOC (0%) 0 files
build and deployment65 LOC (3%) 4 files
other272 LOC (13%) 9 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
sass
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 44 files match defined criteria (1,674 LOC, 100.0% vs. main code):
    • 18 *.ts files (1,001 LOC)
    • 9 *.html files (286 LOC)
    • 5 *.py files (255 LOC)
    • 1 *.css files (55 LOC)
    • 7 *.sass files (51 LOC)
    • 4 *.yaml files (26 LOC)
  • " *.ts" is biggest, containing 59.8% of LOC.
  • " *.yaml" is smallest, containing 1.55% of LOC.


*.ts1001 LOC (59%) 18 files
*.html286 LOC (17%) 9 files
*.py255 LOC (15%) 5 files
*.css55 LOC (3%) 1 file
*.sass51 LOC (3%) 7 files
*.yaml26 LOC (1%) 4 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 ".*[.]spec[.]ts".
  • 4 files match defined criteria (76 LOC, 4.5% vs. main code). All matches are in *.ts files.


*.ts76 LOC (100%) 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 ".*/package[.]json".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 4 files match defined criteria (65 LOC, 3.9% vs. main code). All matches are in *.sh files.


*.sh65 LOC (100%) 4 files
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
  • 9 files match defined criteria (272 LOC, 16.2% vs. main code):
    • 6 *.json files (185 LOC)
    • 2 *.md files (84 LOC)
    • 1 *.txt files (3 LOC)
  • " *.json" is biggest, containing 68.01% of LOC.
  • " *.txt" is smallest, containing 1.1% of LOC.


*.json185 LOC (68%) 6 files
*.md84 LOC (30%) 2 files
*.txt3 LOC (1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-04 16:06