uber / ringpop-go
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
t
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.

main5959 LOC (30%) 53 files
test8646 LOC (44%) 61 files
generated0 LOC (0%) 0 files
build and deployment121 LOC (<1%) 5 files
other4511 LOC (23%) 37 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 ".*".
  • 53 files match defined criteria (5,959 LOC, 100.0% vs. main code). All matches are in *.go files.


*.go5959 LOC (100%) 53 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
t
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*_test[.].*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/test[.].*".
    • files with paths like ".*/mock[a-zA-Z0-9_\- ]+/.*".
    • files with paths like ".*/[Mm]ocks/.*".
  • 61 files match defined criteria (8,646 LOC, 145.1% vs. main code):
    • 55 *.go files (8,577 LOC)
    • 1 *.sh files (28 LOC)
    • 1 *.t files (24 LOC)
    • 4 *.thrift files (17 LOC)
  • " *.go" is biggest, containing 99.2% of LOC.
  • " *.thrift" is smallest, containing 0.2% of LOC.


*.go8577 LOC (99%) 55 files
*.sh28 LOC (<1%) 1 file
*.t24 LOC (<1%) 1 file
*.thrift17 LOC (<1%) 4 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 ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/glide[.]yaml".
  • 5 files match defined criteria (121 LOC, 2.0% vs. main code):
    • 4 *.sh files (92 LOC)
    • 1 *.yaml files (29 LOC)
  • " *.sh" is biggest, containing 76.03% of LOC.
  • " *.yaml" is smallest, containing 23.97% of LOC.


*.sh92 LOC (76%) 4 files
*.yaml29 LOC (23%) 1 file
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 ".*[.]txt".
    • files with paths like ".*/[Ee]xamples/.*".
  • 37 files match defined criteria (4,511 LOC, 75.7% vs. main code):
    • 24 *.go files (4,052 LOC)
    • 8 *.md files (424 LOC)
    • 4 *.thrift files (31 LOC)
    • 1 *.json files (4 LOC)
  • " *.go" is biggest, containing 89.82% of LOC.
  • " *.json" is smallest, containing 0.09% of LOC.


*.go4052 LOC (89%) 24 files
*.md424 LOC (9%) 8 files
*.thrift31 LOC (<1%) 4 files
*.json4 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2026-04-18 12:54