apache / xmlgraphics-fop
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
xsl
txt
properties
xsd
afm
eps
ps
cmd
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.

main207141 LOC (59%) 1,746 files
test126867 LOC (36%) 1,264 files
generated1408 LOC (<1%) 5 files
build and deployment2591 LOC (<1%) 15 files
other9678 LOC (2%) 127 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
xsd
xsl
cmd
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 1746 files match defined criteria (207,141 LOC, 100.0% vs. main code):
    • 1,605 *.java files (178,024 LOC)
    • 47 *.xml files (21,390 LOC)
    • 2 *.xsd files (4,616 LOC)
    • 15 *.xsl files (2,130 LOC)
    • 75 *.html files (681 LOC)
    • 1 *.js files (272 LOC)
    • 1 *.cmd files (28 LOC)
  • " *.java" is biggest, containing 85.94% of LOC.
  • " *.cmd" is smallest, containing 0.01% of LOC.


*.java178024 LOC (85%) 1,605 files
*.xml21390 LOC (10%) 47 files
*.xsd4616 LOC (2%) 2 files
*.xsl2130 LOC (1%) 15 files
*.html681 LOC (<1%) 75 files
*.js272 LOC (<1%) 1 file
*.cmd28 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
afm
xsl
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
  • 1264 files match defined criteria (126,867 LOC, 61.2% vs. main code):
    • 805 *.xml files (83,483 LOC)
    • 437 *.java files (41,656 LOC)
    • 6 *.afm files (900 LOC)
    • 13 *.xsl files (503 LOC)
    • 1 *.py files (316 LOC)
    • 1 *.html files (7 LOC)
    • 1 *.sh files (2 LOC)
  • " *.xml" is biggest, containing 65.8% of LOC.
  • " *.sh" is smallest, containing 0% of LOC.


*.xml83483 LOC (65%) 805 files
*.java41656 LOC (32%) 437 files
*.afm900 LOC (<1%) 6 files
*.xsl503 LOC (<1%) 13 files
*.py316 LOC (<1%) 1 file
*.html7 LOC (<1%) 1 file
*.sh2 LOC (<1%) 1 file
Generated Code
Automatically generated files, not manually changed after generation.
eps
ps
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.](ps|eps|pfa)".
  • 5 files match defined criteria (1,408 LOC, 0.7% vs. main code):
    • 3 *.eps files (1,340 LOC)
    • 2 *.ps files (68 LOC)
  • " *.eps" is biggest, containing 95.17% of LOC.
  • " *.ps" is smallest, containing 4.83% of LOC.


*.eps1340 LOC (95%) 3 files
*.ps68 LOC (4%) 2 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/build[.]xml".
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]bat".
  • 15 files match defined criteria (2,591 LOC, 1.3% vs. main code):
    • 14 *.xml files (2,528 LOC)
    • 1 *.bat files (63 LOC)
  • " *.xml" is biggest, containing 97.57% of LOC.
  • " *.bat" is smallest, containing 2.43% of LOC.


*.xml2528 LOC (97%) 14 files
*.bat63 LOC (2%) 1 file
Other Code
txt
xsd
properties
xsl
cmd
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/[Dd]ocumentation/.*".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/checkstyle[.]xml".
    • files with paths like ".*/checkstyle.*".
  • 127 files match defined criteria (9,678 LOC, 4.7% vs. main code):
    • 41 *.java files (3,013 LOC)
    • 11 *.xml files (2,681 LOC)
    • 30 *.txt files (2,182 LOC)
    • 22 *.svg files (560 LOC)
    • 6 *.xsd files (439 LOC)
    • 11 *.properties files (411 LOC)
    • 5 *.xsl files (340 LOC)
    • 1 *.cmd files (52 LOC)
  • " *.java" is biggest, containing 31.13% of LOC.
  • " *.cmd" is smallest, containing 0.54% of LOC.


*.java3013 LOC (31%) 41 files
*.xml2681 LOC (27%) 11 files
*.txt2182 LOC (22%) 30 files
*.svg560 LOC (5%) 22 files
*.xsd439 LOC (4%) 6 files
*.properties411 LOC (4%) 11 files
*.xsl340 LOC (3%) 5 files
*.cmd52 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:15