JetBrains / azure-artifacts-credprovider
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
txt
resx
targets
nuspec
cmd
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.

main3671 LOC (65%) 65 files
test1350 LOC (24%) 16 files
generated0 LOC (0%) 0 files
build and deployment187 LOC (3%) 12 files
other377 LOC (6%) 9 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
cmd
props
targets
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 65 files match defined criteria (3,671 LOC, 100.0% vs. main code):
    • 55 *.cs files (3,070 LOC)
    • 1 *.cmd files (198 LOC)
    • 3 *.ps1 files (190 LOC)
    • 1 *.py files (129 LOC)
    • 3 *.props files (51 LOC)
    • 1 *.targets files (18 LOC)
    • 1 *.yaml files (15 LOC)
  • " *.cs" is biggest, containing 83.63% of LOC.
  • " *.yaml" is smallest, containing 0.41% of LOC.


*.cs3070 LOC (83%) 55 files
*.cmd198 LOC (5%) 1 file
*.ps1190 LOC (5%) 3 files
*.py129 LOC (3%) 1 file
*.props51 LOC (1%) 3 files
*.targets18 LOC (<1%) 1 file
*.yaml15 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 ".*/test[.].*".
    • files with paths like ".*[.][Tt]ests/.*".
    • files with paths like ".*[.][Tt]ests[.].*".
  • 16 files match defined criteria (1,350 LOC, 36.8% vs. main code):
    • 13 *.cs files (1,265 LOC)
    • 2 *.csproj files (43 LOC)
    • 1 *.bat files (42 LOC)
  • " *.cs" is biggest, containing 93.7% of LOC.
  • " *.bat" is smallest, containing 3.11% of LOC.


*.cs1265 LOC (93%) 13 files
*.csproj43 LOC (3%) 2 files
*.bat42 LOC (3%) 1 file
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 ".*[.]sh".
    • files with paths like ".*[.]bat".
    • files with paths like ".*[.]csproj".
    • files with paths like ".*[.]nuspec".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 12 files match defined criteria (187 LOC, 5.1% vs. main code):
    • 6 *.sh files (79 LOC)
    • 2 *.csproj files (78 LOC)
    • 1 *.nuspec files (22 LOC)
    • 3 *.bat files (8 LOC)
  • " *.sh" is biggest, containing 42.25% of LOC.
  • " *.bat" is smallest, containing 4.28% of LOC.


*.sh79 LOC (42%) 6 files
*.csproj78 LOC (41%) 2 files
*.nuspec22 LOC (11%) 1 file
*.bat8 LOC (4%) 3 files
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 ".*[.]txt".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
  • 9 files match defined criteria (377 LOC, 10.3% vs. main code):
    • 6 *.md files (330 LOC)
    • 2 *.txt files (44 LOC)
    • 1 *.json files (3 LOC)
  • " *.md" is biggest, containing 87.53% of LOC.
  • " *.json" is smallest, containing 0.8% of LOC.


*.md330 LOC (87%) 6 files
*.txt44 LOC (11%) 2 files
*.json3 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2026-01-18 17:36