JetBrains / batik
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
properties
mod
txt
xsl
in
policy
htaccess
cgi
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.

main189733 LOC (64%) 1,555 files
test19967 LOC (6%) 245 files
generated0 LOC (0%) 0 files
build and deployment3448 LOC (1%) 42 files
other81597 LOC (27%) 647 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
mod
in
xsl
policy
cgi
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 1555 files match defined criteria (189,733 LOC, 100.0% vs. main code):
    • 1,426 *.java files (172,010 LOC)
    • 34 *.xml files (10,365 LOC)
    • 46 *.mod files (4,885 LOC)
    • 6 *.in files (842 LOC)
    • 6 *.xsl files (623 LOC)
    • 29 *.html files (463 LOC)
    • 5 *.policy files (443 LOC)
    • 1 *.rdf files (74 LOC)
    • 1 *.cgi files (27 LOC)
    • 1 *.css files (1 LOC)
  • " *.java" is biggest, containing 90.66% of LOC.
  • " *.css" is smallest, containing 0% of LOC.


*.java172010 LOC (90%) 1,426 files
*.xml10365 LOC (5%) 34 files
*.mod4885 LOC (2%) 46 files
*.in842 LOC (<1%) 6 files
*.xsl623 LOC (<1%) 6 files
*.html463 LOC (<1%) 29 files
*.policy443 LOC (<1%) 5 files
*.rdf74 LOC (<1%) 1 file
*.cgi27 LOC (<1%) 1 file
*.css1 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
xsl
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/test[.].*".
    • files with paths like ".*[-]test[-].*".
    • files with paths like ".*/test[-]resources/.*".
  • 245 files match defined criteria (19,967 LOC, 10.5% vs. main code):
    • 197 *.java files (15,654 LOC)
    • 36 *.xml files (3,896 LOC)
    • 7 *.js files (219 LOC)
    • 1 *.xsl files (119 LOC)
    • 4 *.css files (79 LOC)
  • " *.java" is biggest, containing 78.4% of LOC.
  • " *.css" is smallest, containing 0.4% of LOC.


*.java15654 LOC (78%) 197 files
*.xml3896 LOC (19%) 36 files
*.js219 LOC (1%) 7 files
*.xsl119 LOC (<1%) 1 file
*.css79 LOC (<1%) 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 ".*/pom[.]xml".
    • files with paths like ".*/assembly[.]xml".
    • files with paths like ".*/build[.]xml".
    • files with paths like ".*[.]bat".
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 42 files match defined criteria (3,448 LOC, 1.8% vs. main code):
    • 36 *.xml files (3,251 LOC)
    • 4 *.bat files (141 LOC)
    • 2 *.sh files (56 LOC)
  • " *.xml" is biggest, containing 94.29% of LOC.
  • " *.sh" is smallest, containing 1.62% of LOC.


*.xml3251 LOC (94%) 36 files
*.bat141 LOC (4%) 4 files
*.sh56 LOC (1%) 2 files
Other Code
properties
txt
xsl
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*/checkstyle[.]xml".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*/[.]htaccess".
    • files with paths like ".*/[Dd]emos?/.*".
    • files with paths like ".*/[.]gitignore".
  • 647 files match defined criteria (81,597 LOC, 43.0% vs. main code):
    • 539 *.svg files (74,608 LOC)
    • 52 *.properties files (3,411 LOC)
    • 23 *.txt files (1,805 LOC)
    • 8 *.js files (982 LOC)
    • 3 *.java files (315 LOC)
    • 16 *.css files (242 LOC)
    • 1 *.html files (81 LOC)
    • 2 *.xsl files (80 LOC)
    • 3 *.xml files (73 LOC)
  • " *.svg" is biggest, containing 91.43% of LOC.
  • " *.xml" is smallest, containing 0.09% of LOC.


*.svg74608 LOC (91%) 539 files
*.properties3411 LOC (4%) 52 files
*.txt1805 LOC (2%) 23 files
*.js982 LOC (1%) 8 files
*.java315 LOC (<1%) 3 files
*.css242 LOC (<1%) 16 files
*.html81 LOC (<1%) 1 file
*.xsl80 LOC (<1%) 2 files
*.xml73 LOC (<1%) 3 files
Analyzers
Info about analyzers used for source code examinations.


2026-01-18 17:06