uber / h3
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
mdx
in
kml
clang-format
clang-tidy
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.

main26231 LOC (18%) 198 files
test48 LOC (<1%) 2 files
generated0 LOC (0%) 0 files
build and deployment34 LOC (<1%) 3 files
other113978 LOC (81%) 197 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
in
kml
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 198 files match defined criteria (26,231 LOC, 100.0% vs. main code):
    • 141 *.c files (21,127 LOC)
    • 5 *.in files (1,606 LOC)
    • 29 *.h files (1,065 LOC)
    • 9 *.js files (674 LOC)
    • 4 *.jsx files (490 LOC)
    • 2 *.ts files (313 LOC)
    • 2 *.cmake files (294 LOC)
    • 1 *.tsx files (294 LOC)
    • 1 *.kml files (273 LOC)
    • 3 *.css files (78 LOC)
    • 1 *.ps1 files (17 LOC)
  • " *.c" is biggest, containing 80.54% of LOC.
  • " *.ps1" is smallest, containing 0.06% of LOC.


*.c21127 LOC (80%) 141 files
*.in1606 LOC (6%) 5 files
*.h1065 LOC (4%) 29 files
*.js674 LOC (2%) 9 files
*.jsx490 LOC (1%) 4 files
*.ts313 LOC (1%) 2 files
*.cmake294 LOC (1%) 2 files
*.tsx294 LOC (1%) 1 file
*.kml273 LOC (1%) 1 file
*.css78 LOC (<1%) 3 files
*.ps117 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 ".*/test[.].*".
    • files with paths like ".*/testing[.].*".
    • files with paths like ".*/[Tt]ests/.*".
  • 2 files match defined criteria (48 LOC, 0.2% vs. main code):
    • 1 *.h files (33 LOC)
    • 1 *.c files (15 LOC)
  • " *.h" is biggest, containing 68.75% of LOC.
  • " *.c" is smallest, containing 31.25% of LOC.


*.h33 LOC (68%) 1 file
*.c15 LOC (31%) 1 file
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 ".*/package[.]json".
  • 3 files match defined criteria (34 LOC, 0.1% vs. main code). All matches are in *.sh files.


*.sh34 LOC (100%) 3 files
Other Code
txt
mdx
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 ".*/[.]gitignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]mdx".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/[Ee]xamples/.*".
  • 197 files match defined criteria (113,978 LOC, 434.5% vs. main code):
    • 137 *.txt files (108,766 LOC)
    • 8 *.mdx files (2,683 LOC)
    • 41 *.md files (2,047 LOC)
    • 3 *.json files (253 LOC)
    • 5 *.c files (147 LOC)
    • 3 *.svg files (82 LOC)
  • " *.txt" is biggest, containing 95.43% of LOC.
  • " *.svg" is smallest, containing 0.07% of LOC.


*.txt108766 LOC (95%) 137 files
*.mdx2683 LOC (2%) 8 files
*.md2047 LOC (1%) 41 files
*.json253 LOC (<1%) 3 files
*.c147 LOC (<1%) 5 files
*.svg82 LOC (<1%) 3 files
Analyzers
Info about analyzers used for source code examinations.


2026-04-18 12:57