JetBrains / teamcity-nuget-support
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
nuspec
editorconfig
dotsettings
properties
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.

main23991 LOC (41%) 533 files
test31086 LOC (53%) 234 files
generated0 LOC (0%) 0 files
build and deployment1899 LOC (3%) 22 files
other693 LOC (1%) 16 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 ".*".
  • 533 files match defined criteria (23,991 LOC, 100.0% vs. main code):
    • 286 *.java files (14,169 LOC)
    • 93 *.cs files (4,183 LOC)
    • 104 *.kt files (3,579 LOC)
    • 18 *.jsp files (1,086 LOC)
    • 29 *.xml files (789 LOC)
    • 1 *.js files (156 LOC)
    • 1 *.toml files (16 LOC)
    • 1 *.css files (13 LOC)
  • " *.java" is biggest, containing 59.06% of LOC.
  • " *.css" is smallest, containing 0.05% of LOC.


*.java14169 LOC (59%) 286 files
*.cs4183 LOC (17%) 93 files
*.kt3579 LOC (14%) 104 files
*.jsp1086 LOC (4%) 18 files
*.xml789 LOC (3%) 29 files
*.js156 LOC (<1%) 1 file
*.toml16 LOC (<1%) 1 file
*.css13 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
csproj
nuspec
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[-]tests[-].*".
    • files with paths like ".*[-]tests/.*".
    • files with paths like ".*/[Tt]ests/.*".
  • 234 files match defined criteria (31,086 LOC, 129.6% vs. main code):
    • 127 *.java files (15,785 LOC)
    • 49 *.xml files (10,665 LOC)
    • 19 *.kt files (2,487 LOC)
    • 20 *.cs files (1,335 LOC)
    • 7 *.csproj files (529 LOC)
    • 11 *.nuspec files (214 LOC)
    • 1 *.gradle files (71 LOC)
  • " *.java" is biggest, containing 50.78% of LOC.
  • " *.gradle" is smallest, containing 0.23% of LOC.


*.java15785 LOC (50%) 127 files
*.xml10665 LOC (34%) 49 files
*.kt2487 LOC (8%) 19 files
*.cs1335 LOC (4%) 20 files
*.csproj529 LOC (1%) 7 files
*.nuspec214 LOC (<1%) 11 files
*.gradle71 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 ".*[.]gradle".
    • files with paths like ".*[.]csproj".
    • files with paths like ".*[.]bat".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]nuspec".
  • 22 files match defined criteria (1,899 LOC, 7.9% vs. main code):
    • 13 *.csproj files (1,548 LOC)
    • 8 *.gradle files (290 LOC)
    • 1 *.bat files (61 LOC)
  • " *.csproj" is biggest, containing 81.52% of LOC.
  • " *.bat" is smallest, containing 3.21% of LOC.


*.csproj1548 LOC (81%) 13 files
*.gradle290 LOC (15%) 8 files
*.bat61 LOC (3%) 1 file
Other Code
txt
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 ".*[.]properties".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
  • 16 files match defined criteria (693 LOC, 2.9% vs. main code):
    • 12 *.txt files (477 LOC)
    • 3 *.json files (192 LOC)
    • 1 *.md files (24 LOC)
  • " *.txt" is biggest, containing 68.83% of LOC.
  • " *.md" is smallest, containing 3.46% of LOC.


*.txt477 LOC (68%) 12 files
*.json192 LOC (27%) 3 files
*.md24 LOC (3%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2026-01-18 16:35