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

main191090 LOC (49%) 1,795 files
test161832 LOC (42%) 1,572 files
generated0 LOC (0%) 0 files
build and deployment5961 LOC (1%) 97 files
other24093 LOC (6%) 1,097 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
prefs
launch
xsl
cmd
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 1795 files match defined criteria (191,090 LOC, 100.0% vs. main code):
    • 1,639 *.java files (182,874 LOC)
    • 121 *.xml files (6,804 LOC)
    • 2 *.prefs files (528 LOC)
    • 10 *.html files (406 LOC)
    • 16 *.launch files (258 LOC)
    • 4 *.xsl files (107 LOC)
    • 1 *.js files (68 LOC)
    • 2 *.cmd files (45 LOC)
  • " *.java" is biggest, containing 95.7% of LOC.
  • " *.cmd" is smallest, containing 0.02% of LOC.


*.java182874 LOC (95%) 1,639 files
*.xml6804 LOC (3%) 121 files
*.prefs528 LOC (<1%) 2 files
*.html406 LOC (<1%) 10 files
*.launch258 LOC (<1%) 16 files
*.xsl107 LOC (<1%) 4 files
*.js68 LOC (<1%) 1 file
*.cmd45 LOC (<1%) 2 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
launch
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[-]test[-].*".
    • files with paths like ".*/[Tt]est/.*".
  • 1572 files match defined criteria (161,832 LOC, 84.7% vs. main code):
    • 1,117 *.xml files (101,387 LOC)
    • 452 *.java files (59,446 LOC)
    • 1 *.ts files (971 LOC)
    • 2 *.launch files (28 LOC)
  • " *.xml" is biggest, containing 62.65% of LOC.
  • " *.launch" is smallest, containing 0.02% of LOC.


*.xml101387 LOC (62%) 1,117 files
*.java59446 LOC (36%) 452 files
*.ts971 LOC (<1%) 1 file
*.launch28 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]bat".
    • files with paths like ".*[.]sh".
    • files with paths like ".*/assembly/src[.]xml".
    • files with paths like ".*/[.]gitattributes".
  • 97 files match defined criteria (5,961 LOC, 3.1% vs. main code):
    • 53 *.xml files (4,890 LOC)
    • 21 *.bat files (657 LOC)
    • 23 *.sh files (414 LOC)
  • " *.xml" is biggest, containing 82.03% of LOC.
  • " *.sh" is smallest, containing 6.95% of LOC.


*.xml4890 LOC (82%) 53 files
*.bat657 LOC (11%) 21 files
*.sh414 LOC (6%) 23 files
Other Code
xmi
properties
txt
xsd
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/resources/.*[.]xsd".
    • files with paths like ".*[.]xmi".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]adoc".
    • files with paths like ".*/asciidoc/.*".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*[.]json".
  • 1097 files match defined criteria (24,093 LOC, 12.6% vs. main code):
    • 860 *.xmi files (12,818 LOC)
    • 82 *.java files (5,057 LOC)
    • 35 *.properties files (2,562 LOC)
    • 94 *.txt files (1,731 LOC)
    • 17 *.xml files (769 LOC)
    • 1 *.xsd files (598 LOC)
    • 7 *.md files (535 LOC)
    • 1 *.json files (23 LOC)
  • " *.xmi" is biggest, containing 53.2% of LOC.
  • " *.json" is smallest, containing 0.1% of LOC.


*.xmi12818 LOC (53%) 860 files
*.java5057 LOC (20%) 82 files
*.properties2562 LOC (10%) 35 files
*.txt1731 LOC (7%) 94 files
*.xml769 LOC (3%) 17 files
*.xsd598 LOC (2%) 1 file
*.md535 LOC (2%) 7 files
*.json23 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:38