aws / session-manager-plugin
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
spec
txt
plist
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.

main4059 LOC (47%) 50 files
test3500 LOC (40%) 22 files
generated0 LOC (0%) 0 files
build and deployment799 LOC (9%) 19 files
other246 LOC (2%) 6 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
spec
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 50 files match defined criteria (4,059 LOC, 100.0% vs. main code):
    • 47 *.go files (3,944 LOC)
    • 2 *.spec files (99 LOC)
    • 1 *.xml files (16 LOC)
  • " *.go" is biggest, containing 97.17% of LOC.
  • " *.xml" is smallest, containing 0.39% of LOC.


*.go3944 LOC (97%) 47 files
*.spec99 LOC (2%) 2 files
*.xml16 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 ".*_test[.].*".
    • files with paths like ".*/mock[a-zA-Z0-9_\- ]+/.*".
    • files with paths like ".*/[Mm]ocks/.*".
    • files with paths like ".*/test_.*".
  • 22 files match defined criteria (3,500 LOC, 86.2% vs. main code). All matches are in *.go files.


*.go3500 LOC (100%) 22 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 ".*[.]sh".
    • files with paths like ".*[.]bat".
  • 19 files match defined criteria (799 LOC, 19.7% vs. main code):
    • 17 *.sh files (689 LOC)
    • 2 *.bat files (110 LOC)
  • " *.sh" is biggest, containing 86.23% of LOC.
  • " *.bat" is smallest, containing 13.77% of LOC.


*.sh689 LOC (86%) 17 files
*.bat110 LOC (13%) 2 files
Other Code
plist
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 ".*/checkstyle.*".
    • files with paths like ".*[.]plist".
  • 6 files match defined criteria (246 LOC, 6.1% vs. main code):
    • 4 *.md files (213 LOC)
    • 1 *.sh files (26 LOC)
    • 1 *.plist files (7 LOC)
  • " *.md" is biggest, containing 86.59% of LOC.
  • " *.plist" is smallest, containing 2.85% of LOC.


*.md213 LOC (86%) 4 files
*.sh26 LOC (10%) 1 file
*.plist7 LOC (2%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-04 00:36