GoogleCloudPlatform / jit-groups
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
properties
cmd
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.

main14353 LOC (52%) 158 files
test12522 LOC (45%) 105 files
generated0 LOC (0%) 0 files
build and deployment165 LOC (<1%) 1 file
other321 LOC (1%) 5 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 ".*".
  • 158 files match defined criteria (14,353 LOC, 100.0% vs. main code):
    • 146 *.java files (11,443 LOC)
    • 5 *.html files (1,133 LOC)
    • 2 *.js files (719 LOC)
    • 3 *.tf files (611 LOC)
    • 1 *.css files (282 LOC)
    • 1 *.yaml files (165 LOC)
  • " *.java" is biggest, containing 79.73% of LOC.
  • " *.yaml" is smallest, containing 1.15% of LOC.


*.java11443 LOC (79%) 146 files
*.html1133 LOC (7%) 5 files
*.js719 LOC (5%) 2 files
*.tf611 LOC (4%) 3 files
*.css282 LOC (1%) 1 file
*.yaml165 LOC (1%) 1 file
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 ".*/[Tt]est/.*".
  • 105 files match defined criteria (12,522 LOC, 87.2% vs. main code). All matches are in *.java files.


*.java12522 LOC (100%) 105 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 ".*/pom[.]xml".
  • 1 file matches defined criteria (165 LOC, 1.1% vs. main code). All matches are in *.xml files.


*.xml165 LOC (100%) 1 file
Other Code
txt
properties
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 ".*[.]properties".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 5 files match defined criteria (321 LOC, 2.2% vs. main code):
    • 1 *.txt files (170 LOC)
    • 2 *.md files (106 LOC)
    • 2 *.properties files (45 LOC)
  • " *.txt" is biggest, containing 52.96% of LOC.
  • " *.properties" is smallest, containing 14.02% of LOC.


*.txt170 LOC (52%) 1 file
*.md106 LOC (33%) 2 files
*.properties45 LOC (14%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-04 15:44