apache / uima-sandbox
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
project
properties
classpath
launch
prefs
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.

main30165 LOC (92%) 358 files
test189 LOC (<1%) 4 files
generated0 LOC (0%) 0 files
build and deployment1025 LOC (3%) 12 files
other1367 LOC (4%) 24 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
xsl
launch
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 358 files match defined criteria (30,165 LOC, 100.0% vs. main code):
    • 316 *.java files (24,880 LOC)
    • 32 *.xml files (3,949 LOC)
    • 3 *.groovy files (601 LOC)
    • 1 *.html files (355 LOC)
    • 5 *.xsl files (353 LOC)
    • 1 *.launch files (27 LOC)
  • " *.java" is biggest, containing 82.48% of LOC.
  • " *.launch" is smallest, containing 0.09% of LOC.


*.java24880 LOC (82%) 316 files
*.xml3949 LOC (13%) 32 files
*.groovy601 LOC (1%) 3 files
*.html355 LOC (1%) 1 file
*.xsl353 LOC (1%) 5 files
*.launch27 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/.*".
  • 4 files match defined criteria (189 LOC, 0.6% vs. main code):
    • 2 *.xml files (143 LOC)
    • 2 *.java files (46 LOC)
  • " *.xml" is biggest, containing 75.66% of LOC.
  • " *.java" is smallest, containing 24.34% of LOC.


*.xml143 LOC (75%) 2 files
*.java46 LOC (24%) 2 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 ".*[.]bat".
    • files with paths like ".*[.]sh".
    • files with paths like ".*/assembly/src[.]xml".
  • 12 files match defined criteria (1,025 LOC, 3.4% vs. main code):
    • 8 *.xml files (893 LOC)
    • 2 *.bat files (96 LOC)
    • 2 *.sh files (36 LOC)
  • " *.xml" is biggest, containing 87.12% of LOC.
  • " *.sh" is smallest, containing 3.51% of LOC.


*.xml893 LOC (87%) 8 files
*.bat96 LOC (9%) 2 files
*.sh36 LOC (3%) 2 files
Other Code
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]txt".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[Ee]xamples/.*".
  • 24 files match defined criteria (1,367 LOC, 4.5% vs. main code):
    • 19 *.txt files (1,119 LOC)
    • 2 *.java files (144 LOC)
    • 3 *.properties files (104 LOC)
  • " *.txt" is biggest, containing 81.86% of LOC.
  • " *.properties" is smallest, containing 7.61% of LOC.


*.txt1119 LOC (81%) 19 files
*.java144 LOC (10%) 2 files
*.properties104 LOC (7%) 3 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 14:53