JetBrains / JetAsteroids
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
meta
mat
asset
shader
txt
cginc
dae
gitattributes
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.

main63751 LOC (86%) 134 files
test0 LOC (0%) 0 files
generated9089 LOC (12%) 277 files
build and deployment0 LOC (0%) 0 files
other805 LOC (1%) 16 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
mat
asset
shader
cginc
dae
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 134 files match defined criteria (63,751 LOC, 100.0% vs. main code):
    • 33 *.prefab files (43,173 LOC)
    • 5 *.unity files (10,797 LOC)
    • 40 *.mat files (3,863 LOC)
    • 24 *.asset files (3,032 LOC)
    • 13 *.shader files (2,076 LOC)
    • 14 *.cs files (463 LOC)
    • 4 *.cginc files (344 LOC)
    • 1 *.dae files (3 LOC)
  • " *.prefab" is biggest, containing 67.72% of LOC.
  • " *.dae" is smallest, containing 0% of LOC.


*.prefab43173 LOC (67%) 33 files
*.unity10797 LOC (16%) 5 files
*.mat3863 LOC (6%) 40 files
*.asset3032 LOC (4%) 24 files
*.shader2076 LOC (3%) 13 files
*.cs463 LOC (<1%) 14 files
*.cginc344 LOC (<1%) 4 files
*.dae3 LOC (<1%) 1 file
Generated Code
Automatically generated files, not manually changed after generation.
meta
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]meta" AND any line of content like ".*fileFormatVersion[:] .*".
  • 277 files match defined criteria (9,089 LOC, 14.3% vs. main code). All matches are in *.meta files.


*.meta9089 LOC (100%) 277 files
Other Code
txt
meta
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 ".*[.]json".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[Dd]ocumentation/.*".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
  • 16 files match defined criteria (805 LOC, 1.3% vs. main code):
    • 5 *.json files (714 LOC)
    • 8 *.txt files (61 LOC)
    • 2 *.meta files (16 LOC)
    • 1 *.md files (14 LOC)
  • " *.json" is biggest, containing 88.7% of LOC.
  • " *.md" is smallest, containing 1.74% of LOC.


*.json714 LOC (88%) 5 files
*.txt61 LOC (7%) 8 files
*.meta16 LOC (1%) 2 files
*.md14 LOC (1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2026-01-18 17:33