aws / aws-rds-odbc
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.

main3779 LOC (60%) 58 files
test2043 LOC (32%) 20 files
generated0 LOC (0%) 0 files
build and deployment21 LOC (<1%) 1 file
other393 LOC (6%) 6 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 ".*".
  • 58 files match defined criteria (3,779 LOC, 100.0% vs. main code):
    • 25 *.cc files (2,709 LOC)
    • 32 *.h files (1,026 LOC)
    • 1 *.ps1 files (44 LOC)
  • " *.cc" is biggest, containing 71.69% of LOC.
  • " *.ps1" is smallest, containing 1.16% of LOC.


*.cc2709 LOC (71%) 25 files
*.h1026 LOC (27%) 32 files
*.ps144 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 ".*UnitTests[.][a-zA-Z0-9_]+".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*_test[.].*".
  • 20 files match defined criteria (2,043 LOC, 54.1% vs. main code):
    • 18 *.cc files (1,892 LOC)
    • 1 *.h files (116 LOC)
    • 1 *.cpp files (35 LOC)
  • " *.cc" is biggest, containing 92.61% of LOC.
  • " *.cpp" is smallest, containing 1.71% of LOC.


*.cc1892 LOC (92%) 18 files
*.h116 LOC (5%) 1 file
*.cpp35 LOC (1%) 1 file
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 ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 1 file matches defined criteria (21 LOC, 0.6% vs. main code). All matches are in *.sh files.


*.sh21 LOC (100%) 1 file
Other Code
txt
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 ".*[.]txt".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
  • 6 files match defined criteria (393 LOC, 10.4% vs. main code):
    • 2 *.txt files (312 LOC)
    • 3 *.md files (72 LOC)
    • 1 *.json files (9 LOC)
  • " *.txt" is biggest, containing 79.39% of LOC.
  • " *.json" is smallest, containing 2.29% of LOC.


*.txt312 LOC (79%) 2 files
*.md72 LOC (18%) 3 files
*.json9 LOC (2%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-04 01:02