uber / h3-java
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
properties
txt
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.

main2297 LOC (33%) 13 files
test3659 LOC (52%) 33 files
generated0 LOC (0%) 0 files
build and deployment586 LOC (8%) 6 files
other381 LOC (5%) 8 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 13 files match defined criteria (2,297 LOC, 100.0% vs. main code):
    • 10 *.java files (1,232 LOC)
    • 1 *.c files (974 LOC)
    • 1 *.ps1 files (77 LOC)
    • 1 *.toml files (14 LOC)
  • " *.java" is biggest, containing 53.64% of LOC.
  • " *.toml" is smallest, containing 0.61% of LOC.


*.java1232 LOC (53%) 10 files
*.c974 LOC (42%) 1 file
*.ps177 LOC (3%) 1 file
*.toml14 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]est/.*".
  • 33 files match defined criteria (3,659 LOC, 159.3% vs. main code). All matches are in *.java files.


*.java3659 LOC (100%) 33 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 ".*[.]bat".
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]gradle".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 6 files match defined criteria (586 LOC, 25.5% vs. main code):
    • 2 *.gradle files (286 LOC)
    • 3 *.sh files (227 LOC)
    • 1 *.bat files (73 LOC)
  • " *.gradle" is biggest, containing 48.81% of LOC.
  • " *.bat" is smallest, containing 12.46% of LOC.


*.gradle286 LOC (48%) 2 files
*.sh227 LOC (38%) 3 files
*.bat73 LOC (12%) 1 file
Other Code
txt
properties
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 ".*[.]properties".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
  • 8 files match defined criteria (381 LOC, 16.6% vs. main code):
    • 3 *.md files (266 LOC)
    • 1 *.txt files (83 LOC)
    • 2 *.json files (25 LOC)
    • 2 *.properties files (7 LOC)
  • " *.md" is biggest, containing 69.82% of LOC.
  • " *.properties" is smallest, containing 1.84% of LOC.


*.md266 LOC (69%) 3 files
*.txt83 LOC (21%) 1 file
*.json25 LOC (6%) 2 files
*.properties7 LOC (1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2026-04-18 12:57