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
prefs
project
lex
classpath
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.

main181343 LOC (93%) 986 files
test1288 LOC (<1%) 1 file
generated0 LOC (0%) 0 files
build and deployment1517 LOC (<1%) 5 files
other9082 LOC (4%) 177 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 ".*".
  • 986 files match defined criteria (181,343 LOC, 100.0% vs. main code):
    • 897 *.java files (163,460 LOC)
    • 58 *.xml files (16,406 LOC)
    • 7 *.xsl files (1,016 LOC)
    • 23 *.html files (444 LOC)
    • 1 *.inc files (17 LOC)
  • " *.java" is biggest, containing 90.14% of LOC.
  • " *.inc" is smallest, containing 0.01% of LOC.


*.java163460 LOC (90%) 897 files
*.xml16406 LOC (9%) 58 files
*.xsl1016 LOC (<1%) 7 files
*.html444 LOC (<1%) 23 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[.].*".
  • 1 file matches defined criteria (1,288 LOC, 0.7% vs. main code). All matches are in *.xml files.


*.xml1288 LOC (100%) 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".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 5 files match defined criteria (1,517 LOC, 0.8% vs. main code):
    • 1 *.xml files (1,359 LOC)
    • 2 *.bat files (91 LOC)
    • 2 *.sh files (67 LOC)
  • " *.xml" is biggest, containing 89.58% of LOC.
  • " *.sh" is smallest, containing 4.42% of LOC.


*.xml1359 LOC (89%) 1 file
*.bat91 LOC (5%) 2 files
*.sh67 LOC (4%) 2 files
Other Code
xsl
txt
properties
xslt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • 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 ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*[.]md".
  • 177 files match defined criteria (9,082 LOC, 5.0% vs. main code):
    • 42 *.java files (3,484 LOC)
    • 47 *.xsl files (1,429 LOC)
    • 38 *.xml files (1,320 LOC)
    • 3 *.txt files (942 LOC)
    • 10 *.properties files (882 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 *.md files (19 LOC)
    • 1 *.sql files (6 LOC)
  • " *.java" is biggest, containing 38.36% of LOC.
  • " *.sql" is smallest, containing 0.07% of LOC.


*.java3484 LOC (38%) 42 files
*.xsl1429 LOC (15%) 47 files
*.xml1320 LOC (14%) 38 files
*.txt942 LOC (10%) 3 files
*.properties882 LOC (9%) 10 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
*.md19 LOC (<1%) 1 file
*.sql6 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 22:11