apache / incubator-taverna-engine
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
ttl
txt
properties
project
owl
xsd
sparql
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.

main32843 LOC (76%) 559 files
test6798 LOC (15%) 107 files
generated130 LOC (<1%) 1 file
build and deployment2033 LOC (4%) 35 files
other960 LOC (2%) 17 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
ttl
sparql
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 559 files match defined criteria (32,843 LOC, 100.0% vs. main code):
    • 485 *.java files (31,388 LOC)
    • 48 *.xml files (814 LOC)
    • 2 *.ttl files (376 LOC)
    • 23 *.html files (229 LOC)
    • 1 *.sparql files (36 LOC)
  • " *.java" is biggest, containing 95.57% of LOC.
  • " *.sparql" is smallest, containing 0.11% of LOC.


*.java31388 LOC (95%) 485 files
*.xml814 LOC (2%) 48 files
*.ttl376 LOC (1%) 2 files
*.html229 LOC (<1%) 23 files
*.sparql36 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
ttl
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*[-]test[-].*".
  • 107 files match defined criteria (6,798 LOC, 20.7% vs. main code):
    • 83 *.java files (5,712 LOC)
    • 21 *.xml files (927 LOC)
    • 1 *.ttl files (149 LOC)
    • 2 *.html files (10 LOC)
  • " *.java" is biggest, containing 84.02% of LOC.
  • " *.html" is smallest, containing 0.15% of LOC.


*.java5712 LOC (84%) 83 files
*.xml927 LOC (13%) 21 files
*.ttl149 LOC (2%) 1 file
*.html10 LOC (<1%) 2 files
Generated Code
Automatically generated files, not manually changed after generation.
owl
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with any line of content like "\<\!\-\-[ ]*Generated by .*".
  • 1 file matches defined criteria (130 LOC, 0.4% vs. main code). All matches are in *.owl files.


*.owl130 LOC (100%) 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 35 files match defined criteria (2,033 LOC, 6.2% vs. main code). All matches are in *.xml files.


*.xml2033 LOC (100%) 35 files
Other Code
properties
xsd
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/resources/.*[.]xsd".
  • 17 files match defined criteria (960 LOC, 2.9% vs. main code):
    • 3 *.md files (569 LOC)
    • 4 *.json files (197 LOC)
    • 5 *.properties files (142 LOC)
    • 1 *.xsd files (48 LOC)
    • 4 *.txt files (4 LOC)
  • " *.md" is biggest, containing 59.27% of LOC.
  • " *.txt" is smallest, containing 0.42% of LOC.


*.md569 LOC (59%) 3 files
*.json197 LOC (20%) 4 files
*.properties142 LOC (14%) 5 files
*.xsd48 LOC (5%) 1 file
*.txt4 LOC (<1%) 4 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 15:30