JetBrains / ruby-type-inference
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
txt
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.

main5557 LOC (58%) 87 files
test1602 LOC (16%) 42 files
generated0 LOC (0%) 0 files
build and deployment286 LOC (3%) 10 files
other2033 LOC (21%) 10 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 ".*".
  • 87 files match defined criteria (5,557 LOC, 100.0% vs. main code):
    • 56 *.kt files (3,089 LOC)
    • 17 *.java files (1,287 LOC)
    • 1 *.c files (650 LOC)
    • 10 *.rb files (426 LOC)
    • 1 *.xml files (73 LOC)
    • 1 *.gemspec files (24 LOC)
    • 1 *.h files (8 LOC)
  • " *.kt" is biggest, containing 55.59% of LOC.
  • " *.h" is smallest, containing 0.14% of LOC.


*.kt3089 LOC (55%) 56 files
*.java1287 LOC (23%) 17 files
*.c650 LOC (11%) 1 file
*.rb426 LOC (7%) 10 files
*.xml73 LOC (1%) 1 file
*.gemspec24 LOC (<1%) 1 file
*.h8 LOC (<1%) 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 ".*/[Tt]est/.*".
    • files with paths like ".*/test_.*".
    • files with paths like ".*_test[.].*".
  • 42 files match defined criteria (1,602 LOC, 28.8% vs. main code):
    • 9 *.kt files (965 LOC)
    • 33 *.rb files (637 LOC)
  • " *.kt" is biggest, containing 60.24% of LOC.
  • " *.rb" is smallest, containing 39.76% of LOC.


*.kt965 LOC (60%) 9 files
*.rb637 LOC (39%) 33 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 ".*[.]gradle".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]bat".
  • 10 files match defined criteria (286 LOC, 5.1% vs. main code):
    • 9 *.gradle files (225 LOC)
    • 1 *.bat files (61 LOC)
  • " *.gradle" is biggest, containing 78.67% of LOC.
  • " *.bat" is smallest, containing 21.33% of LOC.


*.gradle225 LOC (78%) 9 files
*.bat61 LOC (21%) 1 file
Other Code
txt
properties
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 ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]svg".
  • 10 files match defined criteria (2,033 LOC, 36.6% vs. main code):
    • 2 *.json files (1,846 LOC)
    • 4 *.md files (149 LOC)
    • 1 *.txt files (17 LOC)
    • 2 *.svg files (12 LOC)
    • 1 *.properties files (9 LOC)
  • " *.json" is biggest, containing 90.8% of LOC.
  • " *.properties" is smallest, containing 0.44% of LOC.


*.json1846 LOC (90%) 2 files
*.md149 LOC (7%) 4 files
*.txt17 LOC (<1%) 1 file
*.svg12 LOC (<1%) 2 files
*.properties9 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2026-01-18 16:50