aws / aws-pgsql-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
vcxproj
txt
mak
wxs
reg
in
props
ini
m4
dsp
wixproj
vbs
editorconfig
clang-format
gitmodules
properties
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.

main54092 LOC (82%) 97 files
test9462 LOC (14%) 81 files
generated264 LOC (<1%) 1 file
build and deployment531 LOC (<1%) 12 files
other1139 LOC (1%) 11 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
vcxproj
wxs
props
wixproj
vbs
reg
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 97 files match defined criteria (54,092 LOC, 100.0% vs. main code):
    • 35 *.c files (43,884 LOC)
    • 28 *.h files (3,945 LOC)
    • 9 *.ps1 files (1,921 LOC)
    • 2 *.cpp files (1,788 LOC)
    • 6 *.vcxproj files (1,256 LOC)
    • 2 *.psm1 files (609 LOC)
    • 4 *.wxs files (267 LOC)
    • 2 *.sql files (147 LOC)
    • 3 *.props files (116 LOC)
    • 2 *.kts files (41 LOC)
    • 1 *.wixproj files (38 LOC)
    • 1 *.xml files (31 LOC)
    • 1 *.vbs files (26 LOC)
    • 1 *.reg files (23 LOC)
  • " *.c" is biggest, containing 81.13% of LOC.
  • " *.reg" is smallest, containing 0.04% of LOC.


*.c43884 LOC (81%) 35 files
*.h3945 LOC (7%) 28 files
*.ps11921 LOC (3%) 9 files
*.cpp1788 LOC (3%) 2 files
*.vcxproj1256 LOC (2%) 6 files
*.psm1609 LOC (1%) 2 files
*.wxs267 LOC (<1%) 4 files
*.sql147 LOC (<1%) 2 files
*.props116 LOC (<1%) 3 files
*.kts41 LOC (<1%) 2 files
*.wixproj38 LOC (<1%) 1 file
*.xml31 LOC (<1%) 1 file
*.vbs26 LOC (<1%) 1 file
*.reg23 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
vcxproj
in
mak
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/test_.*".
    • files with paths like ".*_test[.].*".
    • files with paths like ".*[-]test[-].*".
    • files with paths like ".*/test[.].*".
    • files with paths like ".*/[Tt]est/.*".
  • 81 files match defined criteria (9,462 LOC, 17.5% vs. main code):
    • 56 *.c files (6,413 LOC)
    • 6 *.java files (1,134 LOC)
    • 7 *.cc files (1,093 LOC)
    • 3 *.h files (177 LOC)
    • 1 *.cpp files (165 LOC)
    • 2 *.sh files (165 LOC)
    • 1 *.vcxproj files (137 LOC)
    • 3 *.in files (74 LOC)
    • 1 *.mak files (65 LOC)
    • 1 *.sql files (39 LOC)
  • " *.c" is biggest, containing 67.78% of LOC.
  • " *.sql" is smallest, containing 0.41% of LOC.


*.c6413 LOC (67%) 56 files
*.java1134 LOC (11%) 6 files
*.cc1093 LOC (11%) 7 files
*.h177 LOC (1%) 3 files
*.cpp165 LOC (1%) 1 file
*.sh165 LOC (1%) 2 files
*.vcxproj137 LOC (1%) 1 file
*.in74 LOC (<1%) 3 files
*.mak65 LOC (<1%) 1 file
*.sql39 LOC (<1%) 1 file
Generated Code
Automatically generated files, not manually changed after generation.
dsp
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]dsp" AND any line of content like ".*[#] Microsoft Developer Studio Generated Build File.*".
  • 1 file matches defined criteria (264 LOC, 0.5% vs. main code). All matches are in *.dsp files.


*.dsp264 LOC (100%) 1 file
Build and Deployment Code
Source code used to configure or support build and deployment process.
mak
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".
    • files with paths like ".*/[.]gitmodules".
    • files with paths like ".*[.]bat".
    • files with paths like ".*[.]mak".
  • 12 files match defined criteria (531 LOC, 1.0% vs. main code):
    • 4 *.mak files (396 LOC)
    • 4 *.bat files (94 LOC)
    • 4 *.sh files (41 LOC)
  • " *.mak" is biggest, containing 74.58% of LOC.
  • " *.sh" is smallest, containing 7.72% of LOC.


*.mak396 LOC (74%) 4 files
*.bat94 LOC (17%) 4 files
*.sh41 LOC (7%) 4 files
Other Code
txt
dsp
ini
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 ".*/[.]gitignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]dsp".
    • files with paths like ".*[.]editorconfig".
    • files with paths like ".*[.]ini".
    • files with paths like ".*[.]properties".
  • 11 files match defined criteria (1,139 LOC, 2.1% vs. main code):
    • 5 *.txt files (718 LOC)
    • 1 *.dsp files (264 LOC)
    • 4 *.md files (144 LOC)
    • 1 *.ini files (13 LOC)
  • " *.txt" is biggest, containing 63.04% of LOC.
  • " *.ini" is smallest, containing 1.14% of LOC.


*.txt718 LOC (63%) 5 files
*.dsp264 LOC (23%) 1 file
*.md144 LOC (12%) 4 files
*.ini13 LOC (1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-04 00:55