uber / h3-js
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
npmignore
gitattributes
txt
editorconfig
npmrc
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.

main1961 LOC (26%) 15 files
test3971 LOC (54%) 6 files
generated0 LOC (0%) 0 files
build and deployment48 LOC (<1%) 3 files
other1320 LOC (18%) 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 ".*".
  • 15 files match defined criteria (1,961 LOC, 100.0% vs. main code):
    • 13 *.js files (1,923 LOC)
    • 1 *.c files (26 LOC)
    • 1 *.h files (12 LOC)
  • " *.js" is biggest, containing 98.06% of LOC.
  • " *.h" is smallest, containing 0.61% of LOC.


*.js1923 LOC (98%) 13 files
*.c26 LOC (1%) 1 file
*.h12 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/.*".
    • files with paths like ".*[.]spec[.]js".
  • 6 files match defined criteria (3,971 LOC, 202.5% vs. main code). All matches are in *.js files.


*.js3971 LOC (100%) 6 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 ".*/[.]gitattributes".
    • files with paths like ".*[.]sh".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/package[.]json".
  • 3 files match defined criteria (48 LOC, 2.4% vs. main code). All matches are in *.sh files.


*.sh48 LOC (100%) 3 files
Other Code
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 ".*/[.]gitignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]npmrc".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]npmignore".
    • files with paths like ".*[.]editorconfig".
  • 8 files match defined criteria (1,320 LOC, 67.3% vs. main code):
    • 6 *.md files (1,193 LOC)
    • 2 *.json files (127 LOC)
  • " *.md" is biggest, containing 90.38% of LOC.
  • " *.json" is smallest, containing 9.62% of LOC.


*.md1193 LOC (90%) 6 files
*.json127 LOC (9%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2026-04-18 12:57