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.

main118398 LOC (81%) 1,168 files
test16209 LOC (11%) 271 files
generated0 LOC (0%) 0 files
build and deployment3722 LOC (2%) 27 files
other7322 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 ".*".
  • 1168 files match defined criteria (118,398 LOC, 100.0% vs. main code):
    • 1,013 *.java files (85,707 LOC)
    • 147 *.xml files (26,019 LOC)
    • 4 *.g files (5,883 LOC)
    • 2 *.prefs files (528 LOC)
    • 1 *.flex files (154 LOC)
    • 1 *.html files (107 LOC)
  • " *.java" is biggest, containing 72.39% of LOC.
  • " *.html" is smallest, containing 0.09% of LOC.


*.java85707 LOC (72%) 1,013 files
*.xml26019 LOC (21%) 147 files
*.g5883 LOC (4%) 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/.*".
  • 271 files match defined criteria (16,209 LOC, 13.7% vs. main code):
    • 236 *.java files (13,612 LOC)
    • 28 *.xml files (2,514 LOC)
    • 7 *.html files (83 LOC)
  • " *.java" is biggest, containing 83.98% of LOC.
  • " *.html" is smallest, containing 0.51% of LOC.


*.java13612 LOC (83%) 236 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 ".*/[.]gitattributes".
    • files with paths like ".*[.]sh".
  • 27 files match defined criteria (3,722 LOC, 3.1% vs. main code):
    • 26 *.xml files (3,698 LOC)
    • 1 *.sh files (24 LOC)
  • " *.xml" is biggest, containing 99.36% of LOC.
  • " *.sh" is smallest, containing 0.64% of LOC.


*.xml3698 LOC (99%) 26 files
*.sh24 LOC (<1%) 1 file
Other Code
txt
properties
xmi
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[Dd]ocumentation/.*".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]xmi".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
  • 148 files match defined criteria (7,322 LOC, 6.2% 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 (166 LOC)
    • 4 *.xmi files (40 LOC)
  • " *.txt" is biggest, containing 45.25% 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
*.md166 LOC (2%) 2 files
*.xmi40 LOC (<1%) 4 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-11 01:46