apache / incubator-taverna-language
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
xsd
cwl
ttl
owl
jsonld
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.

main24576 LOC (48%) 268 files
test16754 LOC (32%) 149 files
generated1827 LOC (3%) 5 files
build and deployment1164 LOC (2%) 16 files
other6537 LOC (12%) 117 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
ttl
xsd
jsonld
owl
cwl
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 268 files match defined criteria (24,576 LOC, 100.0% vs. main code):
    • 247 *.java files (22,109 LOC)
    • 2 *.ttl files (1,075 LOC)
    • 5 *.xsd files (767 LOC)
    • 1 *.jsonld files (135 LOC)
    • 8 *.xml files (125 LOC)
    • 1 *.rdf files (108 LOC)
    • 1 *.py files (87 LOC)
    • 1 *.owl files (83 LOC)
    • 1 *.rb files (57 LOC)
    • 1 *.cwl files (30 LOC)
  • " *.java" is biggest, containing 89.96% of LOC.
  • " *.cwl" is smallest, containing 0.12% of LOC.


*.java22109 LOC (89%) 247 files
*.ttl1075 LOC (4%) 2 files
*.xsd767 LOC (3%) 5 files
*.jsonld135 LOC (<1%) 1 file
*.xml125 LOC (<1%) 8 files
*.rdf108 LOC (<1%) 1 file
*.py87 LOC (<1%) 1 file
*.owl83 LOC (<1%) 1 file
*.rb57 LOC (<1%) 1 file
*.cwl30 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
ttl
cwl
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*[-]tests/.*".
  • 149 files match defined criteria (16,754 LOC, 68.2% vs. main code):
    • 124 *.java files (13,061 LOC)
    • 3 *.ttl files (1,888 LOC)
    • 8 *.rdf files (1,039 LOC)
    • 7 *.xml files (583 LOC)
    • 6 *.cwl files (178 LOC)
    • 1 *.sh files (5 LOC)
  • " *.java" is biggest, containing 77.96% of LOC.
  • " *.sh" is smallest, containing 0.03% of LOC.


*.java13061 LOC (77%) 124 files
*.ttl1888 LOC (11%) 3 files
*.rdf1039 LOC (6%) 8 files
*.xml583 LOC (3%) 7 files
*.cwl178 LOC (1%) 6 files
*.sh5 LOC (<1%) 1 file
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 .*".
  • 5 files match defined criteria (1,827 LOC, 7.4% vs. main code):
    • 2 *.rdf files (1,541 LOC)
    • 2 *.svg files (172 LOC)
    • 1 *.owl files (114 LOC)
  • " *.rdf" is biggest, containing 84.35% of LOC.
  • " *.owl" is smallest, containing 6.24% of LOC.


*.rdf1541 LOC (84%) 2 files
*.svg172 LOC (9%) 2 files
*.owl114 LOC (6%) 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".
    • files with paths like ".*[.]sh".
  • 16 files match defined criteria (1,164 LOC, 4.7% vs. main code). All matches are in *.xml files.


*.xml1164 LOC (100%) 16 files
Other Code
xsd
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/resources/.*[.]xsd".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/[Ee]xamples/.*".
  • 117 files match defined criteria (6,537 LOC, 26.6% vs. main code):
    • 33 *.xsd files (3,918 LOC)
    • 7 *.md files (1,039 LOC)
    • 9 *.java files (707 LOC)
    • 59 *.txt files (400 LOC)
    • 7 *.json files (301 LOC)
    • 2 *.svg files (172 LOC)
  • " *.xsd" is biggest, containing 59.94% of LOC.
  • " *.svg" is smallest, containing 2.63% of LOC.


*.xsd3918 LOC (59%) 33 files
*.md1039 LOC (15%) 7 files
*.java707 LOC (10%) 9 files
*.txt400 LOC (6%) 59 files
*.json301 LOC (4%) 7 files
*.svg172 LOC (2%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 15:30