apache / xmlgraphics-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
cgi
htaccess
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.

main194180 LOC (65%) 1,584 files
test19604 LOC (6%) 245 files
generated0 LOC (0%) 0 files
build and deployment4179 LOC (1%) 42 files
other77421 LOC (26%) 645 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 ".*".
  • 1584 files match defined criteria (194,180 LOC, 100.0% vs. main code):
    • 1,454 *.java files (175,946 LOC)
    • 35 *.xml files (10,876 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.61% of LOC.
  • " *.css" is smallest, containing 0% of LOC.


*.java175946 LOC (90%) 1,454 files
*.xml10876 LOC (5%) 35 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]est/.*".
    • files with paths like ".*[-]test[-].*".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*/test[-]resources/.*".
  • 245 files match defined criteria (19,604 LOC, 10.1% vs. main code):
    • 198 *.java files (15,741 LOC)
    • 35 *.xml files (3,446 LOC)
    • 7 *.js files (219 LOC)
    • 1 *.xsl files (119 LOC)
    • 4 *.css files (79 LOC)
  • " *.java" is biggest, containing 80.29% of LOC.
  • " *.css" is smallest, containing 0.4% of LOC.


*.java15741 LOC (80%) 198 files
*.xml3446 LOC (17%) 35 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 ".*/build[.]xml".
    • files with paths like ".*[.]bat".
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/assembly[.]xml".
  • 42 files match defined criteria (4,179 LOC, 2.2% vs. main code):
    • 36 *.xml files (3,982 LOC)
    • 4 *.bat files (141 LOC)
    • 2 *.sh files (56 LOC)
  • " *.xml" is biggest, containing 95.29% of LOC.
  • " *.sh" is smallest, containing 1.34% of LOC.


*.xml3982 LOC (95%) 36 files
*.bat141 LOC (3%) 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 ".*[.]properties".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[Dd]emos?/.*".
    • files with paths like ".*/[.]htaccess".
    • files with paths like ".*/checkstyle[.]xml".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*/README[.][a-z0-9]+".
  • 645 files match defined criteria (77,421 LOC, 39.9% vs. main code):
    • 537 *.svg files (70,432 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 90.97% of LOC.
  • " *.xml" is smallest, containing 0.09% of LOC.


*.svg70432 LOC (90%) 537 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.


2023-08-10 13:23