Uber / h3-py
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
pxd
txt
in
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.

main1967 LOC (57%) 31 files
test1184 LOC (34%) 22 files
generated0 LOC (0%) 0 files
build and deployment0 LOC (0%) 0 files
other291 LOC (8%) 7 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
pxd
in
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 31 files match defined criteria (1,967 LOC, 100.0% vs. main code):
    • 14 *.py files (1,051 LOC)
    • 7 *.pyx files (695 LOC)
    • 7 *.pxd files (185 LOC)
    • 2 *.in files (30 LOC)
    • 1 *.toml files (6 LOC)
  • " *.py" is biggest, containing 53.43% of LOC.
  • " *.toml" is smallest, containing 0.31% of LOC.


*.py1051 LOC (53%) 14 files
*.pyx695 LOC (35%) 7 files
*.pxd185 LOC (9%) 7 files
*.in30 LOC (1%) 2 files
*.toml6 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_.*".
  • 22 files match defined criteria (1,184 LOC, 60.2% vs. main code):
    • 21 *.py files (1,170 LOC)
    • 1 *.pyx files (14 LOC)
  • " *.py" is biggest, containing 98.82% of LOC.
  • " *.pyx" is smallest, containing 1.18% of LOC.


*.py1170 LOC (98%) 21 files
*.pyx14 LOC (1%) 1 file
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/[.]gitignore".
  • 7 files match defined criteria (291 LOC, 14.8% vs. main code):
    • 3 *.md files (208 LOC)
    • 4 *.txt files (83 LOC)
  • " *.md" is biggest, containing 71.48% of LOC.
  • " *.txt" is smallest, containing 28.52% of LOC.


*.md208 LOC (71%) 3 files
*.txt83 LOC (28%) 4 files
Analyzers
Info about analyzers used for source code examinations.


2024-04-03 14:38