JetBrains / TeamCity.VSTest.TestAdapter
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
cmd
proj
props
txt
dotsettings
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.

main1358 LOC (42%) 44 files
test1548 LOC (48%) 27 files
generated0 LOC (0%) 0 files
build and deployment78 LOC (2%) 2 files
other208 LOC (6%) 12 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
proj
props
cmd
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 44 files match defined criteria (1,358 LOC, 100.0% vs. main code):
    • 41 *.cs files (1,131 LOC)
    • 1 *.proj files (146 LOC)
    • 1 *.props files (78 LOC)
    • 1 *.cmd files (3 LOC)
  • " *.cs" is biggest, containing 83.28% of LOC.
  • " *.cmd" is smallest, containing 0.22% of LOC.


*.cs1131 LOC (83%) 41 files
*.proj146 LOC (10%) 1 file
*.props78 LOC (5%) 1 file
*.cmd3 LOC (<1%) 1 file
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 ".*/test[.].*".
    • files with paths like ".*[.][Tt]ests[.].*".
    • files with paths like ".*UnitTests[.][a-zA-Z0-9_]+".
    • files with paths like ".*/test_.*".
    • files with paths like ".*/IntegrationTests?/.*".
  • 27 files match defined criteria (1,548 LOC, 114.0% vs. main code):
    • 23 *.cs files (1,471 LOC)
    • 4 *.csproj files (77 LOC)
  • " *.cs" is biggest, containing 95.03% of LOC.
  • " *.csproj" is smallest, containing 4.97% of LOC.


*.cs1471 LOC (95%) 23 files
*.csproj77 LOC (4%) 4 files
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 ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 2 files match defined criteria (78 LOC, 5.7% vs. main code):
    • 1 *.csproj files (75 LOC)
    • 1 *.sh files (3 LOC)
  • " *.csproj" is biggest, containing 96.15% of LOC.
  • " *.sh" is smallest, containing 3.85% of LOC.


*.csproj75 LOC (96%) 1 file
*.sh3 LOC (3%) 1 file
Other Code
csproj
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 ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
  • 12 files match defined criteria (208 LOC, 15.3% vs. main code):
    • 1 *.md files (104 LOC)
    • 2 *.cs files (35 LOC)
    • 2 *.csproj files (33 LOC)
    • 6 *.cmd files (22 LOC)
    • 1 *.json files (14 LOC)
  • " *.md" is biggest, containing 50% of LOC.
  • " *.json" is smallest, containing 6.73% of LOC.


*.md104 LOC (50%) 1 file
*.cs35 LOC (16%) 2 files
*.csproj33 LOC (15%) 2 files
*.cmd22 LOC (10%) 6 files
*.json14 LOC (6%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2026-01-18 16:50