uber / neuropod
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
pt
pb
patch
txt
clang-format
clang-tidy
gitattributes
pkl
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.

main11126 LOC (61%) 176 files
test4412 LOC (24%) 94 files
generated0 LOC (0%) 0 files
build and deployment433 LOC (2%) 21 files
other2261 LOC (12%) 33 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 ".*".
  • 176 files match defined criteria (11,126 LOC, 100.0% vs. main code):
    • 49 *.cc files (4,833 LOC)
    • 48 *.hh files (2,686 LOC)
    • 38 *.py files (1,779 LOC)
    • 7 *.bzl files (729 LOC)
    • 11 *.java files (602 LOC)
    • 23 *.h files (497 LOC)
  • " *.cc" is biggest, containing 43.44% of LOC.
  • " *.h" is smallest, containing 4.47% of LOC.


*.cc4833 LOC (43%) 49 files
*.hh2686 LOC (24%) 48 files
*.py1779 LOC (15%) 38 files
*.bzl729 LOC (6%) 7 files
*.java602 LOC (5%) 11 files
*.h497 LOC (4%) 23 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
pkl
pt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/test_.*".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*/test[.].*".
  • 94 files match defined criteria (4,412 LOC, 39.7% vs. main code):
    • 33 *.cc files (1,860 LOC)
    • 42 *.py files (1,491 LOC)
    • 10 *.java files (566 LOC)
    • 1 *.c files (155 LOC)
    • 1 *.hh files (122 LOC)
    • 1 *.pkl files (92 LOC)
    • 2 *.sh files (68 LOC)
    • 4 *.pt files (58 LOC)
  • " *.cc" is biggest, containing 42.16% of LOC.
  • " *.pt" is smallest, containing 1.31% of LOC.


*.cc1860 LOC (42%) 33 files
*.py1491 LOC (33%) 42 files
*.java566 LOC (12%) 10 files
*.c155 LOC (3%) 1 file
*.hh122 LOC (2%) 1 file
*.pkl92 LOC (2%) 1 file
*.sh68 LOC (1%) 2 files
*.pt58 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitattributes".
    • files with paths like ".*[.]sh".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]dockerfile".
  • 21 files match defined criteria (433 LOC, 3.9% vs. main code):
    • 20 *.sh files (370 LOC)
    • 1 *.dockerfile files (63 LOC)
  • " *.sh" is biggest, containing 85.45% of LOC.
  • " *.dockerfile" is smallest, containing 14.55% of LOC.


*.sh370 LOC (85%) 20 files
*.dockerfile63 LOC (14%) 1 file
Other Code
pb
patch
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]patch".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]pb".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]dockerignore".
  • 33 files match defined criteria (2,261 LOC, 20.3% vs. main code):
    • 18 *.json files (1,228 LOC)
    • 4 *.pb files (635 LOC)
    • 3 *.patch files (227 LOC)
    • 7 *.md files (157 LOC)
    • 1 *.txt files (14 LOC)
  • " *.json" is biggest, containing 54.31% of LOC.
  • " *.txt" is smallest, containing 0.62% of LOC.


*.json1228 LOC (54%) 18 files
*.pb635 LOC (28%) 4 files
*.patch227 LOC (10%) 3 files
*.md157 LOC (6%) 7 files
*.txt14 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2026-04-18 13:00