apache / xalan-java
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
properties
txt
gitattributes
lex
xslt
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.

main185289 LOC (94%) 1,091 files
test649 LOC (<1%) 15 files
generated0 LOC (0%) 0 files
build and deployment1646 LOC (<1%) 15 files
other7623 LOC (3%) 162 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
xsl
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 1091 files match defined criteria (185,289 LOC, 100.0% vs. main code):
    • 911 *.java files (164,834 LOC)
    • 66 *.xml files (15,473 LOC)
    • 40 *.xsl files (3,716 LOC)
    • 47 *.xhtml files (715 LOC)
    • 23 *.html files (455 LOC)
    • 1 *.jsp files (43 LOC)
    • 2 *.js files (36 LOC)
    • 1 *.inc files (17 LOC)
  • " *.java" is biggest, containing 88.96% of LOC.
  • " *.inc" is smallest, containing 0.01% of LOC.


*.java164834 LOC (88%) 911 files
*.xml15473 LOC (8%) 66 files
*.xsl3716 LOC (2%) 40 files
*.xhtml715 LOC (<1%) 47 files
*.html455 LOC (<1%) 23 files
*.jsp43 LOC (<1%) 1 file
*.js36 LOC (<1%) 2 files
*.inc17 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 ".*[-]tests/.*".
    • files with paths like ".*/[Tt]est/.*".
  • 15 files match defined criteria (649 LOC, 0.4% vs. main code):
    • 7 *.java files (321 LOC)
    • 5 *.xml files (289 LOC)
    • 3 *.groovy files (39 LOC)
  • " *.java" is biggest, containing 49.46% of LOC.
  • " *.groovy" is smallest, containing 6.01% of LOC.


*.java321 LOC (49%) 7 files
*.xml289 LOC (44%) 5 files
*.groovy39 LOC (6%) 3 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/src[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitattributes".
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]bat".
  • 15 files match defined criteria (1,646 LOC, 0.9% vs. main code):
    • 13 *.xml files (1,644 LOC)
    • 1 *.bat files (1 LOC)
    • 1 *.sh files (1 LOC)
  • " *.xml" is biggest, containing 99.88% of LOC.
  • " *.sh" is smallest, containing 0.06% of LOC.


*.xml1644 LOC (99%) 13 files
*.bat1 LOC (<1%) 1 file
*.sh1 LOC (<1%) 1 file
Other Code
xsl
txt
properties
xslt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]properties".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*[.]md".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 162 files match defined criteria (7,623 LOC, 4.1% vs. main code):
    • 34 *.java files (2,518 LOC)
    • 41 *.xsl files (1,221 LOC)
    • 34 *.xml files (1,111 LOC)
    • 3 *.txt files (942 LOC)
    • 14 *.properties files (839 LOC)
    • 26 *.html files (473 LOC)
    • 3 *.bat files (256 LOC)
    • 3 *.sh files (119 LOC)
    • 1 *.xslt files (99 LOC)
    • 1 *.xhtml files (20 LOC)
    • 1 *.md files (19 LOC)
    • 1 *.sql files (6 LOC)
  • " *.java" is biggest, containing 33.03% of LOC.
  • " *.sql" is smallest, containing 0.08% of LOC.


*.java2518 LOC (33%) 34 files
*.xsl1221 LOC (16%) 41 files
*.xml1111 LOC (14%) 34 files
*.txt942 LOC (12%) 3 files
*.properties839 LOC (11%) 14 files
*.html473 LOC (6%) 26 files
*.bat256 LOC (3%) 3 files
*.sh119 LOC (1%) 3 files
*.xslt99 LOC (1%) 1 file
*.xhtml20 LOC (<1%) 1 file
*.md19 LOC (<1%) 1 file
*.sql6 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 19:52