apache / uima-ruta
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
xmi
properties
project
prefs
gitattributes
flex
tex
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.

main109732 LOC (79%) 1,142 files
test16285 LOC (11%) 273 files
generated0 LOC (0%) 0 files
build and deployment4352 LOC (3%) 28 files
other7315 LOC (5%) 148 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
prefs
flex
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 1142 files match defined criteria (109,732 LOC, 100.0% vs. main code):
    • 1,013 *.java files (85,994 LOC)
    • 121 *.xml files (17,034 LOC)
    • 4 *.g files (5,915 LOC)
    • 2 *.prefs files (528 LOC)
    • 1 *.flex files (154 LOC)
    • 1 *.html files (107 LOC)
  • " *.java" is biggest, containing 78.37% of LOC.
  • " *.html" is smallest, containing 0.1% of LOC.


*.java85994 LOC (78%) 1,013 files
*.xml17034 LOC (15%) 121 files
*.g5915 LOC (5%) 4 files
*.prefs528 LOC (<1%) 2 files
*.flex154 LOC (<1%) 1 file
*.html107 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/.*".
    • files with paths like ".*/test[.].*".
  • 273 files match defined criteria (16,285 LOC, 14.8% vs. main code):
    • 238 *.java files (13,688 LOC)
    • 28 *.xml files (2,514 LOC)
    • 7 *.html files (83 LOC)
  • " *.java" is biggest, containing 84.05% of LOC.
  • " *.html" is smallest, containing 0.51% of LOC.


*.java13688 LOC (84%) 238 files
*.xml2514 LOC (15%) 28 files
*.html83 LOC (<1%) 7 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/assembly/src[.]xml".
    • files with paths like ".*/[.]gitattributes".
    • files with paths like ".*[.]sh".
  • 28 files match defined criteria (4,352 LOC, 4.0% vs. main code):
    • 27 *.xml files (4,325 LOC)
    • 1 *.sh files (27 LOC)
  • " *.xml" is biggest, containing 99.38% of LOC.
  • " *.sh" is smallest, containing 0.62% of LOC.


*.xml4325 LOC (99%) 27 files
*.sh27 LOC (<1%) 1 file
Other Code
txt
properties
xmi
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[Dd]ocumentation/.*".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]adoc".
    • files with paths like ".*/asciidoc/.*".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]xmi".
  • 148 files match defined criteria (7,315 LOC, 6.7% vs. main code):
    • 110 *.txt files (3,313 LOC)
    • 2 *.html files (2,082 LOC)
    • 14 *.java files (1,096 LOC)
    • 16 *.properties files (625 LOC)
    • 2 *.md files (159 LOC)
    • 4 *.xmi files (40 LOC)
  • " *.txt" is biggest, containing 45.29% of LOC.
  • " *.xmi" is smallest, containing 0.55% of LOC.


*.txt3313 LOC (45%) 110 files
*.html2082 LOC (28%) 2 files
*.java1096 LOC (14%) 14 files
*.properties625 LOC (8%) 16 files
*.md159 LOC (2%) 2 files
*.xmi40 LOC (<1%) 4 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 20:12