apache / xerces-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
txt
xsd
xsl
properties
prefs
cgi
project
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.

main133628 LOC (79%) 762 files
test15505 LOC (9%) 259 files
generated0 LOC (0%) 0 files
build and deployment1271 LOC (<1%) 3 files
other18263 LOC (10%) 105 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
xsl
xsd
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 762 files match defined criteria (133,628 LOC, 100.0% vs. main code):
    • 720 *.java files (115,866 LOC)
    • 7 *.xml files (8,348 LOC)
    • 24 *.html files (8,342 LOC)
    • 5 *.xsl files (818 LOC)
    • 1 *.htm files (132 LOC)
    • 1 *.xsd files (67 LOC)
    • 4 *.css files (55 LOC)
  • " *.java" is biggest, containing 86.71% of LOC.
  • " *.css" is smallest, containing 0.04% of LOC.


*.java115866 LOC (86%) 720 files
*.xml8348 LOC (6%) 7 files
*.html8342 LOC (6%) 24 files
*.xsl818 LOC (<1%) 5 files
*.htm132 LOC (<1%) 1 file
*.xsd67 LOC (<1%) 1 file
*.css55 LOC (<1%) 4 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
xsd
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]ests/.*".
  • 259 files match defined criteria (15,505 LOC, 11.6% vs. main code):
    • 69 *.java files (12,412 LOC)
    • 149 *.xml files (1,558 LOC)
    • 41 *.xsd files (1,535 LOC)
  • " *.java" is biggest, containing 80.05% of LOC.
  • " *.xsd" is smallest, containing 9.9% of LOC.


*.java12412 LOC (80%) 69 files
*.xml1558 LOC (10%) 149 files
*.xsd1535 LOC (9%) 41 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/build[.]xml".
    • files with paths like ".*[.]sh".
  • 3 files match defined criteria (1,271 LOC, 1.0% vs. main code):
    • 1 *.xml files (1,190 LOC)
    • 1 *.bat files (44 LOC)
    • 1 *.sh files (37 LOC)
  • " *.xml" is biggest, containing 93.63% of LOC.
  • " *.sh" is smallest, containing 2.91% of LOC.


*.xml1190 LOC (93%) 1 file
*.bat44 LOC (3%) 1 file
*.sh37 LOC (2%) 1 file
Other Code
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[Ss]amples/.*".
  • 105 files match defined criteria (18,263 LOC, 13.7% vs. main code):
    • 49 *.java files (13,860 LOC)
    • 43 *.txt files (3,252 LOC)
    • 13 *.properties files (1,151 LOC)
  • " *.java" is biggest, containing 75.89% of LOC.
  • " *.properties" is smallest, containing 6.3% of LOC.


*.java13860 LOC (75%) 49 files
*.txt3252 LOC (17%) 43 files
*.properties1151 LOC (6%) 13 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 20:59