apache / tuscany-das
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
xsd
xsl
properties
txt
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.

main6822 LOC (31%) 81 files
test7850 LOC (36%) 154 files
generated0 LOC (0%) 0 files
build and deployment709 LOC (3%) 7 files
other5975 LOC (27%) 95 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 81 files match defined criteria (6,822 LOC, 100.0% vs. main code):
    • 79 *.java files (6,649 LOC)
    • 1 *.xml files (121 LOC)
    • 1 *.htm files (52 LOC)
  • " *.java" is biggest, containing 97.46% of LOC.
  • " *.htm" is smallest, containing 0.76% of LOC.


*.java6649 LOC (97%) 79 files
*.xml121 LOC (1%) 1 file
*.htm52 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/.*".
  • 154 files match defined criteria (7,850 LOC, 115.1% vs. main code):
    • 94 *.java files (6,907 LOC)
    • 60 *.xml files (943 LOC)
  • " *.java" is biggest, containing 87.99% of LOC.
  • " *.xml" is smallest, containing 12.01% of LOC.


*.java6907 LOC (87%) 94 files
*.xml943 LOC (12%) 60 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 ".*/build[.]xml".
  • 7 files match defined criteria (709 LOC, 10.4% vs. main code). All matches are in *.xml files.


*.xml709 LOC (100%) 7 files
Other Code
xsd
xsl
properties
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/resources/.*[.]xsd".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*[.]properties".
  • 95 files match defined criteria (5,975 LOC, 87.6% vs. main code):
    • 27 *.java files (2,489 LOC)
    • 30 *.xml files (1,223 LOC)
    • 6 *.htm files (799 LOC)
    • 7 *.jsp files (428 LOC)
    • 6 *.xsd files (254 LOC)
    • 2 *.js files (231 LOC)
    • 6 *.xsl files (174 LOC)
    • 5 *.properties files (140 LOC)
    • 3 *.html files (134 LOC)
    • 2 *.css files (102 LOC)
    • 1 *.txt files (1 LOC)
  • " *.java" is biggest, containing 41.66% of LOC.
  • " *.txt" is smallest, containing 0.02% of LOC.


*.java2489 LOC (41%) 27 files
*.xml1223 LOC (20%) 30 files
*.htm799 LOC (13%) 6 files
*.jsp428 LOC (7%) 7 files
*.xsd254 LOC (4%) 6 files
*.js231 LOC (3%) 2 files
*.xsl174 LOC (2%) 6 files
*.properties140 LOC (2%) 5 files
*.html134 LOC (2%) 3 files
*.css102 LOC (1%) 2 files
*.txt1 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 13:35