JetBrains / JetBrains.Annotations
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
props
nuspec
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.

main1207 LOC (86%) 4 files
test0 LOC (0%) 0 files
generated0 LOC (0%) 0 files
build and deployment164 LOC (11%) 5 files
other30 LOC (2%) 4 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
props
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 4 files match defined criteria (1,207 LOC, 100.0% vs. main code):
    • 2 *.cs files (1,161 LOC)
    • 2 *.props files (46 LOC)
  • " *.cs" is biggest, containing 96.19% of LOC.
  • " *.props" is smallest, containing 3.81% of LOC.


*.cs1161 LOC (96%) 2 files
*.props46 LOC (3%) 2 files
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 ".*[.]csproj".
    • files with paths like ".*[.]nuspec".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 5 files match defined criteria (164 LOC, 13.6% vs. main code):
    • 3 *.csproj files (102 LOC)
    • 2 *.nuspec files (62 LOC)
  • " *.csproj" is biggest, containing 62.2% of LOC.
  • " *.nuspec" is smallest, containing 37.8% of LOC.


*.csproj102 LOC (62%) 3 files
*.nuspec62 LOC (37%) 2 files
Other Code
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]txt".
  • 4 files match defined criteria (30 LOC, 2.5% vs. main code):
    • 2 *.md files (22 LOC)
    • 1 *.json files (7 LOC)
    • 1 *.svg files (1 LOC)
  • " *.md" is biggest, containing 73.33% of LOC.
  • " *.svg" is smallest, containing 3.33% of LOC.


*.md22 LOC (73%) 2 files
*.json7 LOC (23%) 1 file
*.svg1 LOC (3%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2026-01-18 17:21