aws / credentials-fetcher
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
04
in
clang-format
spec
csproj
proto
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.

main9547 LOC (74%) 42 files
test2109 LOC (16%) 16 files
generated0 LOC (0%) 0 files
build and deployment194 LOC (1%) 9 files
other1050 LOC (8%) 29 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
spec
04
proto
in
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 42 files match defined criteria (9,547 LOC, 100.0% vs. main code):
    • 17 *.h files (4,032 LOC)
    • 6 *.cpp files (3,210 LOC)
    • 1 *.hpp files (773 LOC)
    • 2 *.c files (570 LOC)
    • 7 *.py files (544 LOC)
    • 1 *.spec files (138 LOC)
    • 2 *.04 files (76 LOC)
    • 1 *.proto files (76 LOC)
    • 2 *.ps1 files (54 LOC)
    • 1 *.java files (47 LOC)
    • 1 *.cs files (14 LOC)
    • 1 *.in files (13 LOC)
  • " *.h" is biggest, containing 42.23% of LOC.
  • " *.in" is smallest, containing 0.14% of LOC.


*.h4032 LOC (42%) 17 files
*.cpp3210 LOC (33%) 6 files
*.hpp773 LOC (8%) 1 file
*.c570 LOC (5%) 2 files
*.py544 LOC (5%) 7 files
*.spec138 LOC (1%) 1 file
*.0476 LOC (<1%) 2 files
*.proto76 LOC (<1%) 1 file
*.ps154 LOC (<1%) 2 files
*.java47 LOC (<1%) 1 file
*.cs14 LOC (<1%) 1 file
*.in13 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]ests/.*".
    • files with paths like ".*_test[.].*".
    • files with paths like ".*/[Tt]est/.*".
  • 16 files match defined criteria (2,109 LOC, 22.1% vs. main code):
    • 5 *.cpp files (1,067 LOC)
    • 8 *.py files (843 LOC)
    • 2 *.ps1 files (184 LOC)
    • 1 *.sh files (15 LOC)
  • " *.cpp" is biggest, containing 50.59% of LOC.
  • " *.sh" is smallest, containing 0.71% of LOC.


*.cpp1067 LOC (50%) 5 files
*.py843 LOC (39%) 8 files
*.ps1184 LOC (8%) 2 files
*.sh15 LOC (<1%) 1 file
Build and Deployment Code
Source code used to configure or support build and deployment process.
csproj
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]bat".
    • files with paths like ".*[.]csproj".
  • 9 files match defined criteria (194 LOC, 2.0% vs. main code):
    • 7 *.sh files (172 LOC)
    • 1 *.bat files (11 LOC)
    • 1 *.csproj files (11 LOC)
  • " *.sh" is biggest, containing 88.66% of LOC.
  • " *.csproj" is smallest, containing 5.67% of LOC.


*.sh172 LOC (88%) 7 files
*.bat11 LOC (5%) 1 file
*.csproj11 LOC (5%) 1 file
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 ".*[.]txt".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
  • 29 files match defined criteria (1,050 LOC, 11.0% vs. main code):
    • 7 *.md files (471 LOC)
    • 15 *.txt files (348 LOC)
    • 7 *.json files (231 LOC)
  • " *.md" is biggest, containing 44.86% of LOC.
  • " *.json" is smallest, containing 22% of LOC.


*.md471 LOC (44%) 7 files
*.txt348 LOC (33%) 15 files
*.json231 LOC (22%) 7 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-04 00:45