JetBrains / teamcity-fxcop
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
gitattributes
txt
cmd
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.

main1856 LOC (61%) 27 files
test878 LOC (29%) 12 files
generated0 LOC (0%) 0 files
build and deployment265 LOC (8%) 5 files
other0 LOC (0%) 0 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 ".*".
  • 27 files match defined criteria (1,856 LOC, 100.0% vs. main code):
    • 21 *.java files (1,352 LOC)
    • 2 *.jsp files (254 LOC)
    • 3 *.xml files (161 LOC)
    • 1 *.ftl files (89 LOC)
  • " *.java" is biggest, containing 72.84% of LOC.
  • " *.ftl" is smallest, containing 4.8% of LOC.


*.java1352 LOC (72%) 21 files
*.jsp254 LOC (13%) 2 files
*.xml161 LOC (8%) 3 files
*.ftl89 LOC (4%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[-]tests/.*".
    • files with paths like ".*/test[-]resources/.*".
  • 12 files match defined criteria (878 LOC, 47.3% vs. main code):
    • 7 *.java files (593 LOC)
    • 5 *.xml files (285 LOC)
  • " *.java" is biggest, containing 67.54% of LOC.
  • " *.xml" is smallest, containing 32.46% of LOC.


*.java593 LOC (67%) 7 files
*.xml285 LOC (32%) 5 files
Build and Deployment Code
Source code used to configure or support build and deployment process.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/pom[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitattributes".
  • 5 files match defined criteria (265 LOC, 14.3% vs. main code). All matches are in *.xml files.


*.xml265 LOC (100%) 5 files
Analyzers
Info about analyzers used for source code examinations.


2026-01-18 17:01