apache / ws-wss4j
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
xsd
txt
wsdl
asc
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.

main56010 LOC (44%) 490 files
test58630 LOC (46%) 334 files
generated1361 LOC (1%) 32 files
build and deployment1618 LOC (1%) 11 files
other7401 LOC (5%) 71 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
asc
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 490 files match defined criteria (56,010 LOC, 100.0% vs. main code):
    • 473 *.java files (54,237 LOC)
    • 15 *.xml files (1,704 LOC)
    • 2 *.asc files (69 LOC)
  • " *.java" is biggest, containing 96.83% of LOC.
  • " *.asc" is smallest, containing 0.12% of LOC.


*.java54237 LOC (96%) 473 files
*.xml1704 LOC (3%) 15 files
*.asc69 LOC (<1%) 2 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]est/.*".
    • files with paths like ".*/[Tt]ests/.*".
  • 334 files match defined criteria (58,630 LOC, 104.7% vs. main code):
    • 220 *.java files (54,510 LOC)
    • 113 *.xml files (4,094 LOC)
    • 1 *.xsl files (26 LOC)
  • " *.java" is biggest, containing 92.97% of LOC.
  • " *.xsl" is smallest, containing 0.04% of LOC.


*.java54510 LOC (92%) 220 files
*.xml4094 LOC (6%) 113 files
*.xsl26 LOC (<1%) 1 file
Generated Code
Automatically generated files, not manually changed after generation.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with any line of content like "// This file was generated .*".
  • 32 files match defined criteria (1,361 LOC, 2.4% vs. main code). All matches are in *.java files.


*.java1361 LOC (100%) 32 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 ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 11 files match defined criteria (1,618 LOC, 2.9% vs. main code):
    • 10 *.xml files (1,555 LOC)
    • 1 *.sh files (63 LOC)
  • " *.xml" is biggest, containing 96.11% of LOC.
  • " *.sh" is smallest, containing 3.89% of LOC.


*.xml1555 LOC (96%) 10 files
*.sh63 LOC (3%) 1 file
Other Code
xsd
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/resources/.*[.]xsd".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/asciidoc/.*".
  • 71 files match defined criteria (7,401 LOC, 13.2% vs. main code):
    • 22 *.xsd files (4,543 LOC)
    • 15 *.adoc files (1,431 LOC)
    • 3 *.txt files (985 LOC)
    • 29 *.properties files (379 LOC)
    • 2 *.md files (63 LOC)
  • " *.xsd" is biggest, containing 61.38% of LOC.
  • " *.md" is smallest, containing 0.85% of LOC.


*.xsd4543 LOC (61%) 22 files
*.adoc1431 LOC (19%) 15 files
*.txt985 LOC (13%) 3 files
*.properties379 LOC (5%) 29 files
*.md63 LOC (<1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 22:25