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
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.

main2410 LOC (58%) 30 files
test1393 LOC (33%) 22 files
generated0 LOC (0%) 0 files
build and deployment0 LOC (0%) 0 files
other325 LOC (7%) 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
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 30 files match defined criteria (2,410 LOC, 100.0% vs. main code):
    • 13 *.py files (1,297 LOC)
    • 8 *.pyx files (793 LOC)
    • 8 *.pxd files (202 LOC)
    • 1 *.toml files (118 LOC)
  • " *.py" is biggest, containing 53.82% of LOC.
  • " *.toml" is smallest, containing 4.9% of LOC.


*.py1297 LOC (53%) 13 files
*.pyx793 LOC (32%) 8 files
*.pxd202 LOC (8%) 8 files
*.toml118 LOC (4%) 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,393 LOC, 57.8% vs. main code):
    • 21 *.py files (1,379 LOC)
    • 1 *.pyx files (14 LOC)
  • " *.py" is biggest, containing 98.99% of LOC.
  • " *.pyx" is smallest, containing 1.01% of LOC.


*.py1379 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 ".*[.]md".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]svg".
  • 7 files match defined criteria (325 LOC, 13.5% vs. main code):
    • 4 *.md files (240 LOC)
    • 3 *.txt files (85 LOC)
  • " *.md" is biggest, containing 73.85% of LOC.
  • " *.txt" is smallest, containing 26.15% of LOC.


*.md240 LOC (73%) 4 files
*.txt85 LOC (26%) 3 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-03 07:37