JetBrains / intellij-obsolete-plugins
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
tml
xsd
properties
jscsrc
sass
flex
patch
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.

main296608 LOC (78%) 3,845 files
test38868 LOC (10%) 1,131 files
generated19867 LOC (5%) 171 files
build and deployment1036 LOC (<1%) 14 files
other23406 LOC (6%) 493 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
flex
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 3845 files match defined criteria (296,608 LOC, 100.0% vs. main code):
    • 3,587 *.java files (204,588 LOC)
    • 40 *.yaml files (76,853 LOC)
    • 77 *.xml files (8,097 LOC)
    • 3 *.js files (3,953 LOC)
    • 84 *.html files (1,492 LOC)
    • 40 *.kts files (838 LOC)
    • 10 *.kt files (435 LOC)
    • 3 *.flex files (276 LOC)
    • 1 *.rb files (76 LOC)
  • " *.java" is biggest, containing 68.98% of LOC.
  • " *.rb" is smallest, containing 0.03% of LOC.


*.java204588 LOC (68%) 3,587 files
*.yaml76853 LOC (25%) 40 files
*.xml8097 LOC (2%) 77 files
*.js3953 LOC (1%) 3 files
*.html1492 LOC (<1%) 84 files
*.kts838 LOC (<1%) 40 files
*.kt435 LOC (<1%) 10 files
*.flex276 LOC (<1%) 3 files
*.rb76 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
tml
jscsrc
sass
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*/test[.].*".
    • files with paths like ".*/test_.*".
    • files with paths like ".*/mock[a-zA-Z0-9_\- ]+/.*".
    • files with paths like ".*/[Mm]ocks/.*".
  • 1131 files match defined criteria (38,868 LOC, 13.1% vs. main code):
    • 484 *.java files (23,710 LOC)
    • 128 *.rb files (7,107 LOC)
    • 141 *.xml files (3,758 LOC)
    • 99 *.scss files (2,638 LOC)
    • 119 *.tml files (702 LOC)
    • 72 *.jsp files (531 LOC)
    • 23 *.jscsrc files (138 LOC)
    • 2 *.erb files (79 LOC)
    • 22 *.html files (66 LOC)
    • 13 *.js files (62 LOC)
    • 21 *.sass files (39 LOC)
    • 2 *.groovy files (21 LOC)
    • 3 *.ftl files (12 LOC)
    • 2 *.css files (5 LOC)
  • " *.java" is biggest, containing 61% of LOC.
  • " *.css" is smallest, containing 0.01% of LOC.


*.java23710 LOC (61%) 484 files
*.rb7107 LOC (18%) 128 files
*.xml3758 LOC (9%) 141 files
*.scss2638 LOC (6%) 99 files
*.tml702 LOC (1%) 119 files
*.jsp531 LOC (1%) 72 files
*.jscsrc138 LOC (<1%) 23 files
*.erb79 LOC (<1%) 2 files
*.html66 LOC (<1%) 22 files
*.js62 LOC (<1%) 13 files
*.sass39 LOC (<1%) 21 files
*.groovy21 LOC (<1%) 2 files
*.ftl12 LOC (<1%) 3 files
*.css5 LOC (<1%) 2 files
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 ".*/generated/.*".
    • files with any line of content like "//[ ]*Generated by .*".
    • files with paths like ".*[.]java" AND any line of content like ".*The following code was generated by JFlex.*".
  • 171 files match defined criteria (19,867 LOC, 6.7% vs. main code):
    • 164 *.java files (19,860 LOC)
    • 7 *.html files (7 LOC)
  • " *.java" is biggest, containing 99.96% of LOC.
  • " *.html" is smallest, containing 0.04% of LOC.


*.java19860 LOC (99%) 164 files
*.html7 LOC (<1%) 7 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 ".*[.]bat".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/build[.]xml".
    • files with paths like ".*[.]gradle".
  • 14 files match defined criteria (1,036 LOC, 0.3% vs. main code):
    • 12 *.bat files (821 LOC)
    • 1 *.xml files (203 LOC)
    • 1 *.gradle files (12 LOC)
  • " *.bat" is biggest, containing 79.25% of LOC.
  • " *.gradle" is smallest, containing 1.16% of LOC.


*.bat821 LOC (79%) 12 files
*.xml203 LOC (19%) 1 file
*.gradle12 LOC (1%) 1 file
Other Code
xsd
txt
properties
patch
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*[.]md".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]patch".
    • files with paths like ".*/resources/.*[.]xsd".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[Dd]ocumentation/.*".
    • files with paths like ".*[.]markdown".
  • 493 files match defined criteria (23,406 LOC, 7.9% vs. main code):
    • 84 *.xsd files (14,549 LOC)
    • 164 *.txt files (2,942 LOC)
    • 52 *.xml files (1,799 LOC)
    • 44 *.properties files (1,763 LOC)
    • 20 *.java files (1,223 LOC)
    • 119 *.svg files (695 LOC)
    • 2 *.patch files (268 LOC)
    • 1 *.css files (95 LOC)
    • 2 *.md files (25 LOC)
    • 1 *.markdown files (25 LOC)
    • 4 *.json files (22 LOC)
  • " *.xsd" is biggest, containing 62.16% of LOC.
  • " *.json" is smallest, containing 0.09% of LOC.


*.xsd14549 LOC (62%) 84 files
*.txt2942 LOC (12%) 164 files
*.xml1799 LOC (7%) 52 files
*.properties1763 LOC (7%) 44 files
*.java1223 LOC (5%) 20 files
*.svg695 LOC (2%) 119 files
*.patch268 LOC (1%) 2 files
*.css95 LOC (<1%) 1 file
*.md25 LOC (<1%) 2 files
*.markdown25 LOC (<1%) 1 file
*.json22 LOC (<1%) 4 files
Analyzers
Info about analyzers used for source code examinations.


2026-01-18 17:05