JetBrains / typescript-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
diff
txt
jsonc
mod
gitattributes
mjs
gitmodules
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.

main132583 LOC (46%) 411 files
test32084 LOC (11%) 149 files
generated112311 LOC (39%) 2,763 files
build and deployment0 LOC (0%) 0 files
other10755 LOC (3%) 30 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
mjs
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 411 files match defined criteria (132,583 LOC, 100.0% vs. main code):
    • 384 *.go files (125,832 LOC)
    • 25 *.ts files (5,514 LOC)
    • 1 *.mjs files (1,205 LOC)
    • 1 *.js files (32 LOC)
  • " *.go" is biggest, containing 94.91% of LOC.
  • " *.js" is smallest, containing 0.02% of LOC.


*.go125832 LOC (94%) 384 files
*.ts5514 LOC (4%) 25 files
*.mjs1205 LOC (<1%) 1 file
*.js32 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 ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*_test[.].*".
    • files with paths like ".*/test_.*".
  • 149 files match defined criteria (32,084 LOC, 24.2% vs. main code):
    • 146 *.go files (30,887 LOC)
    • 3 *.ts files (1,197 LOC)
  • " *.go" is biggest, containing 96.27% of LOC.
  • " *.ts" is smallest, containing 3.73% of LOC.


*.go30887 LOC (96%) 146 files
*.ts1197 LOC (3%) 3 files
Generated Code
Automatically generated files, not manually changed after generation.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]generated[.][a-zA-Z]+".
    • files with paths like ".*/package[-]lock[.]json".
    • files with paths like ".*_generated[.][a-z]+".
    • files with paths like ".*/gen/.*[.]go".
  • 2763 files match defined criteria (112,311 LOC, 84.7% vs. main code):
    • 2,762 *.go files (103,165 LOC)
    • 1 *.json files (9,146 LOC)
  • " *.go" is biggest, containing 91.86% of LOC.
  • " *.json" is smallest, containing 8.14% of LOC.


*.go103165 LOC (91%) 2,762 files
*.json9146 LOC (8%) 1 file
Other Code
txt
mod
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 ".*/go[.]mod".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]diff".
    • files with paths like ".*/[Dd]emos?/.*".
    • files with paths like ".*/[.]gitignore".
  • 30 files match defined criteria (10,755 LOC, 8.1% vs. main code):
    • 17 *.json files (9,652 LOC)
    • 2 *.txt files (594 LOC)
    • 9 *.md files (463 LOC)
    • 2 *.mod files (46 LOC)
  • " *.json" is biggest, containing 89.74% of LOC.
  • " *.mod" is smallest, containing 0.43% of LOC.


*.json9652 LOC (89%) 17 files
*.txt594 LOC (5%) 2 files
*.md463 LOC (4%) 9 files
*.mod46 LOC (<1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2026-01-18 17:42