azure / azure-umqtt-c
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
cmd
targets
nuspec
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.

main3307 LOC (39%) 14 files
test3965 LOC (47%) 7 files
generated0 LOC (0%) 0 files
build and deployment280 LOC (3%) 12 files
other877 LOC (10%) 17 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
cmd
targets
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 14 files match defined criteria (3,307 LOC, 100.0% vs. main code):
    • 3 *.c files (2,653 LOC)
    • 5 *.cmd files (333 LOC)
    • 4 *.h files (218 LOC)
    • 1 *.targets files (98 LOC)
    • 1 *.cmake files (5 LOC)
  • " *.c" is biggest, containing 80.22% of LOC.
  • " *.cmake" is smallest, containing 0.15% of LOC.


*.c2653 LOC (80%) 3 files
*.cmd333 LOC (10%) 5 files
*.h218 LOC (6%) 4 files
*.targets98 LOC (2%) 1 file
*.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 ".*/[Tt]ests/.*".
    • files with paths like ".*_test[.].*".
  • 7 files match defined criteria (3,965 LOC, 119.9% vs. main code):
    • 6 *.c files (3,931 LOC)
    • 1 *.sh files (34 LOC)
  • " *.c" is biggest, containing 99.14% of LOC.
  • " *.sh" is smallest, containing 0.86% of LOC.


*.c3931 LOC (99%) 6 files
*.sh34 LOC (<1%) 1 file
Build and Deployment Code
Source code used to configure or support build and deployment process.
nuspec
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".
    • files with paths like ".*[.]nuspec".
  • 12 files match defined criteria (280 LOC, 8.5% vs. main code):
    • 11 *.sh files (246 LOC)
    • 1 *.nuspec files (34 LOC)
  • " *.sh" is biggest, containing 87.86% of LOC.
  • " *.nuspec" is smallest, containing 12.14% of LOC.


*.sh246 LOC (87%) 11 files
*.nuspec34 LOC (12%) 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 ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[Ss]amples/.*".
  • 17 files match defined criteria (877 LOC, 26.5% vs. main code):
    • 4 *.md files (378 LOC)
    • 9 *.txt files (286 LOC)
    • 3 *.c files (203 LOC)
    • 1 *.h files (10 LOC)
  • " *.md" is biggest, containing 43.1% of LOC.
  • " *.h" is smallest, containing 1.14% of LOC.


*.md378 LOC (43%) 4 files
*.txt286 LOC (32%) 9 files
*.c203 LOC (23%) 3 files
*.h10 LOC (1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-06 21:13