aws / aws-nitro-enclaves-sdk-c
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
clang-format
clang-tidy
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.

main3657 LOC (60%) 15 files
test2035 LOC (33%) 6 files
generated0 LOC (0%) 0 files
build and deployment0 LOC (0%) 0 files
other378 LOC (6%) 7 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 ".*".
  • 15 files match defined criteria (3,657 LOC, 100.0% vs. main code):
    • 5 *.c files (2,954 LOC)
    • 7 *.h files (427 LOC)
    • 1 *.ps1 files (173 LOC)
    • 2 *.cmake files (103 LOC)
  • " *.c" is biggest, containing 80.78% of LOC.
  • " *.cmake" is smallest, containing 2.82% of LOC.


*.c2954 LOC (80%) 5 files
*.h427 LOC (11%) 7 files
*.ps1173 LOC (4%) 1 file
*.cmake103 LOC (2%) 2 files
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 ".*_test[.].*".
    • files with paths like ".*/test_.*".
  • 6 files match defined criteria (2,035 LOC, 55.6% vs. main code):
    • 3 *.c files (1,832 LOC)
    • 3 *.sh files (203 LOC)
  • " *.c" is biggest, containing 90.02% of LOC.
  • " *.sh" is smallest, containing 9.98% of LOC.


*.c1832 LOC (90%) 3 files
*.sh203 LOC (9%) 3 files
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]txt".
    • 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 ".*/[.]dockerignore".
  • 7 files match defined criteria (378 LOC, 10.3% vs. main code):
    • 5 *.md files (211 LOC)
    • 2 *.txt files (167 LOC)
  • " *.md" is biggest, containing 55.82% of LOC.
  • " *.txt" is smallest, containing 44.18% of LOC.


*.md211 LOC (55%) 5 files
*.txt167 LOC (44%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-04 00:12