JetBrains / languagetool
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
xsd
proto
xsl
profile
gitattributes
patch
editorconfig
diff
jflex
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.

main246643 LOC (28%) 1,415 files
test48920 LOC (5%) 764 files
generated11698 LOC (1%) 4 files
build and deployment8253 LOC (<1%) 85 files
other544971 LOC (63%) 730 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
xsl
proto
jflex
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 1415 files match defined criteria (246,643 LOC, 100.0% vs. main code):
    • 1,278 *.java files (131,274 LOC)
    • 90 *.xml files (108,263 LOC)
    • 5 *.pl files (2,995 LOC)
    • 9 *.py files (1,730 LOC)
    • 2 *.html files (789 LOC)
    • 12 *.awk files (477 LOC)
    • 3 *.xsl files (371 LOC)
    • 2 *.css files (338 LOC)
    • 4 *.proto files (264 LOC)
    • 8 *.sql files (83 LOC)
    • 1 *.jflex files (32 LOC)
    • 1 *.bash files (27 LOC)
  • " *.java" is biggest, containing 53.22% of LOC.
  • " *.bash" is smallest, containing 0.01% of LOC.


*.java131274 LOC (53%) 1,278 files
*.xml108263 LOC (43%) 90 files
*.pl2995 LOC (1%) 5 files
*.py1730 LOC (<1%) 9 files
*.html789 LOC (<1%) 2 files
*.awk477 LOC (<1%) 12 files
*.xsl371 LOC (<1%) 3 files
*.css338 LOC (<1%) 2 files
*.proto264 LOC (<1%) 4 files
*.sql83 LOC (<1%) 8 files
*.jflex32 LOC (<1%) 1 file
*.bash27 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_.*".
    • files with paths like ".*/test[.].*".
  • 764 files match defined criteria (48,920 LOC, 19.8% vs. main code):
    • 745 *.java files (47,342 LOC)
    • 15 *.xml files (1,558 LOC)
    • 3 *.sh files (12 LOC)
    • 1 *.awk files (8 LOC)
  • " *.java" is biggest, containing 96.77% of LOC.
  • " *.awk" is smallest, containing 0.02% of LOC.


*.java47342 LOC (96%) 745 files
*.xml1558 LOC (3%) 15 files
*.sh12 LOC (<1%) 3 files
*.awk8 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 ".*The following code was generated by JFlex.*".
  • 4 files match defined criteria (11,698 LOC, 4.7% vs. main code). All matches are in *.java files.


*.java11698 LOC (100%) 4 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 ".*[.]sh".
    • files with paths like ".*/pom[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]gradle".
    • files with paths like ".*[.]bat".
    • files with paths like ".*/[.]gitattributes".
  • 85 files match defined criteria (8,253 LOC, 3.3% vs. main code):
    • 49 *.xml files (6,657 LOC)
    • 32 *.sh files (1,269 LOC)
    • 3 *.gradle files (254 LOC)
    • 1 *.bat files (73 LOC)
  • " *.xml" is biggest, containing 80.66% of LOC.
  • " *.bat" is smallest, containing 0.88% of LOC.


*.xml6657 LOC (80%) 49 files
*.sh1269 LOC (15%) 32 files
*.gradle254 LOC (3%) 3 files
*.bat73 LOC (<1%) 1 file
Other Code
txt
properties
patch
xsd
diff
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 ".*[.]editorconfig".
    • files with paths like ".*[.]patch".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/COPYING[.][a-z0-9]+".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/resources/.*[.]xsd".
    • files with paths like ".*[.]diff".
  • 730 files match defined criteria (544,971 LOC, 221.0% vs. main code):
    • 631 *.txt files (525,060 LOC)
    • 77 *.properties files (11,038 LOC)
    • 1 *.patch files (4,746 LOC)
    • 11 *.md files (2,694 LOC)
    • 5 *.xsd files (1,150 LOC)
    • 1 *.diff files (165 LOC)
    • 4 *.json files (118 LOC)
  • " *.txt" is biggest, containing 96.35% of LOC.
  • " *.json" is smallest, containing 0.02% of LOC.


*.txt525060 LOC (96%) 631 files
*.properties11038 LOC (2%) 77 files
*.patch4746 LOC (<1%) 1 file
*.md2694 LOC (<1%) 11 files
*.xsd1150 LOC (<1%) 5 files
*.diff165 LOC (<1%) 1 file
*.json118 LOC (<1%) 4 files
Analyzers
Info about analyzers used for source code examinations.


2026-01-18 17:41