mysql / mysql-connector-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
in
wxs
clang-format
glade
ini
vbs
bzrignore
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.

main139344 LOC (80%) 657 files
test29867 LOC (17%) 98 files
generated0 LOC (0%) 0 files
build and deployment44 LOC (<1%) 1 file
other4878 LOC (2%) 44 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
glade
wxs
in
vbs
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 657 files match defined criteria (139,344 LOC, 100.0% vs. main code):
    • 102 *.cc files (83,831 LOC)
    • 479 *.h files (41,837 LOC)
    • 26 *.cmake files (4,451 LOC)
    • 22 *.pp files (3,679 LOC)
    • 1 *.glade files (2,050 LOC)
    • 4 *.cpp files (1,137 LOC)
    • 3 *.wxs files (1,093 LOC)
    • 12 *.in files (1,033 LOC)
    • 7 *.c files (225 LOC)
    • 1 *.vbs files (8 LOC)
  • " *.cc" is biggest, containing 60.16% of LOC.
  • " *.vbs" is smallest, containing 0.01% of LOC.


*.cc83831 LOC (60%) 102 files
*.h41837 LOC (30%) 479 files
*.cmake4451 LOC (3%) 26 files
*.pp3679 LOC (2%) 22 files
*.glade2050 LOC (1%) 1 file
*.cpp1137 LOC (<1%) 4 files
*.wxs1093 LOC (<1%) 3 files
*.in1033 LOC (<1%) 12 files
*.c225 LOC (<1%) 7 files
*.vbs8 LOC (<1%) 1 file
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 ".*/[Tt]est/.*".
    • files with paths like ".*_test[.].*".
  • 98 files match defined criteria (29,867 LOC, 21.4% vs. main code):
    • 30 *.c files (20,423 LOC)
    • 55 *.cc files (7,497 LOC)
    • 9 *.h files (1,802 LOC)
    • 1 *.cmake files (60 LOC)
    • 1 *.pl files (43 LOC)
    • 2 *.in files (42 LOC)
  • " *.c" is biggest, containing 68.38% of LOC.
  • " *.in" is smallest, containing 0.14% of LOC.


*.c20423 LOC (68%) 30 files
*.cc7497 LOC (25%) 55 files
*.h1802 LOC (6%) 9 files
*.cmake60 LOC (<1%) 1 file
*.pl43 LOC (<1%) 1 file
*.in42 LOC (<1%) 2 files
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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]bat".
  • 1 file matches defined criteria (44 LOC, 0.0% vs. main code). All matches are in *.bat files.


*.bat44 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 ".*/[.]bzrignore".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*[.]ini".
    • files with paths like ".*/[.]gitignore".
  • 44 files match defined criteria (4,878 LOC, 3.5% vs. main code):
    • 39 *.txt files (4,674 LOC)
    • 5 *.md files (204 LOC)
  • " *.txt" is biggest, containing 95.82% of LOC.
  • " *.md" is smallest, containing 4.18% of LOC.


*.txt4674 LOC (95%) 39 files
*.md204 LOC (4%) 5 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-09 19:49