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
txt
clang-format
properties
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.

main2190 LOC (33%) 12 files
test3328 LOC (51%) 33 files
generated0 LOC (0%) 0 files
build and deployment633 LOC (9%) 4 files
other353 LOC (5%) 7 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 ".*".
  • 12 files match defined criteria (2,190 LOC, 100.0% vs. main code):
    • 10 *.java files (1,171 LOC)
    • 1 *.c files (942 LOC)
    • 1 *.ps1 files (77 LOC)
  • " *.java" is biggest, containing 53.47% of LOC.
  • " *.ps1" is smallest, containing 3.52% of LOC.


*.java1171 LOC (53%) 10 files
*.c942 LOC (43%) 1 file
*.ps177 LOC (3%) 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,328 LOC, 152.0% vs. main code). All matches are in *.java files.


*.java3328 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/pom[.]xml".
    • files with paths like ".*[.]sh".
  • 4 files match defined criteria (633 LOC, 28.9% vs. main code):
    • 1 *.xml files (416 LOC)
    • 3 *.sh files (217 LOC)
  • " *.xml" is biggest, containing 65.72% of LOC.
  • " *.sh" is smallest, containing 34.28% of LOC.


*.xml416 LOC (65%) 1 file
*.sh217 LOC (34%) 3 files
Other Code
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]json".
  • 7 files match defined criteria (353 LOC, 16.1% vs. main code):
    • 3 *.md files (248 LOC)
    • 1 *.txt files (79 LOC)
    • 2 *.json files (25 LOC)
    • 1 *.properties files (1 LOC)
  • " *.md" is biggest, containing 70.25% of LOC.
  • " *.properties" is smallest, containing 0.28% of LOC.


*.md248 LOC (70%) 3 files
*.txt79 LOC (22%) 1 file
*.json25 LOC (7%) 2 files
*.properties1 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 21:27