apache / commons-scxml
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
xsl
cgi
gitattributes
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.

main11766 LOC (51%) 153 files
test8864 LOC (38%) 174 files
generated0 LOC (0%) 0 files
build and deployment551 LOC (2%) 2 files
other1553 LOC (6%) 12 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
xsl
cgi
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 153 files match defined criteria (11,766 LOC, 100.0% vs. main code):
    • 124 *.java files (9,343 LOC)
    • 25 *.xml files (2,120 LOC)
    • 1 *.xsl files (138 LOC)
    • 1 *.js files (116 LOC)
    • 1 *.html files (45 LOC)
    • 1 *.cgi files (4 LOC)
  • " *.java" is biggest, containing 79.41% of LOC.
  • " *.cgi" is smallest, containing 0.03% of LOC.


*.java9343 LOC (79%) 124 files
*.xml2120 LOC (18%) 25 files
*.xsl138 LOC (1%) 1 file
*.js116 LOC (<1%) 1 file
*.html45 LOC (<1%) 1 file
*.cgi4 LOC (<1%) 1 file
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 ".*[-]test[-].*".
  • 174 files match defined criteria (8,864 LOC, 75.3% vs. main code):
    • 61 *.java files (4,679 LOC)
    • 110 *.xml files (3,185 LOC)
    • 3 *.xsl files (1,000 LOC)
  • " *.java" is biggest, containing 52.79% of LOC.
  • " *.xsl" is smallest, containing 11.28% of LOC.


*.java4679 LOC (52%) 61 files
*.xml3185 LOC (35%) 110 files
*.xsl1000 LOC (11%) 3 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/src[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitattributes".
  • 2 files match defined criteria (551 LOC, 4.7% vs. main code). All matches are in *.xml files.


*.xml551 LOC (100%) 2 files
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/checkstyle[.]xml".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*/changes[.]xml".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 12 files match defined criteria (1,553 LOC, 13.2% vs. main code):
    • 2 *.xml files (1,061 LOC)
    • 5 *.txt files (257 LOC)
    • 4 *.md files (212 LOC)
    • 1 *.json files (23 LOC)
  • " *.xml" is biggest, containing 68.32% of LOC.
  • " *.json" is smallest, containing 1.48% of LOC.


*.xml1061 LOC (68%) 2 files
*.txt257 LOC (16%) 5 files
*.md212 LOC (13%) 4 files
*.json23 LOC (1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:52