GoogleCloudPlatform / appengine-plugins
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
properties
txt
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.

main10296 LOC (38%) 214 files
test11936 LOC (45%) 180 files
generated0 LOC (0%) 0 files
build and deployment1288 LOC (4%) 7 files
other2923 LOC (11%) 30 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 ".*".
  • 214 files match defined criteria (10,296 LOC, 100.0% vs. main code):
    • 193 *.java files (9,994 LOC)
    • 2 *.kts files (195 LOC)
    • 12 *.xml files (83 LOC)
    • 6 *.yaml files (14 LOC)
    • 1 *.jsp files (10 LOC)
  • " *.java" is biggest, containing 97.07% of LOC.
  • " *.jsp" is smallest, containing 0.1% of LOC.


*.java9994 LOC (97%) 193 files
*.kts195 LOC (1%) 2 files
*.xml83 LOC (<1%) 12 files
*.yaml14 LOC (<1%) 6 files
*.jsp10 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/.*".
  • 180 files match defined criteria (11,936 LOC, 115.9% vs. main code):
    • 144 *.java files (11,462 LOC)
    • 17 *.xml files (297 LOC)
    • 13 *.gradle files (163 LOC)
    • 6 *.yaml files (14 LOC)
  • " *.java" is biggest, containing 96.03% of LOC.
  • " *.yaml" is smallest, containing 0.12% of LOC.


*.java11462 LOC (96%) 144 files
*.xml297 LOC (2%) 17 files
*.gradle163 LOC (1%) 13 files
*.yaml14 LOC (<1%) 6 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 ".*/pom[.]xml".
    • files with paths like ".*[.]gradle".
    • files with paths like ".*[.]bat".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]sh".
  • 7 files match defined criteria (1,288 LOC, 12.5% vs. main code):
    • 3 *.xml files (1,183 LOC)
    • 1 *.bat files (61 LOC)
    • 3 *.gradle files (44 LOC)
  • " *.xml" is biggest, containing 91.85% of LOC.
  • " *.gradle" is smallest, containing 3.42% of LOC.


*.xml1183 LOC (91%) 3 files
*.bat61 LOC (4%) 1 file
*.gradle44 LOC (3%) 3 files
Other Code
properties
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]properties".
    • 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 ".*/checkstyle.*".
  • 30 files match defined criteria (2,923 LOC, 28.4% vs. main code):
    • 15 *.md files (1,744 LOC)
    • 2 *.json files (1,004 LOC)
    • 6 *.properties files (100 LOC)
    • 4 *.xml files (47 LOC)
    • 3 *.txt files (28 LOC)
  • " *.md" is biggest, containing 59.66% of LOC.
  • " *.txt" is smallest, containing 0.96% of LOC.


*.md1744 LOC (59%) 15 files
*.json1004 LOC (34%) 2 files
*.properties100 LOC (3%) 6 files
*.xml47 LOC (1%) 4 files
*.txt28 LOC (<1%) 3 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-04 14:24