JetBrains / teamcity-dotnet-plugin
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
txt
properties
proj
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.

main26856 LOC (32%) 830 files
test45895 LOC (54%) 426 files
generated18 LOC (<1%) 1 file
build and deployment384 LOC (<1%) 10 files
other10346 LOC (12%) 24 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 ".*".
  • 830 files match defined criteria (26,856 LOC, 100.0% vs. main code):
    • 647 *.kt files (19,444 LOC)
    • 113 *.cs files (2,837 LOC)
    • 27 *.xml files (2,699 LOC)
    • 42 *.jsp files (1,869 LOC)
    • 1 *.css files (7 LOC)
  • " *.kt" is biggest, containing 72.4% of LOC.
  • " *.css" is smallest, containing 0.03% of LOC.


*.kt19444 LOC (72%) 647 files
*.cs2837 LOC (10%) 113 files
*.xml2699 LOC (10%) 27 files
*.jsp1869 LOC (6%) 42 files
*.css7 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
csproj
proj
nuspec
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 ".*[.]UnitTests/.*".
    • files with paths like ".*UnitTests[.][a-zA-Z0-9_]+".
    • files with paths like ".*[-]test[-].*".
  • 426 files match defined criteria (45,895 LOC, 170.9% vs. main code):
    • 341 *.kt files (33,595 LOC)
    • 11 *.xml files (8,313 LOC)
    • 62 *.cs files (3,653 LOC)
    • 9 *.csproj files (269 LOC)
    • 1 *.proj files (30 LOC)
    • 1 *.nuspec files (21 LOC)
    • 1 *.dockerfile files (14 LOC)
  • " *.kt" is biggest, containing 73.2% of LOC.
  • " *.dockerfile" is smallest, containing 0.03% of LOC.


*.kt33595 LOC (73%) 341 files
*.xml8313 LOC (18%) 11 files
*.cs3653 LOC (7%) 62 files
*.csproj269 LOC (<1%) 9 files
*.proj30 LOC (<1%) 1 file
*.nuspec21 LOC (<1%) 1 file
*.dockerfile14 LOC (<1%) 1 file
Generated Code
Automatically generated files, not manually changed after generation.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with any line of content like "\<\!\-\-[ ]*Generated by .*".
  • 1 file matches defined criteria (18 LOC, 0.1% vs. main code). All matches are in *.xml files.


*.xml18 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 ".*[.]nuspec".
    • files with paths like ".*[.]gradle".
    • files with paths like ".*[.]bat".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]dockerfile".
  • 10 files match defined criteria (384 LOC, 1.4% vs. main code):
    • 8 *.gradle files (281 LOC)
    • 1 *.bat files (70 LOC)
    • 1 *.csproj files (33 LOC)
  • " *.gradle" is biggest, containing 73.18% of LOC.
  • " *.csproj" is smallest, containing 8.59% of LOC.


*.gradle281 LOC (73%) 8 files
*.bat70 LOC (18%) 1 file
*.csproj33 LOC (8%) 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 ".*[.]properties".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
  • 24 files match defined criteria (10,346 LOC, 38.5% vs. main code):
    • 3 *.txt files (8,818 LOC)
    • 15 *.json files (1,348 LOC)
    • 2 *.md files (114 LOC)
    • 3 *.svg files (65 LOC)
    • 1 *.properties files (1 LOC)
  • " *.txt" is biggest, containing 85.23% of LOC.
  • " *.properties" is smallest, containing 0.01% of LOC.


*.txt8818 LOC (85%) 3 files
*.json1348 LOC (13%) 15 files
*.md114 LOC (1%) 2 files
*.svg65 LOC (<1%) 3 files
*.properties1 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2026-01-18 16:45