azure / m
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
patch
clang-format
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.

main10915 LOC (59%) 147 files
test5819 LOC (31%) 39 files
generated0 LOC (0%) 0 files
build and deployment0 LOC (0%) 0 files
other1522 LOC (8%) 107 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
in
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 147 files match defined criteria (10,915 LOC, 100.0% vs. main code):
    • 84 *.h files (7,321 LOC)
    • 53 *.cpp files (3,125 LOC)
    • 7 *.cmake files (367 LOC)
    • 3 *.in files (102 LOC)
  • " *.h" is biggest, containing 67.07% of LOC.
  • " *.in" is smallest, containing 0.93% of LOC.


*.h7321 LOC (67%) 84 files
*.cpp3125 LOC (28%) 53 files
*.cmake367 LOC (3%) 7 files
*.in102 LOC (<1%) 3 files
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]est/.*".
    • files with paths like ".*/test_.*".
    • files with paths like ".*_test[.].*".
  • 39 files match defined criteria (5,819 LOC, 53.3% vs. main code):
    • 6 *.h files (3,820 LOC)
    • 33 *.cpp files (1,999 LOC)
  • " *.h" is biggest, containing 65.65% of LOC.
  • " *.cpp" is smallest, containing 34.35% of LOC.


*.h3820 LOC (65%) 6 files
*.cpp1999 LOC (34%) 33 files
Other Code
txt
patch
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]patch".
  • 107 files match defined criteria (1,522 LOC, 13.9% vs. main code):
    • 94 *.txt files (1,126 LOC)
    • 5 *.json files (200 LOC)
    • 5 *.md files (113 LOC)
    • 3 *.patch files (83 LOC)
  • " *.txt" is biggest, containing 73.98% of LOC.
  • " *.patch" is smallest, containing 5.45% of LOC.


*.txt1126 LOC (73%) 94 files
*.json200 LOC (13%) 5 files
*.md113 LOC (7%) 5 files
*.patch83 LOC (5%) 3 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-06 23:27