aws / aws-sam-build-images
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
csproj
npmignore
mjs
mod
ini
properties
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.

main0 LOC (0%) 0 files
test2508 LOC (65%) 79 files
generated0 LOC (0%) 0 files
build and deployment59 LOC (1%) 1 file
other1285 LOC (33%) 38 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
csproj
mjs
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*_test[.].*".
    • files with paths like ".*[-]test[-].*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/test[.].*".
    • files with paths like ".*/test_.*".
  • 79 files match defined criteria (2,508 LOC, ∞% vs. main code):
    • 21 *.py files (791 LOC)
    • 23 *.yaml files (718 LOC)
    • 7 *.cs files (217 LOC)
    • 4 *.go files (176 LOC)
    • 5 *.java files (163 LOC)
    • 3 *.xml files (150 LOC)
    • 7 *.csproj files (105 LOC)
    • 3 *.mjs files (75 LOC)
    • 1 *.bat files (61 LOC)
    • 3 *.rb files (27 LOC)
    • 1 *.js files (15 LOC)
    • 1 *.gradle files (10 LOC)
  • " *.py" is biggest, containing 31.54% of LOC.
  • " *.gradle" is smallest, containing 0.4% of LOC.


*.py791 LOC (31%) 21 files
*.yaml718 LOC (28%) 23 files
*.cs217 LOC (8%) 7 files
*.go176 LOC (7%) 4 files
*.java163 LOC (6%) 5 files
*.xml150 LOC (5%) 3 files
*.csproj105 LOC (4%) 7 files
*.mjs75 LOC (2%) 3 files
*.bat61 LOC (2%) 1 file
*.rb27 LOC (1%) 3 files
*.js15 LOC (<1%) 1 file
*.gradle10 LOC (<1%) 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 ".*/pom[.]xml".
    • files with paths like ".*[.]csproj".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*[.]gradle".
    • files with paths like ".*[.]bat".
    • files with paths like ".*[.]sh".
  • 1 file matches defined criteria (59 LOC, ∞% vs. main code). All matches are in *.sh files.


*.sh59 LOC (100%) 1 file
Other Code
ini
txt
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 ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]npmignore".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/go[.]mod".
    • files with paths like ".*[.]ini".
  • 38 files match defined criteria (1,285 LOC, ∞% vs. main code):
    • 25 *.json files (1,190 LOC)
    • 3 *.md files (47 LOC)
    • 1 *.ini files (27 LOC)
    • 7 *.txt files (15 LOC)
    • 2 *.mod files (6 LOC)
  • " *.json" is biggest, containing 92.61% of LOC.
  • " *.mod" is smallest, containing 0.47% of LOC.


*.json1190 LOC (92%) 25 files
*.md47 LOC (3%) 3 files
*.ini27 LOC (2%) 1 file
*.txt15 LOC (1%) 7 files
*.mod6 LOC (<1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-04 00:35