aws / amazon-chime-sdk-cpp
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
in
clang-format
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.

main3219 LOC (30%) 59 files
test397 LOC (3%) 8 files
generated0 LOC (0%) 0 files
build and deployment0 LOC (0%) 0 files
other6812 LOC (65%) 59 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
proto
in
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 59 files match defined criteria (3,219 LOC, 100.0% vs. main code):
    • 9 *.cc files (1,354 LOC)
    • 47 *.h files (1,004 LOC)
    • 1 *.proto files (461 LOC)
    • 2 *.in files (400 LOC)
  • " *.cc" is biggest, containing 42.06% of LOC.
  • " *.in" is smallest, containing 12.43% of LOC.


*.cc1354 LOC (42%) 9 files
*.h1004 LOC (31%) 47 files
*.proto461 LOC (14%) 1 file
*.in400 LOC (12%) 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 ".*/test_.*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/mock[a-zA-Z0-9_\- ]+/.*".
    • files with paths like ".*/[Mm]ocks/.*".
    • files with paths like ".*_tests[.].*".
  • 8 files match defined criteria (397 LOC, 12.3% vs. main code):
    • 4 *.cc files (331 LOC)
    • 4 *.h files (66 LOC)
  • " *.cc" is biggest, containing 83.38% of LOC.
  • " *.h" is smallest, containing 16.62% of LOC.


*.cc331 LOC (83%) 4 files
*.h66 LOC (16%) 4 files
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[Dd]emos?/.*".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 59 files match defined criteria (6,812 LOC, 211.6% vs. main code):
    • 9 *.txt files (3,596 LOC)
    • 10 *.md files (1,607 LOC)
    • 17 *.cc files (978 LOC)
    • 18 *.h files (407 LOC)
    • 4 *.cmake files (174 LOC)
    • 1 *.sh files (50 LOC)
  • " *.txt" is biggest, containing 52.79% of LOC.
  • " *.sh" is smallest, containing 0.73% of LOC.


*.txt3596 LOC (52%) 9 files
*.md1607 LOC (23%) 10 files
*.cc978 LOC (14%) 17 files
*.h407 LOC (5%) 18 files
*.cmake174 LOC (2%) 4 files
*.sh50 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-04 00:44