aws / aws-mysql-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
in
txt
clang-format
glade
ini
bzrignore
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.

main147076 LOC (81%) 729 files
test30009 LOC (16%) 79 files
generated0 LOC (0%) 0 files
build and deployment268 LOC (<1%) 4 files
other3115 LOC (1%) 22 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
in
glade
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 729 files match defined criteria (147,076 LOC, 100.0% vs. main code):
    • 140 *.cc files (89,135 LOC)
    • 516 *.h files (43,517 LOC)
    • 23 *.cmake files (4,347 LOC)
    • 22 *.pp files (3,679 LOC)
    • 9 *.in files (2,105 LOC)
    • 1 *.glade files (2,050 LOC)
    • 4 *.cpp files (1,241 LOC)
    • 3 *.xml files (495 LOC)
    • 3 *.ps1 files (243 LOC)
    • 6 *.c files (226 LOC)
    • 2 *.kts files (38 LOC)
  • " *.cc" is biggest, containing 60.6% of LOC.
  • " *.kts" is smallest, containing 0.03% of LOC.


*.cc89135 LOC (60%) 140 files
*.h43517 LOC (29%) 516 files
*.cmake4347 LOC (2%) 23 files
*.pp3679 LOC (2%) 22 files
*.in2105 LOC (1%) 9 files
*.glade2050 LOC (1%) 1 file
*.cpp1241 LOC (<1%) 4 files
*.xml495 LOC (<1%) 3 files
*.ps1243 LOC (<1%) 3 files
*.c226 LOC (<1%) 6 files
*.kts38 LOC (<1%) 2 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
in
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 ".*/[Tt]est/.*".
  • 79 files match defined criteria (30,009 LOC, 20.4% vs. main code):
    • 30 *.c files (19,943 LOC)
    • 34 *.cc files (7,282 LOC)
    • 3 *.h files (1,772 LOC)
    • 6 *.java files (847 LOC)
    • 4 *.in files (62 LOC)
    • 1 *.cmake files (60 LOC)
    • 1 *.pl files (43 LOC)
  • " *.c" is biggest, containing 66.46% of LOC.
  • " *.pl" is smallest, containing 0.14% of LOC.


*.c19943 LOC (66%) 30 files
*.cc7282 LOC (24%) 34 files
*.h1772 LOC (5%) 3 files
*.java847 LOC (2%) 6 files
*.in62 LOC (<1%) 4 files
*.cmake60 LOC (<1%) 1 file
*.pl43 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 ".*[.]bat".
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 4 files match defined criteria (268 LOC, 0.2% vs. main code):
    • 2 *.sh files (156 LOC)
    • 2 *.bat files (112 LOC)
  • " *.sh" is biggest, containing 58.21% of LOC.
  • " *.bat" is smallest, containing 41.79% of LOC.


*.sh156 LOC (58%) 2 files
*.bat112 LOC (41%) 2 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 ".*/[.]gitignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]ini".
    • files with paths like ".*/[.]bzrignore".
  • 22 files match defined criteria (3,115 LOC, 2.1% vs. main code):
    • 17 *.txt files (2,965 LOC)
    • 5 *.md files (150 LOC)
  • " *.txt" is biggest, containing 95.18% of LOC.
  • " *.md" is smallest, containing 4.82% of LOC.


*.txt2965 LOC (95%) 17 files
*.md150 LOC (4%) 5 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-04 00:39