JetBrains / teamcity-csharp-interactive
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
csx
csproj
razor
cmd
cshtml
props
targets
dotsettings
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.

main8599 LOC (47%) 279 files
test6261 LOC (34%) 135 files
generated0 LOC (0%) 0 files
build and deployment276 LOC (1%) 6 files
other2880 LOC (15%) 57 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
props
targets
cmd
csx
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 279 files match defined criteria (8,599 LOC, 100.0% vs. main code):
    • 271 *.cs files (8,521 LOC)
    • 2 *.props files (43 LOC)
    • 1 *.xml files (13 LOC)
    • 1 *.targets files (11 LOC)
    • 2 *.cmd files (8 LOC)
    • 2 *.csx files (3 LOC)
  • " *.cs" is biggest, containing 99.09% of LOC.
  • " *.csx" is smallest, containing 0.03% of LOC.


*.cs8521 LOC (99%) 271 files
*.props43 LOC (<1%) 2 files
*.xml13 LOC (<1%) 1 file
*.targets11 LOC (<1%) 1 file
*.cmd8 LOC (<1%) 2 files
*.csx3 LOC (<1%) 2 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
csproj
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.][Tt]ests/.*".
    • files with paths like ".*[.][Tt]ests[.].*".
  • 135 files match defined criteria (6,261 LOC, 72.8% vs. main code):
    • 134 *.cs files (6,211 LOC)
    • 1 *.csproj files (50 LOC)
  • " *.cs" is biggest, containing 99.2% of LOC.
  • " *.csproj" is smallest, containing 0.8% of LOC.


*.cs6211 LOC (99%) 134 files
*.csproj50 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 ".*[.]csproj".
    • files with paths like ".*/pom[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 6 files match defined criteria (276 LOC, 3.2% vs. main code). All matches are in *.csproj files.


*.csproj276 LOC (100%) 6 files
Other Code
csx
csproj
razor
cshtml
cmd
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 ".*/[Ss]amples/.*".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
  • 57 files match defined criteria (2,880 LOC, 33.5% vs. main code):
    • 4 *.md files (1,284 LOC)
    • 1 *.svg files (544 LOC)
    • 17 *.cs files (480 LOC)
    • 15 *.csx files (150 LOC)
    • 1 *.css files (148 LOC)
    • 7 *.csproj files (107 LOC)
    • 5 *.razor files (62 LOC)
    • 3 *.json files (54 LOC)
    • 2 *.cshtml files (48 LOC)
    • 2 *.cmd files (3 LOC)
  • " *.md" is biggest, containing 44.58% of LOC.
  • " *.cmd" is smallest, containing 0.1% of LOC.


*.md1284 LOC (44%) 4 files
*.svg544 LOC (18%) 1 file
*.cs480 LOC (16%) 17 files
*.csx150 LOC (5%) 15 files
*.css148 LOC (5%) 1 file
*.csproj107 LOC (3%) 7 files
*.razor62 LOC (2%) 5 files
*.json54 LOC (1%) 3 files
*.cshtml48 LOC (1%) 2 files
*.cmd3 LOC (<1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2026-01-18 17:20