apache / xalan-test
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
me
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.

main31229 LOC (21%) 168 files
test114742 LOC (77%) 4,768 files
generated118 LOC (<1%) 10 files
build and deployment1926 LOC (1%) 17 files
other522 LOC (<1%) 9 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 ".*".
  • 168 files match defined criteria (31,229 LOC, 100.0% vs. main code):
    • 152 *.java files (29,486 LOC)
    • 8 *.xsl files (1,498 LOC)
    • 4 *.html files (166 LOC)
    • 4 *.xml files (79 LOC)
  • " *.java" is biggest, containing 94.42% of LOC.
  • " *.xml" is smallest, containing 0.25% of LOC.


*.java29486 LOC (94%) 152 files
*.xsl1498 LOC (4%) 8 files
*.html166 LOC (<1%) 4 files
*.xml79 LOC (<1%) 4 files
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]ests/.*".
    • files with paths like ".*_tests[.].*".
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
  • 4768 files match defined criteria (114,742 LOC, 367.4% vs. main code):
    • 2,335 *.xml files (78,404 LOC)
    • 2,414 *.xsl files (35,264 LOC)
    • 13 *.java files (868 LOC)
    • 2 *.html files (143 LOC)
    • 3 *.bat files (58 LOC)
    • 1 *.css files (5 LOC)
  • " *.xml" is biggest, containing 68.33% of LOC.
  • " *.css" is smallest, containing 0% of LOC.


*.xml78404 LOC (68%) 2,335 files
*.xsl35264 LOC (30%) 2,414 files
*.java868 LOC (<1%) 13 files
*.html143 LOC (<1%) 2 files
*.bat58 LOC (<1%) 3 files
*.css5 LOC (<1%) 1 file
Generated Code
Automatically generated files, not manually changed after generation.
xsl
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/generated/.*".
  • 10 files match defined criteria (118 LOC, 0.4% vs. main code):
    • 3 *.xsl files (64 LOC)
    • 7 *.xml files (54 LOC)
  • " *.xsl" is biggest, containing 54.24% of LOC.
  • " *.xml" is smallest, containing 45.76% of LOC.


*.xsl64 LOC (54%) 3 files
*.xml54 LOC (45%) 7 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 ".*[.]bat".
    • files with paths like ".*[.]sh".
    • files with paths like ".*/build[.]xml".
  • 17 files match defined criteria (1,926 LOC, 6.2% vs. main code):
    • 1 *.xml files (1,313 LOC)
    • 12 *.bat files (434 LOC)
    • 4 *.sh files (179 LOC)
  • " *.xml" is biggest, containing 68.17% of LOC.
  • " *.sh" is smallest, containing 9.29% of LOC.


*.xml1313 LOC (68%) 1 file
*.bat434 LOC (22%) 12 files
*.sh179 LOC (9%) 4 files
Other Code
properties
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]json".
    • files with paths like ".*/README[.][a-z0-9]+".
  • 9 files match defined criteria (522 LOC, 1.7% vs. main code):
    • 6 *.properties files (468 LOC)
    • 2 *.txt files (43 LOC)
    • 1 *.html files (11 LOC)
  • " *.properties" is biggest, containing 89.66% of LOC.
  • " *.html" is smallest, containing 2.11% of LOC.


*.properties468 LOC (89%) 6 files
*.txt43 LOC (8%) 2 files
*.html11 LOC (2%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 22:11