aws / aws-dynamodb-encryption-python
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
ini
cfg
in
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.

main3166 LOC (18%) 47 files
test3511 LOC (20%) 64 files
generated0 LOC (0%) 0 files
build and deployment0 LOC (0%) 0 files
other10249 LOC (60%) 95 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
cfg
in
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 47 files match defined criteria (3,166 LOC, 100.0% vs. main code):
    • 44 *.py files (3,084 LOC)
    • 2 *.cfg files (72 LOC)
    • 1 *.in files (10 LOC)
  • " *.py" is biggest, containing 97.41% of LOC.
  • " *.in" is smallest, containing 0.32% of LOC.


*.py3084 LOC (97%) 44 files
*.cfg72 LOC (2%) 2 files
*.in10 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/.*".
    • files with paths like ".*/test_.*".
    • files with paths like ".*_tests[.].*".
  • 64 files match defined criteria (3,511 LOC, 110.9% vs. main code):
    • 61 *.py files (3,455 LOC)
    • 2 *.sh files (28 LOC)
    • 1 *.yaml files (28 LOC)
  • " *.py" is biggest, containing 98.41% of LOC.
  • " *.yaml" is smallest, containing 0.8% of LOC.


*.py3455 LOC (98%) 61 files
*.sh28 LOC (<1%) 2 files
*.yaml28 LOC (<1%) 1 file
Other Code
ini
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.](rst|rest|resttxt|rsttxt)".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]ini".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]md".
    • files with paths like ".*[.]json".
  • 95 files match defined criteria (10,249 LOC, 323.7% vs. main code):
    • 34 *.json files (8,592 LOC)
    • 31 *.rst files (564 LOC)
    • 16 *.py files (526 LOC)
    • 2 *.ini files (439 LOC)
    • 9 *.txt files (79 LOC)
    • 3 *.md files (49 LOC)
  • " *.json" is biggest, containing 83.83% of LOC.
  • " *.md" is smallest, containing 0.48% of LOC.


*.json8592 LOC (83%) 34 files
*.rst564 LOC (5%) 31 files
*.py526 LOC (5%) 16 files
*.ini439 LOC (4%) 2 files
*.txt79 LOC (<1%) 9 files
*.md49 LOC (<1%) 3 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-03 23:47