azure / azure-uamqp-python
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
pxd
gitattributes
csproj
gitmodules
targets
nuspec
xsd
in
ini
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.

main8402 LOC (66%) 57 files
test735 LOC (5%) 7 files
generated0 LOC (0%) 0 files
build and deployment192 LOC (1%) 14 files
other3218 LOC (25%) 24 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 ".*".
  • 57 files match defined criteria (8,402 LOC, 100.0% vs. main code):
    • 27 *.py files (4,542 LOC)
    • 26 *.pyx files (3,812 LOC)
    • 1 *.toml files (28 LOC)
    • 2 *.ps1 files (18 LOC)
    • 1 *.in files (2 LOC)
  • " *.py" is biggest, containing 54.06% of LOC.
  • " *.in" is smallest, containing 0.02% of LOC.


*.py4542 LOC (54%) 27 files
*.pyx3812 LOC (45%) 26 files
*.toml28 LOC (<1%) 1 file
*.ps118 LOC (<1%) 2 files
*.in2 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[.].*".
    • files with paths like ".*_tests[.].*".
    • files with paths like ".*/test_.*".
  • 7 files match defined criteria (735 LOC, 8.7% vs. main code). All matches are in *.py files.


*.py735 LOC (100%) 7 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 ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitmodules".
    • files with paths like ".*/[.]gitattributes".
    • files with paths like ".*[.]nuspec".
    • files with paths like ".*[.]csproj".
    • files with paths like ".*[.]bat".
  • 14 files match defined criteria (192 LOC, 2.3% vs. main code). All matches are in *.sh files.


*.sh192 LOC (100%) 14 files
Other Code
txt
ini
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 ".*/vendor/.*".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]ini".
  • 24 files match defined criteria (3,218 LOC, 38.3% vs. main code):
    • 19 *.py files (2,497 LOC)
    • 3 *.md files (709 LOC)
    • 1 *.txt files (10 LOC)
    • 1 *.ini files (2 LOC)
  • " *.py" is biggest, containing 77.59% of LOC.
  • " *.ini" is smallest, containing 0.06% of LOC.


*.py2497 LOC (77%) 19 files
*.md709 LOC (22%) 3 files
*.txt10 LOC (<1%) 1 file
*.ini2 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-06 21:30