apache / uima-uimafit
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
properties
prefs
xmi
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.

main11460 LOC (44%) 148 files
test9538 LOC (37%) 111 files
generated0 LOC (0%) 0 files
build and deployment1395 LOC (5%) 15 files
other3340 LOC (12%) 82 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
prefs
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 148 files match defined criteria (11,460 LOC, 100.0% vs. main code):
    • 131 *.java files (9,828 LOC)
    • 14 *.xml files (1,080 LOC)
    • 2 *.prefs files (519 LOC)
    • 1 *.html files (33 LOC)
  • " *.java" is biggest, containing 85.76% of LOC.
  • " *.html" is smallest, containing 0.29% of LOC.


*.java9828 LOC (85%) 131 files
*.xml1080 LOC (9%) 14 files
*.prefs519 LOC (4%) 2 files
*.html33 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[-].*".
  • 111 files match defined criteria (9,538 LOC, 83.2% vs. main code):
    • 91 *.java files (8,959 LOC)
    • 20 *.xml files (579 LOC)
  • " *.java" is biggest, containing 93.93% of LOC.
  • " *.xml" is smallest, containing 6.07% of LOC.


*.java8959 LOC (93%) 91 files
*.xml579 LOC (6%) 20 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".
  • 15 files match defined criteria (1,395 LOC, 12.2% vs. main code):
    • 14 *.xml files (1,376 LOC)
    • 1 *.sh files (19 LOC)
  • " *.xml" is biggest, containing 98.64% of LOC.
  • " *.sh" is smallest, containing 1.36% of LOC.


*.xml1376 LOC (98%) 14 files
*.sh19 LOC (1%) 1 file
Other Code
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/asciidoc/.*".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
  • 82 files match defined criteria (3,340 LOC, 29.1% vs. main code):
    • 15 *.adoc files (1,519 LOC)
    • 34 *.java files (951 LOC)
    • 14 *.xml files (661 LOC)
    • 3 *.md files (181 LOC)
    • 11 *.txt files (23 LOC)
    • 5 *.properties files (5 LOC)
  • " *.adoc" is biggest, containing 45.48% of LOC.
  • " *.properties" is smallest, containing 0.15% of LOC.


*.adoc1519 LOC (45%) 15 files
*.java951 LOC (28%) 34 files
*.xml661 LOC (19%) 14 files
*.md181 LOC (5%) 3 files
*.txt23 LOC (<1%) 11 files
*.properties5 LOC (<1%) 5 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 14:53