epam / gcp-bank-of-anthos
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
in
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.

main10777 LOC (57%) 224 files
test540 LOC (2%) 8 files
generated0 LOC (0%) 0 files
build and deployment1427 LOC (7%) 17 files
other5855 LOC (31%) 84 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
in
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 224 files match defined criteria (10,777 LOC, 100.0% vs. main code):
    • 151 *.yaml files (6,728 LOC)
    • 28 *.tf files (1,256 LOC)
    • 12 *.py files (1,171 LOC)
    • 9 *.html files (820 LOC)
    • 8 *.css files (415 LOC)
    • 4 *.in files (116 LOC)
    • 3 *.js files (95 LOC)
    • 4 *.xml files (68 LOC)
    • 3 *.sql files (67 LOC)
    • 2 *.tfvars files (41 LOC)
  • " *.yaml" is biggest, containing 62.43% of LOC.
  • " *.tfvars" is smallest, containing 0.38% of LOC.


*.yaml6728 LOC (62%) 151 files
*.tf1256 LOC (11%) 28 files
*.py1171 LOC (10%) 12 files
*.html820 LOC (7%) 9 files
*.css415 LOC (3%) 8 files
*.in116 LOC (1%) 4 files
*.js95 LOC (<1%) 3 files
*.xml68 LOC (<1%) 4 files
*.sql67 LOC (<1%) 3 files
*.tfvars41 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 ".*[-]tests/.*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*/test_.*".
  • 8 files match defined criteria (540 LOC, 5.0% vs. main code). All matches are in *.py files.


*.py540 LOC (100%) 8 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 ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 17 files match defined criteria (1,427 LOC, 13.2% vs. main code):
    • 5 *.xml files (816 LOC)
    • 12 *.sh files (611 LOC)
  • " *.xml" is biggest, containing 57.18% of LOC.
  • " *.sh" is smallest, containing 42.82% of LOC.


*.xml816 LOC (57%) 5 files
*.sh611 LOC (42%) 12 files
Other Code
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/checkstyle[.]xml".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*/[.]dockerignore".
    • files with paths like ".*[.]svg".
  • 84 files match defined criteria (5,855 LOC, 54.3% vs. main code):
    • 35 *.java files (2,895 LOC)
    • 32 *.md files (1,356 LOC)
    • 7 *.txt files (719 LOC)
    • 1 *.json files (537 LOC)
    • 4 *.xml files (271 LOC)
    • 4 *.properties files (62 LOC)
    • 1 *.svg files (15 LOC)
  • " *.java" is biggest, containing 49.44% of LOC.
  • " *.svg" is smallest, containing 0.26% of LOC.


*.java2895 LOC (49%) 35 files
*.md1356 LOC (23%) 32 files
*.txt719 LOC (12%) 7 files
*.json537 LOC (9%) 1 file
*.xml271 LOC (4%) 4 files
*.properties62 LOC (1%) 4 files
*.svg15 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-01-10 14:20