GoogleCloudPlatform / reporting-api-processor
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
proto
mod
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.

main1779 LOC (47%) 27 files
test0 LOC (0%) 0 files
generated0 LOC (0%) 0 files
build and deployment448 LOC (11%) 3 files
other1532 LOC (40%) 4 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
proto
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 27 files match defined criteria (1,779 LOC, 100.0% vs. main code):
    • 5 *.go files (931 LOC)
    • 14 *.java files (493 LOC)
    • 7 *.proto files (294 LOC)
    • 1 *.yaml files (61 LOC)
  • " *.go" is biggest, containing 52.33% of LOC.
  • " *.yaml" is smallest, containing 3.43% of LOC.


*.go931 LOC (52%) 5 files
*.java493 LOC (27%) 14 files
*.proto294 LOC (16%) 7 files
*.yaml61 LOC (3%) 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 ".*/pom[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 3 files match defined criteria (448 LOC, 25.2% vs. main code):
    • 1 *.xml files (432 LOC)
    • 2 *.sh files (16 LOC)
  • " *.xml" is biggest, containing 96.43% of LOC.
  • " *.sh" is smallest, containing 3.57% of LOC.


*.xml432 LOC (96%) 1 file
*.sh16 LOC (3%) 2 files
Other Code
mod
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 ".*/go[.]mod".
    • files with paths like ".*/[.]gitignore".
  • 4 files match defined criteria (1,532 LOC, 86.1% vs. main code):
    • 1 *.json files (1,340 LOC)
    • 2 *.md files (151 LOC)
    • 1 *.mod files (41 LOC)
  • " *.json" is biggest, containing 87.47% of LOC.
  • " *.mod" is smallest, containing 2.68% of LOC.


*.json1340 LOC (87%) 1 file
*.md151 LOC (9%) 2 files
*.mod41 LOC (2%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-04 16:00