uber / vscode-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
mod
txt
editorconfig
cfg
in
vscodeignore
proto
eslintignore
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.

main21945 LOC (66%) 112 files
test10302 LOC (31%) 44 files
generated0 LOC (0%) 0 files
build and deployment59 LOC (<1%) 1 file
other803 LOC (2%) 28 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
proto
in
cfg
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 112 files match defined criteria (21,945 LOC, 100.0% vs. main code):
    • 97 *.ts files (18,892 LOC)
    • 5 *.go files (1,566 LOC)
    • 4 *.css files (689 LOC)
    • 1 *.proto files (439 LOC)
    • 1 *.in files (243 LOC)
    • 1 *.bash files (93 LOC)
    • 1 *.js files (11 LOC)
    • 1 *.yaml files (11 LOC)
    • 1 *.cfg files (1 LOC)
  • " *.ts" is biggest, containing 86.09% of LOC.
  • " *.cfg" is smallest, containing 0% of LOC.


*.ts18892 LOC (86%) 97 files
*.go1566 LOC (7%) 5 files
*.css689 LOC (3%) 4 files
*.proto439 LOC (2%) 1 file
*.in243 LOC (1%) 1 file
*.bash93 LOC (<1%) 1 file
*.js11 LOC (<1%) 1 file
*.yaml11 LOC (<1%) 1 file
*.cfg1 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 ".*/test_.*".
    • files with paths like ".*_test[.].*".
    • files with paths like ".*/[Tt]est/.*".
    • 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/.*".
    • files with paths like ".*/test[.].*".
  • 44 files match defined criteria (10,302 LOC, 46.9% vs. main code):
    • 41 *.ts files (10,029 LOC)
    • 3 *.go files (273 LOC)
  • " *.ts" is biggest, containing 97.35% of LOC.
  • " *.go" is smallest, containing 2.65% of LOC.


*.ts10029 LOC (97%) 41 files
*.go273 LOC (2%) 3 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 ".*/package[.]json".
    • files with paths like ".*[.]sh".
  • 1 file matches defined criteria (59 LOC, 0.3% vs. main code). All matches are in *.sh files.


*.sh59 LOC (100%) 1 file
Other Code
mod
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/go[.]mod".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]vscodeignore".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]eslintignore".
    • files with paths like ".*[.]editorconfig".
    • files with paths like ".*/vendor/.*".
  • 28 files match defined criteria (803 LOC, 3.7% vs. main code):
    • 6 *.json files (634 LOC)
    • 9 *.md files (122 LOC)
    • 12 *.svg files (40 LOC)
    • 1 *.mod files (7 LOC)
  • " *.json" is biggest, containing 78.95% of LOC.
  • " *.mod" is smallest, containing 0.87% of LOC.


*.json634 LOC (78%) 6 files
*.md122 LOC (15%) 9 files
*.svg40 LOC (4%) 12 files
*.mod7 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2026-04-18 13:02