JetBrains / resharper-fsharp
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
fs
fsi
fsproj
txt
fsx
csproj
editorconfig
targets
props
resx
properties
lex
gitattributes
flex
dotsettings
proj
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.

main72071 LOC (61%) 1,121 files
test42882 LOC (36%) 5,766 files
generated0 LOC (0%) 0 files
build and deployment492 LOC (<1%) 10 files
other1594 LOC (1%) 56 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
fs
fsproj
lex
flex
targets
props
fsx
proj
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 1121 files match defined criteria (72,071 LOC, 100.0% vs. main code):
    • 384 *.fs files (36,044 LOC)
    • 596 *.cs files (26,835 LOC)
    • 99 *.kt files (4,100 LOC)
    • 10 *.xml files (2,097 LOC)
    • 7 *.fsproj files (763 LOC)
    • 2 *.lex files (656 LOC)
    • 5 *.kts files (618 LOC)
    • 2 *.java files (493 LOC)
    • 1 *.flex files (323 LOC)
    • 5 *.targets files (71 LOC)
    • 6 *.props files (56 LOC)
    • 1 *.fsx files (5 LOC)
    • 1 *.html files (5 LOC)
    • 1 *.toml files (4 LOC)
    • 1 *.proj files (1 LOC)
  • " *.fs" is biggest, containing 50.01% of LOC.
  • " *.proj" is smallest, containing 0% of LOC.


*.fs36044 LOC (50%) 384 files
*.cs26835 LOC (37%) 596 files
*.kt4100 LOC (5%) 99 files
*.xml2097 LOC (2%) 10 files
*.fsproj763 LOC (1%) 7 files
*.lex656 LOC (<1%) 2 files
*.kts618 LOC (<1%) 5 files
*.java493 LOC (<1%) 2 files
*.flex323 LOC (<1%) 1 file
*.targets71 LOC (<1%) 5 files
*.props56 LOC (<1%) 6 files
*.fsx5 LOC (<1%) 1 file
*.html5 LOC (<1%) 1 file
*.toml4 LOC (<1%) 1 file
*.proj1 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
fs
fsproj
fsi
csproj
targets
fsx
props
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 ".*[.][Tt]ests/.*".
  • 5766 files match defined criteria (42,882 LOC, 59.5% vs. main code):
    • 5,369 *.fs files (35,738 LOC)
    • 37 *.kt files (4,045 LOC)
    • 131 *.cs files (1,423 LOC)
    • 44 *.fsproj files (965 LOC)
    • 151 *.fsi files (520 LOC)
    • 7 *.csproj files (88 LOC)
    • 3 *.targets files (37 LOC)
    • 20 *.fsx files (30 LOC)
    • 2 *.xml files (21 LOC)
    • 1 *.vb files (9 LOC)
    • 1 *.props files (6 LOC)
  • " *.fs" is biggest, containing 83.34% of LOC.
  • " *.props" is smallest, containing 0.01% of LOC.


*.fs35738 LOC (83%) 5,369 files
*.kt4045 LOC (9%) 37 files
*.cs1423 LOC (3%) 131 files
*.fsproj965 LOC (2%) 44 files
*.fsi520 LOC (1%) 151 files
*.csproj88 LOC (<1%) 7 files
*.targets37 LOC (<1%) 3 files
*.fsx30 LOC (<1%) 20 files
*.xml21 LOC (<1%) 2 files
*.vb9 LOC (<1%) 1 file
*.props6 LOC (<1%) 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]csproj".
    • files with paths like ".*[.]bat".
    • files with paths like ".*/[.]gitattributes".
  • 10 files match defined criteria (492 LOC, 0.7% vs. main code):
    • 9 *.csproj files (361 LOC)
    • 1 *.bat files (131 LOC)
  • " *.csproj" is biggest, containing 73.37% of LOC.
  • " *.bat" is smallest, containing 26.63% of LOC.


*.csproj361 LOC (73%) 9 files
*.bat131 LOC (26%) 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 ".*/[.]gitignore".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]json".
  • 56 files match defined criteria (1,594 LOC, 2.2% vs. main code):
    • 2 *.md files (767 LOC)
    • 10 *.json files (396 LOC)
    • 23 *.txt files (284 LOC)
    • 19 *.svg files (99 LOC)
    • 2 *.properties files (48 LOC)
  • " *.md" is biggest, containing 48.12% of LOC.
  • " *.properties" is smallest, containing 3.01% of LOC.


*.md767 LOC (48%) 2 files
*.json396 LOC (24%) 10 files
*.txt284 LOC (17%) 23 files
*.svg99 LOC (6%) 19 files
*.properties48 LOC (3%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2026-01-18 16:50