JetBrains / Rplugin
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
rmd
properties
flex
rds
plist
proto
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.

main63122 LOC (32%) 869 files
test17271 LOC (8%) 164 files
generated103943 LOC (53%) 293 files
build and deployment189 LOC (<1%) 5 files
other9607 LOC (4%) 293 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
rmd
flex
proto
rds
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 869 files match defined criteria (63,122 LOC, 100.0% vs. main code):
    • 645 *.kt files (47,505 LOC)
    • 72 *.java files (13,697 LOC)
    • 34 *.html files (396 LOC)
    • 22 *.rmd files (359 LOC)
    • 2 *.flex files (321 LOC)
    • 1 *.kts files (292 LOC)
    • 80 *.r files (268 LOC)
    • 11 *.xml files (217 LOC)
    • 1 *.proto files (61 LOC)
    • 1 *.rds files (6 LOC)
  • " *.kt" is biggest, containing 75.26% of LOC.
  • " *.rds" is smallest, containing 0.01% of LOC.


*.kt47505 LOC (75%) 645 files
*.java13697 LOC (21%) 72 files
*.html396 LOC (<1%) 34 files
*.rmd359 LOC (<1%) 22 files
*.flex321 LOC (<1%) 2 files
*.kts292 LOC (<1%) 1 file
*.r268 LOC (<1%) 80 files
*.xml217 LOC (<1%) 11 files
*.proto61 LOC (<1%) 1 file
*.rds6 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/.*".
  • 164 files match defined criteria (17,271 LOC, 27.4% vs. main code):
    • 163 *.kt files (17,232 LOC)
    • 1 *.java files (39 LOC)
  • " *.kt" is biggest, containing 99.77% of LOC.
  • " *.java" is smallest, containing 0.23% of LOC.


*.kt17232 LOC (99%) 163 files
*.java39 LOC (<1%) 1 file
Generated Code
Automatically generated files, not manually changed after generation.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with any line of content like "//[ ]*Generated by .*".
    • files with paths like ".*[.](py|java|h|cc|cpp|m|rb|php)" AND any line of content like ".*Generated by the protocol buffer compiler[.][ ]+DO NOT EDIT[!].*".
    • files with paths like ".*[.]java" AND any line of content like ".*[/][/] This is a generated file[.] Not intended for manual editing[.].*".
    • files with paths like ".*[.]java" AND any line of content like ".*The following code was generated by JFlex.*".
  • 293 files match defined criteria (103,943 LOC, 164.7% vs. main code). All matches are in *.java files.


*.java103943 LOC (100%) 293 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 ".*/build[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]bat".
    • files with paths like ".*[.]gradle".
  • 5 files match defined criteria (189 LOC, 0.3% vs. main code):
    • 3 *.xml files (126 LOC)
    • 1 *.bat files (61 LOC)
    • 1 *.gradle files (2 LOC)
  • " *.xml" is biggest, containing 66.67% of LOC.
  • " *.gradle" is smallest, containing 1.06% of LOC.


*.xml126 LOC (66%) 3 files
*.bat61 LOC (32%) 1 file
*.gradle2 LOC (1%) 1 file
Other Code
txt
properties
plist
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 ".*[.]properties".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[Dd]ocumentation/.*".
    • files with paths like ".*[.]plist".
  • 293 files match defined criteria (9,607 LOC, 15.2% vs. main code):
    • 187 *.txt files (6,832 LOC)
    • 9 *.kt files (1,149 LOC)
    • 4 *.properties files (836 LOC)
    • 73 *.svg files (397 LOC)
    • 14 *.html files (223 LOC)
    • 4 *.md files (143 LOC)
    • 1 *.json files (17 LOC)
    • 1 *.plist files (10 LOC)
  • " *.txt" is biggest, containing 71.11% of LOC.
  • " *.plist" is smallest, containing 0.1% of LOC.


*.txt6832 LOC (71%) 187 files
*.kt1149 LOC (11%) 9 files
*.properties836 LOC (8%) 4 files
*.svg397 LOC (4%) 73 files
*.html223 LOC (2%) 14 files
*.md143 LOC (1%) 4 files
*.json17 LOC (<1%) 1 file
*.plist10 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2026-01-18 17:08