aws / aws-database-encryption-sdk-dynamodb
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
patch
properties
gitattributes
csproj
txt
editorconfig
mk
gitmodules
prettierignore
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.

main61702 LOC (48%) 758 files
test26178 LOC (20%) 116 files
generated0 LOC (0%) 0 files
build and deployment278 LOC (<1%) 10 files
other39109 LOC (30%) 302 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 758 files match defined criteria (61,702 LOC, 100.0% vs. main code):
    • 370 *.rs files (33,196 LOC)
    • 215 *.java files (21,937 LOC)
    • 161 *.cs files (5,517 LOC)
    • 1 *.yaml files (457 LOC)
    • 3 *.kts files (338 LOC)
    • 4 *.py files (153 LOC)
    • 4 *.toml files (104 LOC)
  • " *.rs" is biggest, containing 53.8% of LOC.
  • " *.toml" is smallest, containing 0.17% of LOC.


*.rs33196 LOC (53%) 370 files
*.java21937 LOC (35%) 215 files
*.cs5517 LOC (8%) 161 files
*.yaml457 LOC (<1%) 1 file
*.kts338 LOC (<1%) 3 files
*.py153 LOC (<1%) 4 files
*.toml104 LOC (<1%) 4 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
csproj
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 ".*/[Tt]ests/.*".
  • 116 files match defined criteria (26,178 LOC, 42.4% vs. main code):
    • 112 *.java files (25,075 LOC)
    • 1 *.rs files (1,042 LOC)
    • 1 *.sh files (23 LOC)
    • 1 *.csproj files (19 LOC)
    • 1 *.toml files (19 LOC)
  • " *.java" is biggest, containing 95.79% of LOC.
  • " *.toml" is smallest, containing 0.07% of LOC.


*.java25075 LOC (95%) 112 files
*.rs1042 LOC (3%) 1 file
*.sh23 LOC (<1%) 1 file
*.csproj19 LOC (<1%) 1 file
*.toml19 LOC (<1%) 1 file
Build and Deployment Code
Source code used to configure or support build and deployment process.
csproj
mk
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 ".*/[.]gitattributes".
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]bat".
    • files with paths like ".*[.]csproj".
    • files with paths like ".*[.]mk".
    • files with paths like ".*/[.]gitmodules".
  • 10 files match defined criteria (278 LOC, 0.5% vs. main code):
    • 6 *.sh files (117 LOC)
    • 2 *.csproj files (73 LOC)
    • 1 *.bat files (71 LOC)
    • 1 *.mk files (17 LOC)
  • " *.sh" is biggest, containing 42.09% of LOC.
  • " *.mk" is smallest, containing 6.12% of LOC.


*.sh117 LOC (42%) 6 files
*.csproj73 LOC (26%) 2 files
*.bat71 LOC (25%) 1 file
*.mk17 LOC (6%) 1 file
Other Code
patch
txt
csproj
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[.]prettierignore".
    • files with paths like ".*[.]properties".
    • 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 ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]editorconfig".
    • files with paths like ".*[.]patch".
    • files with paths like ".*[.](rst|rest|resttxt|rsttxt)".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 302 files match defined criteria (39,109 LOC, 63.4% vs. main code):
    • 40 *.json files (10,682 LOC)
    • 93 *.java files (10,209 LOC)
    • 62 *.rs files (8,022 LOC)
    • 51 *.md files (4,639 LOC)
    • 31 *.cs files (4,544 LOC)
    • 6 *.kts files (313 LOC)
    • 9 *.patch files (235 LOC)
    • 3 *.bat files (213 LOC)
    • 1 *.txt files (169 LOC)
    • 2 *.rst files (59 LOC)
    • 1 *.csproj files (13 LOC)
    • 3 *.properties files (11 LOC)
  • " *.json" is biggest, containing 27.31% of LOC.
  • " *.properties" is smallest, containing 0.03% of LOC.


*.json10682 LOC (27%) 40 files
*.java10209 LOC (26%) 93 files
*.rs8022 LOC (20%) 62 files
*.md4639 LOC (11%) 51 files
*.cs4544 LOC (11%) 31 files
*.kts313 LOC (<1%) 6 files
*.patch235 LOC (<1%) 9 files
*.bat213 LOC (<1%) 3 files
*.txt169 LOC (<1%) 1 file
*.rst59 LOC (<1%) 2 files
*.csproj13 LOC (<1%) 1 file
*.properties11 LOC (<1%) 3 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-04 00:45