JetBrains / hsql1
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
plist
desktop
cfg
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.

main84425 LOC (77%) 325 files
test8834 LOC (8%) 43 files
generated157 LOC (<1%) 1 file
build and deployment1182 LOC (1%) 10 files
other13747 LOC (12%) 99 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
proto
desktop
cfg
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 325 files match defined criteria (84,425 LOC, 100.0% vs. main code):
    • 258 *.java files (67,663 LOC)
    • 17 *.xml files (10,380 LOC)
    • 22 *.html files (4,036 LOC)
    • 21 *.sql files (1,452 LOC)
    • 1 *.proto files (618 LOC)
    • 3 *.css files (159 LOC)
    • 1 *.bash files (103 LOC)
    • 1 *.desktop files (10 LOC)
    • 1 *.cfg files (4 LOC)
  • " *.java" is biggest, containing 80.15% of LOC.
  • " *.cfg" is smallest, containing 0% of LOC.


*.java67663 LOC (80%) 258 files
*.xml10380 LOC (12%) 17 files
*.html4036 LOC (4%) 22 files
*.sql1452 LOC (1%) 21 files
*.proto618 LOC (<1%) 1 file
*.css159 LOC (<1%) 3 files
*.bash103 LOC (<1%) 1 file
*.desktop10 LOC (<1%) 1 file
*.cfg4 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 ".*/[Tt]ests/.*".
  • 43 files match defined criteria (8,834 LOC, 10.5% vs. main code). All matches are in *.java files.


*.java8834 LOC (100%) 43 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 .*".
  • 1 file matches defined criteria (157 LOC, 0.2% vs. main code). All matches are in *.html files.


*.html157 LOC (100%) 1 file
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 ".*[.]bat".
    • files with paths like ".*/build[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 10 files match defined criteria (1,182 LOC, 1.4% vs. main code):
    • 1 *.xml files (1,018 LOC)
    • 8 *.bat files (143 LOC)
    • 1 *.sh files (21 LOC)
  • " *.xml" is biggest, containing 86.13% of LOC.
  • " *.sh" is smallest, containing 1.78% of LOC.


*.xml1018 LOC (86%) 1 file
*.bat143 LOC (12%) 8 files
*.sh21 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 ".*[.]plist".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[Dd]emos?/.*".
    • files with paths like ".*/[.]gitignore".
  • 99 files match defined criteria (13,747 LOC, 16.3% vs. main code):
    • 68 *.txt files (11,136 LOC)
    • 16 *.properties files (2,371 LOC)
    • 4 *.html files (121 LOC)
    • 4 *.sh files (85 LOC)
    • 1 *.plist files (20 LOC)
    • 5 *.bat files (10 LOC)
    • 1 *.md files (4 LOC)
  • " *.txt" is biggest, containing 81.01% of LOC.
  • " *.md" is smallest, containing 0.03% of LOC.


*.txt11136 LOC (81%) 68 files
*.properties2371 LOC (17%) 16 files
*.html121 LOC (<1%) 4 files
*.sh85 LOC (<1%) 4 files
*.plist20 LOC (<1%) 1 file
*.bat10 LOC (<1%) 5 files
*.md4 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2026-01-18 16:36