JetBrains / format-ripper
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
csproj
properties
editorconfig
ss
resx
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.

main12415 LOC (52%) 187 files
test8810 LOC (37%) 52 files
generated58 LOC (<1%) 1 file
build and deployment177 LOC (<1%) 6 files
other2256 LOC (9%) 13 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 ".*".
  • 187 files match defined criteria (12,415 LOC, 100.0% vs. main code):
    • 136 *.cs files (8,086 LOC)
    • 49 *.kt files (4,179 LOC)
    • 2 *.kts files (150 LOC)
  • " *.cs" is biggest, containing 65.13% of LOC.
  • " *.kts" is smallest, containing 1.21% of LOC.


*.cs8086 LOC (65%) 136 files
*.kt4179 LOC (33%) 49 files
*.kts150 LOC (1%) 2 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
ss
csproj
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*[.][Tt]ests[.].*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/test[.].*".
  • 52 files match defined criteria (8,810 LOC, 71.0% vs. main code):
    • 1 *.ss files (5,435 LOC)
    • 34 *.cs files (2,104 LOC)
    • 14 *.kt files (1,181 LOC)
    • 3 *.csproj files (90 LOC)
  • " *.ss" is biggest, containing 61.69% of LOC.
  • " *.csproj" is smallest, containing 1.02% of LOC.


*.ss5435 LOC (61%) 1 file
*.cs2104 LOC (23%) 34 files
*.kt1181 LOC (13%) 14 files
*.csproj90 LOC (1%) 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 ".*[.]cs" AND any line of content like "[/][/][ ]*".
  • 1 file matches defined criteria (58 LOC, 0.5% vs. main code). All matches are in *.cs files.


*.cs58 LOC (100%) 1 file
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 ".*[.]csproj".
    • files with paths like ".*[.]bat".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]sh".
  • 6 files match defined criteria (177 LOC, 1.4% vs. main code):
    • 3 *.csproj files (102 LOC)
    • 1 *.bat files (73 LOC)
    • 2 *.sh files (2 LOC)
  • " *.csproj" is biggest, containing 57.63% of LOC.
  • " *.sh" is smallest, containing 1.13% of LOC.


*.csproj102 LOC (57%) 3 files
*.bat73 LOC (41%) 1 file
*.sh2 LOC (1%) 2 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 ".*[.]editorconfig".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]txt".
  • 13 files match defined criteria (2,256 LOC, 18.2% vs. main code):
    • 7 *.json files (1,915 LOC)
    • 5 *.md files (340 LOC)
    • 1 *.properties files (1 LOC)
  • " *.json" is biggest, containing 84.88% of LOC.
  • " *.properties" is smallest, containing 0.04% of LOC.


*.json1915 LOC (84%) 7 files
*.md340 LOC (15%) 5 files
*.properties1 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.
  • *.cs files are analyzed with CSharpAnalyzer:
    • All basic standard analyses supported (source code overview, duplication, file size, concerns, findings, metrics, controls)
    • Advanced code cleaning (empty lines and comments removed for LOC calculations, additional cleaning for duplication calculations)
    • Unit size analysis
    • Conditional complexity analysis
    • Advanced heuristic dependency analysis (based on namespace heuristics)
  • *.kt files are analyzed with KotlinAnalyzer:
    • All basic standard analyses supported (source code overview, duplication, file size, concerns, findings, metrics, controls)
    • Advanced code cleaning (empty lines and comments removed for LOC calculations, additional cleaning for duplication calculations)
    • Unit size analysis
    • Conditional complexity analysis
    • Basic heuristic dependency analysis (based on imports and package statements)
  • *.kts files are analyzed with KotlinAnalyzer:
    • All basic standard analyses supported (source code overview, duplication, file size, concerns, findings, metrics, controls)
    • Advanced code cleaning (empty lines and comments removed for LOC calculations, additional cleaning for duplication calculations)
    • Unit size analysis
    • Conditional complexity analysis
    • Basic heuristic dependency analysis (based on imports and package statements)


2026-01-18 17:22