JetBrains / MSBuildStructuredLog
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
cmd
nuspec
proj
gitattributes
targets
plist
cake
editorconfig
props
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.

main28229 LOC (92%) 221 files
test1013 LOC (3%) 14 files
generated0 LOC (0%) 0 files
build and deployment403 LOC (1%) 11 files
other937 LOC (3%) 13 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
xaml
cake
props
cmd
targets
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 221 files match defined criteria (28,229 LOC, 100.0% vs. main code):
    • 197 *.cs files (26,538 LOC)
    • 15 *.xaml files (1,541 LOC)
    • 1 *.cake files (91 LOC)
    • 2 *.ps1 files (24 LOC)
    • 1 *.props files (21 LOC)
    • 1 *.xml files (9 LOC)
    • 3 *.cmd files (3 LOC)
    • 1 *.targets files (2 LOC)
  • " *.cs" is biggest, containing 94.01% of LOC.
  • " *.targets" is smallest, containing 0.01% of LOC.


*.cs26538 LOC (94%) 197 files
*.xaml1541 LOC (5%) 15 files
*.cake91 LOC (<1%) 1 file
*.ps124 LOC (<1%) 2 files
*.props21 LOC (<1%) 1 file
*.xml9 LOC (<1%) 1 file
*.cmd3 LOC (<1%) 3 files
*.targets2 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
proj
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]ests/.*".
  • 14 files match defined criteria (1,013 LOC, 3.6% vs. main code):
    • 11 *.cs files (914 LOC)
    • 2 *.proj files (63 LOC)
    • 1 *.csproj files (36 LOC)
  • " *.cs" is biggest, containing 90.23% of LOC.
  • " *.csproj" is smallest, containing 3.55% of LOC.


*.cs914 LOC (90%) 11 files
*.proj63 LOC (6%) 2 files
*.csproj36 LOC (3%) 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 ".*[.]sh".
    • files with paths like ".*[.]csproj".
    • files with paths like ".*[.]nuspec".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitattributes".
  • 11 files match defined criteria (403 LOC, 1.4% vs. main code):
    • 7 *.csproj files (308 LOC)
    • 2 *.nuspec files (90 LOC)
    • 2 *.sh files (5 LOC)
  • " *.csproj" is biggest, containing 76.43% of LOC.
  • " *.sh" is smallest, containing 1.24% of LOC.


*.csproj308 LOC (76%) 7 files
*.nuspec90 LOC (22%) 2 files
*.sh5 LOC (1%) 2 files
Other Code
txt
plist
csproj
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 ".*[.]json".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*[.]plist".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
  • 13 files match defined criteria (937 LOC, 3.3% vs. main code):
    • 4 *.json files (731 LOC)
    • 2 *.md files (85 LOC)
    • 4 *.txt files (57 LOC)
    • 1 *.cs files (31 LOC)
    • 1 *.plist files (24 LOC)
    • 1 *.csproj files (9 LOC)
  • " *.json" is biggest, containing 78.01% of LOC.
  • " *.csproj" is smallest, containing 0.96% of LOC.


*.json731 LOC (78%) 4 files
*.md85 LOC (9%) 2 files
*.txt57 LOC (6%) 4 files
*.cs31 LOC (3%) 1 file
*.plist24 LOC (2%) 1 file
*.csproj9 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2026-01-18 17:22