azure / azure-iot-middleware-freertos
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
cfg
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.

main5784 LOC (35%) 35 files
test9312 LOC (57%) 41 files
generated0 LOC (0%) 0 files
build and deployment0 LOC (0%) 0 files
other1173 LOC (7%) 16 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
cfg
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 35 files match defined criteria (5,784 LOC, 100.0% vs. main code):
    • 11 *.c files (4,388 LOC)
    • 21 *.h files (1,067 LOC)
    • 2 *.cmake files (171 LOC)
    • 1 *.cfg files (158 LOC)
  • " *.c" is biggest, containing 75.86% of LOC.
  • " *.cfg" is smallest, containing 2.73% of LOC.


*.c4388 LOC (75%) 11 files
*.h1067 LOC (18%) 21 files
*.cmake171 LOC (2%) 2 files
*.cfg158 LOC (2%) 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 ".*/e2e/.*".
    • files with paths like ".*_test[.].*".
    • files with paths like ".*_tests[.].*".
  • 41 files match defined criteria (9,312 LOC, 161.0% vs. main code):
    • 18 *.c files (6,807 LOC)
    • 9 *.ts files (1,663 LOC)
    • 9 *.h files (456 LOC)
    • 1 *.ps1 files (219 LOC)
    • 4 *.sh files (167 LOC)
  • " *.c" is biggest, containing 73.1% of LOC.
  • " *.sh" is smallest, containing 1.79% of LOC.


*.c6807 LOC (73%) 18 files
*.ts1663 LOC (17%) 9 files
*.h456 LOC (4%) 9 files
*.ps1219 LOC (2%) 1 file
*.sh167 LOC (1%) 4 files
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 ".*[.]json".
    • files with paths like ".*/[.]gitignore".
  • 16 files match defined criteria (1,173 LOC, 20.3% vs. main code):
    • 5 *.txt files (796 LOC)
    • 7 *.md files (283 LOC)
    • 4 *.json files (94 LOC)
  • " *.txt" is biggest, containing 67.86% of LOC.
  • " *.json" is smallest, containing 8.01% of LOC.


*.txt796 LOC (67%) 5 files
*.md283 LOC (24%) 7 files
*.json94 LOC (8%) 4 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-06 22:12