azure / c-testrunnerswitcher
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
gitmodules
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.

main467 LOC (43%) 12 files
test90 LOC (8%) 8 files
generated0 LOC (0%) 0 files
build and deployment27 LOC (2%) 2 files
other483 LOC (45%) 11 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 ".*".
  • 12 files match defined criteria (467 LOC, 100.0% vs. main code):
    • 6 *.h files (353 LOC)
    • 3 *.c files (80 LOC)
    • 2 *.cpp files (29 LOC)
    • 1 *.cmake files (5 LOC)
  • " *.h" is biggest, containing 75.59% of LOC.
  • " *.cmake" is smallest, containing 1.07% of LOC.


*.h353 LOC (75%) 6 files
*.c80 LOC (17%) 3 files
*.cpp29 LOC (6%) 2 files
*.cmake5 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 ".*/test_.*".
  • 8 files match defined criteria (90 LOC, 19.3% vs. main code):
    • 6 *.c files (71 LOC)
    • 2 *.cpp files (19 LOC)
  • " *.c" is biggest, containing 78.89% of LOC.
  • " *.cpp" is smallest, containing 21.11% of LOC.


*.c71 LOC (78%) 6 files
*.cpp19 LOC (21%) 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 ".*/[.]gitmodules".
    • files with paths like ".*[.]sh".
  • 2 files match defined criteria (27 LOC, 5.8% vs. main code). All matches are in *.sh files.


*.sh27 LOC (100%) 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 ".*/[.]gitignore".
    • files with paths like ".*[.]md".
  • 11 files match defined criteria (483 LOC, 103.4% vs. main code):
    • 9 *.txt files (427 LOC)
    • 2 *.md files (56 LOC)
  • " *.txt" is biggest, containing 88.41% of LOC.
  • " *.md" is smallest, containing 11.59% of LOC.


*.txt427 LOC (88%) 9 files
*.md56 LOC (11%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-06 21:16