apache / xalan-j
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
prefs
xslt
project
lex
classpath
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.

main180993 LOC (94%) 989 files
test0 LOC (0%) 0 files
generated0 LOC (0%) 0 files
build and deployment1608 LOC (<1%) 9 files
other8853 LOC (4%) 178 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
xsl
xslt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 989 files match defined criteria (180,993 LOC, 100.0% vs. main code):
    • 898 *.java files (163,480 LOC)
    • 57 *.xml files (15,035 LOC)
    • 7 *.xsl files (1,016 LOC)
    • 1 *.xslt files (760 LOC)
    • 24 *.html files (454 LOC)
    • 1 *.css files (231 LOC)
    • 1 *.inc files (17 LOC)
  • " *.java" is biggest, containing 90.32% of LOC.
  • " *.inc" is smallest, containing 0.01% of LOC.


*.java163480 LOC (90%) 898 files
*.xml15035 LOC (8%) 57 files
*.xsl1016 LOC (<1%) 7 files
*.xslt760 LOC (<1%) 1 file
*.html454 LOC (<1%) 24 files
*.css231 LOC (<1%) 1 file
*.inc17 LOC (<1%) 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".
  • 9 files match defined criteria (1,608 LOC, 0.9% vs. main code):
    • 1 *.xml files (1,301 LOC)
    • 6 *.sh files (203 LOC)
    • 2 *.bat files (104 LOC)
  • " *.xml" is biggest, containing 80.91% of LOC.
  • " *.bat" is smallest, containing 6.47% of LOC.


*.xml1301 LOC (80%) 1 file
*.sh203 LOC (12%) 6 files
*.bat104 LOC (6%) 2 files
Other Code
xsl
properties
txt
xslt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]txt".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 178 files match defined criteria (8,853 LOC, 4.9% vs. main code):
    • 42 *.java files (3,484 LOC)
    • 47 *.xsl files (1,429 LOC)
    • 38 *.xml files (1,320 LOC)
    • 10 *.properties files (873 LOC)
    • 5 *.txt files (741 LOC)
    • 27 *.html files (483 LOC)
    • 3 *.bat files (256 LOC)
    • 3 *.sh files (119 LOC)
    • 1 *.xslt files (99 LOC)
    • 1 *.jsp files (43 LOC)
    • 1 *.sql files (6 LOC)
  • " *.java" is biggest, containing 39.35% of LOC.
  • " *.sql" is smallest, containing 0.07% of LOC.


*.java3484 LOC (39%) 42 files
*.xsl1429 LOC (16%) 47 files
*.xml1320 LOC (14%) 38 files
*.properties873 LOC (9%) 10 files
*.txt741 LOC (8%) 5 files
*.html483 LOC (5%) 27 files
*.bat256 LOC (2%) 3 files
*.sh119 LOC (1%) 3 files
*.xslt99 LOC (1%) 1 file
*.jsp43 LOC (<1%) 1 file
*.sql6 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 10:37