JetBrains / il-repack
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
xaml
csproj
txt
props
properties
gitattributes
resx
editorconfig
nuspec
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.

main8661 LOC (74%) 123 files
test1433 LOC (12%) 20 files
generated39 LOC (<1%) 1 file
build and deployment1280 LOC (10%) 13 files
other241 LOC (2%) 11 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
xaml
props
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 123 files match defined criteria (8,661 LOC, 100.0% vs. main code):
    • 107 *.cs files (8,476 LOC)
    • 14 *.xaml files (173 LOC)
    • 2 *.props files (12 LOC)
  • " *.cs" is biggest, containing 97.86% of LOC.
  • " *.props" is smallest, containing 0.14% of LOC.


*.cs8476 LOC (97%) 107 files
*.xaml173 LOC (1%) 14 files
*.props12 LOC (<1%) 2 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
csproj
xaml
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.][Tt]ests/.*".
    • files with paths like ".*[.][Tt]ests[.].*".
  • 20 files match defined criteria (1,433 LOC, 16.5% vs. main code):
    • 11 *.cs files (1,227 LOC)
    • 1 *.csproj files (145 LOC)
    • 8 *.xaml files (61 LOC)
  • " *.cs" is biggest, containing 85.62% of LOC.
  • " *.xaml" is smallest, containing 4.26% of LOC.


*.cs1227 LOC (85%) 11 files
*.csproj145 LOC (10%) 1 file
*.xaml61 LOC (4%) 8 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 (39 LOC, 0.5% vs. main code). All matches are in *.cs files.


*.cs39 LOC (100%) 1 file
Build and Deployment Code
Source code used to configure or support build and deployment process.
csproj
nuspec
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]bat".
    • files with paths like ".*[.]gradle".
    • files with paths like ".*[.]nuspec".
    • files with paths like ".*[.]csproj".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitattributes".
  • 13 files match defined criteria (1,280 LOC, 14.8% vs. main code):
    • 10 *.csproj files (1,087 LOC)
    • 1 *.gradle files (110 LOC)
    • 1 *.bat files (61 LOC)
    • 1 *.nuspec files (22 LOC)
  • " *.csproj" is biggest, containing 84.92% of LOC.
  • " *.nuspec" is smallest, containing 1.72% of LOC.


*.csproj1087 LOC (84%) 10 files
*.gradle110 LOC (8%) 1 file
*.bat61 LOC (4%) 1 file
*.nuspec22 LOC (1%) 1 file
Other Code
txt
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 ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]json".
  • 11 files match defined criteria (241 LOC, 2.8% vs. main code):
    • 7 *.md files (183 LOC)
    • 2 *.txt files (54 LOC)
    • 1 *.json files (3 LOC)
    • 1 *.properties files (1 LOC)
  • " *.md" is biggest, containing 75.93% of LOC.
  • " *.properties" is smallest, containing 0.41% of LOC.


*.md183 LOC (75%) 7 files
*.txt54 LOC (22%) 2 files
*.json3 LOC (1%) 1 file
*.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)
  • *.xaml files are analyzed with XmlAnalyzer:
    • 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)
    • No unit size analysis
    • No conditional complexity analysis
    • No dependency analysis
  • *.props files are analyzed with XmlAnalyzer:
    • 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)
    • No unit size analysis
    • No conditional complexity analysis
    • No dependency analysis


2026-01-18 17:14