JetBrains / space-app-tutorials
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
properties
csproj
gitattributes
txt
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.

main4638 LOC (78%) 134 files
test0 LOC (0%) 0 files
generated0 LOC (0%) 0 files
build and deployment682 LOC (11%) 20 files
other602 LOC (10%) 29 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 ".*".
  • 134 files match defined criteria (4,638 LOC, 100.0% vs. main code):
    • 57 *.kt files (2,048 LOC)
    • 19 *.cs files (959 LOC)
    • 15 *.tsx files (554 LOC)
    • 10 *.kts files (355 LOC)
    • 12 *.css files (264 LOC)
    • 6 *.ts files (233 LOC)
    • 5 *.js files (105 LOC)
    • 8 *.xml files (96 LOC)
    • 2 *.html files (24 LOC)
  • " *.kt" is biggest, containing 44.16% of LOC.
  • " *.html" is smallest, containing 0.52% of LOC.


*.kt2048 LOC (44%) 57 files
*.cs959 LOC (20%) 19 files
*.tsx554 LOC (11%) 15 files
*.kts355 LOC (7%) 10 files
*.css264 LOC (5%) 12 files
*.ts233 LOC (5%) 6 files
*.js105 LOC (2%) 5 files
*.xml96 LOC (2%) 8 files
*.html24 LOC (<1%) 2 files
Build and Deployment Code
Source code used to configure or support build and deployment process.
csproj
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/docker[-]compose[.]yaml".
    • files with paths like ".*[.]bat".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]gradle".
    • files with paths like ".*[.]csproj".
    • files with paths like ".*/[.]gitattributes".
  • 20 files match defined criteria (682 LOC, 14.7% vs. main code):
    • 8 *.bat files (544 LOC)
    • 4 *.yaml files (60 LOC)
    • 2 *.csproj files (43 LOC)
    • 6 *.gradle files (35 LOC)
  • " *.bat" is biggest, containing 79.77% of LOC.
  • " *.gradle" is smallest, containing 5.13% of LOC.


*.bat544 LOC (79%) 8 files
*.yaml60 LOC (8%) 4 files
*.csproj43 LOC (6%) 2 files
*.gradle35 LOC (5%) 6 files
Other Code
properties
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 ".*[.]properties".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
  • 29 files match defined criteria (602 LOC, 13.0% vs. main code):
    • 10 *.json files (246 LOC)
    • 7 *.md files (245 LOC)
    • 8 *.properties files (80 LOC)
    • 4 *.svg files (31 LOC)
  • " *.json" is biggest, containing 40.86% of LOC.
  • " *.svg" is smallest, containing 5.15% of LOC.


*.json246 LOC (40%) 10 files
*.md245 LOC (40%) 7 files
*.properties80 LOC (13%) 8 files
*.svg31 LOC (5%) 4 files
Analyzers
Info about analyzers used for source code examinations.


2026-01-18 17:16