apache / cxf-fediz
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
properties
txt
wsdl
xsd
xsl
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.

main28799 LOC (39%) 398 files
test30342 LOC (41%) 192 files
generated0 LOC (0%) 0 files
build and deployment6795 LOC (9%) 43 files
other6783 LOC (9%) 171 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
wsdl
xsl
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 398 files match defined criteria (28,799 LOC, 100.0% vs. main code):
    • 293 *.java files (21,587 LOC)
    • 71 *.xml files (4,987 LOC)
    • 21 *.jsp files (1,404 LOC)
    • 2 *.wsdl files (641 LOC)
    • 9 *.html files (81 LOC)
    • 1 *.css files (70 LOC)
    • 1 *.xsl files (29 LOC)
  • " *.java" is biggest, containing 74.96% of LOC.
  • " *.xsl" is smallest, containing 0.1% of LOC.


*.java21587 LOC (74%) 293 files
*.xml4987 LOC (17%) 71 files
*.jsp1404 LOC (4%) 21 files
*.wsdl641 LOC (2%) 2 files
*.html81 LOC (<1%) 9 files
*.css70 LOC (<1%) 1 file
*.xsl29 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 ".*/[Tt]est/.*".
    • files with paths like ".*/[Tt]ests/.*".
  • 192 files match defined criteria (30,342 LOC, 105.4% vs. main code):
    • 99 *.java files (18,101 LOC)
    • 93 *.xml files (12,241 LOC)
  • " *.java" is biggest, containing 59.66% of LOC.
  • " *.xml" is smallest, containing 40.34% of LOC.


*.java18101 LOC (59%) 99 files
*.xml12241 LOC (40%) 93 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 ".*/pom[.]xml".
    • files with paths like ".*/assembly[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 43 files match defined criteria (6,795 LOC, 23.6% vs. main code). All matches are in *.xml files.


*.xml6795 LOC (100%) 43 files
Other Code
txt
properties
xsd
wsdl
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/resources/.*[.]xsd".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]md".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[Ee]xamples/.*".
  • 171 files match defined criteria (6,783 LOC, 23.6% vs. main code):
    • 50 *.xml files (2,124 LOC)
    • 26 *.txt files (1,487 LOC)
    • 58 *.properties files (1,320 LOC)
    • 12 *.java files (753 LOC)
    • 2 *.xsd files (506 LOC)
    • 3 *.wsdl files (307 LOC)
    • 17 *.html files (201 LOC)
    • 2 *.md files (72 LOC)
    • 1 *.jsp files (13 LOC)
  • " *.xml" is biggest, containing 31.31% of LOC.
  • " *.jsp" is smallest, containing 0.19% of LOC.


*.xml2124 LOC (31%) 50 files
*.txt1487 LOC (21%) 26 files
*.properties1320 LOC (19%) 58 files
*.java753 LOC (11%) 12 files
*.xsd506 LOC (7%) 2 files
*.wsdl307 LOC (4%) 3 files
*.html201 LOC (2%) 17 files
*.md72 LOC (1%) 2 files
*.jsp13 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 15:01