JetBrains / teamcity-rake
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
feature
rake
txt
gitattributes
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.

main10271 LOC (94%) 154 files
test292 LOC (2%) 28 files
generated0 LOC (0%) 0 files
build and deployment268 LOC (2%) 4 files
other82 LOC (<1%) 2 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
rake
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 154 files match defined criteria (10,271 LOC, 100.0% vs. main code):
    • 112 *.java files (8,083 LOC)
    • 18 *.rb files (779 LOC)
    • 6 *.jsp files (643 LOC)
    • 12 *.xml files (619 LOC)
    • 6 *.rake files (147 LOC)
  • " *.java" is biggest, containing 78.7% of LOC.
  • " *.rake" is smallest, containing 1.43% of LOC.


*.java8083 LOC (78%) 112 files
*.rb779 LOC (7%) 18 files
*.jsp643 LOC (6%) 6 files
*.xml619 LOC (6%) 12 files
*.rake147 LOC (1%) 6 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
feature
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 ".*/test[.].*".
    • files with paths like ".*[.]feature".
    • files with paths like ".*/test_.*".
  • 28 files match defined criteria (292 LOC, 2.8% vs. main code):
    • 20 *.rb files (216 LOC)
    • 8 *.feature files (76 LOC)
  • " *.rb" is biggest, containing 73.97% of LOC.
  • " *.feature" is smallest, containing 26.03% of LOC.


*.rb216 LOC (73%) 20 files
*.feature76 LOC (26%) 8 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 ".*[.]sh".
    • files with paths like ".*/[.]gitattributes".
  • 4 files match defined criteria (268 LOC, 2.6% vs. main code):
    • 1 *.xml files (168 LOC)
    • 3 *.sh files (100 LOC)
  • " *.xml" is biggest, containing 62.69% of LOC.
  • " *.sh" is smallest, containing 37.31% of LOC.


*.xml168 LOC (62%) 1 file
*.sh100 LOC (37%) 3 files
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
  • 2 files match defined criteria (82 LOC, 0.8% vs. main code). All matches are in *.txt files.


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


2026-01-18 17:02