apache / cxf
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
wsdl
properties
xsd
txt
xsl
cfg
asc
gitattributes
prefs
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.

main379923 LOC (39%) 3,847 files
test465020 LOC (48%) 5,422 files
generated9295 LOC (<1%) 12 files
build and deployment25517 LOC (2%) 206 files
other83252 LOC (8%) 1,560 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
wsdl
xsd
xsl
asc
cfg
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 3847 files match defined criteria (379,923 LOC, 100.0% vs. main code):
    • 3,623 *.java files (359,699 LOC)
    • 73 *.wsdl files (9,645 LOC)
    • 99 *.xml files (4,243 LOC)
    • 16 *.xsd files (2,599 LOC)
    • 15 *.xsl files (1,515 LOC)
    • 1 *.g files (1,141 LOC)
    • 1 *.js files (791 LOC)
    • 12 *.html files (160 LOC)
    • 1 *.rdf files (60 LOC)
    • 2 *.asc files (32 LOC)
    • 1 *.css files (30 LOC)
    • 1 *.groovy files (6 LOC)
    • 2 *.cfg files (2 LOC)
  • " *.java" is biggest, containing 94.68% of LOC.
  • " *.cfg" is smallest, containing 0% of LOC.


*.java359699 LOC (94%) 3,623 files
*.wsdl9645 LOC (2%) 73 files
*.xml4243 LOC (1%) 99 files
*.xsd2599 LOC (<1%) 16 files
*.xsl1515 LOC (<1%) 15 files
*.g1141 LOC (<1%) 1 file
*.js791 LOC (<1%) 1 file
*.html160 LOC (<1%) 12 files
*.rdf60 LOC (<1%) 1 file
*.asc32 LOC (<1%) 2 files
*.css30 LOC (<1%) 1 file
*.groovy6 LOC (<1%) 1 file
*.cfg2 LOC (<1%) 2 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
wsdl
xsl
xsd
cfg
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/test[.].*".
    • files with paths like ".*_test[.].*".
    • files with paths like ".*/test_.*".
    • files with paths like ".*/test[-]data/.*".
    • files with paths like ".*[-]tests/.*".
  • 5422 files match defined criteria (465,020 LOC, 122.4% vs. main code):
    • 3,403 *.java files (310,389 LOC)
    • 616 *.wsdl files (97,697 LOC)
    • 1,342 *.xml files (55,416 LOC)
    • 21 *.js files (814 LOC)
    • 17 *.xsl files (426 LOC)
    • 5 *.jsx files (111 LOC)
    • 10 *.html files (77 LOC)
    • 2 *.xsd files (29 LOC)
    • 2 *.sh files (24 LOC)
    • 2 *.jsp files (24 LOC)
    • 1 *.xhtml files (10 LOC)
    • 1 *.cfg files (3 LOC)
  • " *.java" is biggest, containing 66.75% of LOC.
  • " *.cfg" is smallest, containing 0% of LOC.


*.java310389 LOC (66%) 3,403 files
*.wsdl97697 LOC (21%) 616 files
*.xml55416 LOC (11%) 1,342 files
*.js814 LOC (<1%) 21 files
*.xsl426 LOC (<1%) 17 files
*.jsx111 LOC (<1%) 5 files
*.html77 LOC (<1%) 10 files
*.xsd29 LOC (<1%) 2 files
*.sh24 LOC (<1%) 2 files
*.jsp24 LOC (<1%) 2 files
*.xhtml10 LOC (<1%) 1 file
*.cfg3 LOC (<1%) 1 file
Generated Code
Automatically generated files, not manually changed after generation.
wsdl
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.](html|html|xhtml)" AND any line of content like "[ ]*[<]meta name[=]"generator" .*".
    • files with paths like ".*/generated/.*".
    • files with any line of content like "\<\!\-\-[ ]*Generated by .*".
  • 12 files match defined criteria (9,295 LOC, 2.4% vs. main code):
    • 6 *.java files (8,856 LOC)
    • 4 *.wsdl files (242 LOC)
    • 1 *.txt files (115 LOC)
    • 1 *.html files (82 LOC)
  • " *.java" is biggest, containing 95.28% of LOC.
  • " *.html" is smallest, containing 0.88% of LOC.


*.java8856 LOC (95%) 6 files
*.wsdl242 LOC (2%) 4 files
*.txt115 LOC (1%) 1 file
*.html82 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 ".*/pom[.]xml".
    • files with paths like ".*[.]sh".
    • 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 ".*/assembly/src[.]xml".
    • files with paths like ".*/[.]gitattributes".
  • 206 files match defined criteria (25,517 LOC, 6.7% vs. main code):
    • 205 *.xml files (25,480 LOC)
    • 1 *.sh files (37 LOC)
  • " *.xml" is biggest, containing 99.85% of LOC.
  • " *.sh" is smallest, containing 0.15% of LOC.


*.xml25480 LOC (99%) 205 files
*.sh37 LOC (<1%) 1 file
Other Code
xsd
properties
wsdl
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]txt".
    • files with paths like ".*/resources/.*[.]xsd".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]md".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*/[Dd]emos?/.*".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[Ee]xamples/.*".
  • 1560 files match defined criteria (83,252 LOC, 21.9% vs. main code):
    • 221 *.xsd files (22,230 LOC)
    • 468 *.java files (18,119 LOC)
    • 267 *.xml files (15,493 LOC)
    • 294 *.properties files (7,787 LOC)
    • 49 *.wsdl files (6,846 LOC)
    • 30 *.json files (5,988 LOC)
    • 202 *.txt files (5,433 LOC)
    • 8 *.html files (640 LOC)
    • 8 *.jsp files (286 LOC)
    • 3 *.js files (226 LOC)
    • 6 *.md files (148 LOC)
    • 1 *.jsx files (38 LOC)
    • 2 *.groovy files (10 LOC)
    • 1 *.rb files (8 LOC)
  • " *.xsd" is biggest, containing 26.7% of LOC.
  • " *.rb" is smallest, containing 0.01% of LOC.


*.xsd22230 LOC (26%) 221 files
*.java18119 LOC (21%) 468 files
*.xml15493 LOC (18%) 267 files
*.properties7787 LOC (9%) 294 files
*.wsdl6846 LOC (8%) 49 files
*.json5988 LOC (7%) 30 files
*.txt5433 LOC (6%) 202 files
*.html640 LOC (<1%) 8 files
*.jsp286 LOC (<1%) 8 files
*.js226 LOC (<1%) 3 files
*.md148 LOC (<1%) 6 files
*.jsx38 LOC (<1%) 1 file
*.groovy10 LOC (<1%) 2 files
*.rb8 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:40