GoogleCloudPlatform / medical-imaging
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
in
proto
ddl
editorconfig
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.

main53765 LOC (38%) 382 files
test49737 LOC (35%) 140 files
generated0 LOC (0%) 0 files
build and deployment12 LOC (<1%) 3 files
other36143 LOC (25%) 69 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
proto
in
ddl
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 382 files match defined criteria (53,765 LOC, 100.0% vs. main code):
    • 164 *.py files (33,058 LOC)
    • 82 *.ts files (12,385 LOC)
    • 30 *.scss files (2,674 LOC)
    • 11 *.proto files (2,015 LOC)
    • 28 *.html files (1,827 LOC)
    • 42 *.tf files (1,439 LOC)
    • 13 *.in files (184 LOC)
    • 10 *.yaml files (99 LOC)
    • 2 *.ddl files (84 LOC)
  • " *.py" is biggest, containing 61.49% of LOC.
  • " *.ddl" is smallest, containing 0.16% of LOC.


*.py33058 LOC (61%) 164 files
*.ts12385 LOC (23%) 82 files
*.scss2674 LOC (4%) 30 files
*.proto2015 LOC (3%) 11 files
*.html1827 LOC (3%) 28 files
*.tf1439 LOC (2%) 42 files
*.in184 LOC (<1%) 13 files
*.yaml99 LOC (<1%) 10 files
*.ddl84 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 ".*_test[.].*".
    • files with paths like ".*/test_.*".
    • files with paths like ".*_mock[.][a-zA-Z0-9_\-]+".
  • 140 files match defined criteria (49,737 LOC, 92.5% vs. main code):
    • 131 *.py files (48,413 LOC)
    • 9 *.xml files (1,324 LOC)
  • " *.py" is biggest, containing 97.34% of LOC.
  • " *.xml" is smallest, containing 2.66% of LOC.


*.py48413 LOC (97%) 131 files
*.xml1324 LOC (2%) 9 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*[.]sh".
  • 3 files match defined criteria (12 LOC, 0.0% vs. main code). All matches are in *.sh files.


*.sh12 LOC (100%) 3 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 ".*/[.]gitignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]editorconfig".
    • files with paths like ".*/[.]dockerignore".
  • 69 files match defined criteria (36,143 LOC, 67.2% vs. main code):
    • 36 *.json files (22,840 LOC)
    • 19 *.txt files (11,958 LOC)
    • 14 *.md files (1,345 LOC)
  • " *.json" is biggest, containing 63.19% of LOC.
  • " *.md" is smallest, containing 3.72% of LOC.


*.json22840 LOC (63%) 36 files
*.txt11958 LOC (33%) 19 files
*.md1345 LOC (3%) 14 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-04 16:01