apache / uima-async-scaleout
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
properties
cmd
txt
xsd
launch
project
prefs
xsl
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.

main46031 LOC (59%) 340 files
test25685 LOC (33%) 366 files
generated0 LOC (0%) 0 files
build and deployment2793 LOC (3%) 31 files
other2722 LOC (3%) 27 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
xsl
xsd
cmd
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 340 files match defined criteria (46,031 LOC, 100.0% vs. main code):
    • 320 *.java files (39,954 LOC)
    • 14 *.xml files (3,759 LOC)
    • 1 *.xsl files (1,906 LOC)
    • 1 *.xsd files (216 LOC)
    • 1 *.html files (107 LOC)
    • 3 *.cmd files (89 LOC)
  • " *.java" is biggest, containing 86.8% of LOC.
  • " *.cmd" is smallest, containing 0.19% of LOC.


*.java39954 LOC (86%) 320 files
*.xml3759 LOC (8%) 14 files
*.xsl1906 LOC (4%) 1 file
*.xsd216 LOC (<1%) 1 file
*.html107 LOC (<1%) 1 file
*.cmd89 LOC (<1%) 3 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
cmd
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
  • 366 files match defined criteria (25,685 LOC, 55.8% vs. main code):
    • 347 *.xml files (21,027 LOC)
    • 16 *.java files (4,427 LOC)
    • 1 *.html files (157 LOC)
    • 2 *.cmd files (74 LOC)
  • " *.xml" is biggest, containing 81.86% of LOC.
  • " *.cmd" is smallest, containing 0.29% of LOC.


*.xml21027 LOC (81%) 347 files
*.java4427 LOC (17%) 16 files
*.html157 LOC (<1%) 1 file
*.cmd74 LOC (<1%) 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 ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]bat".
  • 31 files match defined criteria (2,793 LOC, 6.1% vs. main code):
    • 14 *.xml files (2,288 LOC)
    • 6 *.bat files (266 LOC)
    • 11 *.sh files (239 LOC)
  • " *.xml" is biggest, containing 81.92% of LOC.
  • " *.sh" is smallest, containing 8.56% of LOC.


*.xml2288 LOC (81%) 14 files
*.bat266 LOC (9%) 6 files
*.sh239 LOC (8%) 11 files
Other Code
properties
xsd
txt
launch
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/resources/.*[.]xsd".
  • 27 files match defined criteria (2,722 LOC, 5.9% vs. main code):
    • 9 *.properties files (874 LOC)
    • 2 *.java files (585 LOC)
    • 1 *.xsd files (580 LOC)
    • 2 *.md files (376 LOC)
    • 9 *.xml files (197 LOC)
    • 2 *.txt files (68 LOC)
    • 2 *.launch files (42 LOC)
  • " *.properties" is biggest, containing 32.11% of LOC.
  • " *.launch" is smallest, containing 1.54% of LOC.


*.properties874 LOC (32%) 9 files
*.java585 LOC (21%) 2 files
*.xsd580 LOC (21%) 1 file
*.md376 LOC (13%) 2 files
*.xml197 LOC (7%) 9 files
*.txt68 LOC (2%) 2 files
*.launch42 LOC (1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-11 01:45