apache / uima-ducc
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
tex
txt
properties
boot
project
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.

main159884 LOC (53%) 1,393 files
test12940 LOC (4%) 142 files
generated0 LOC (0%) 0 files
build and deployment2793 LOC (<1%) 25 files
other122764 LOC (41%) 277 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
tex
boot
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 1393 files match defined criteria (159,884 LOC, 100.0% vs. main code):
    • 1,097 *.java files (122,397 LOC)
    • 77 *.tex files (13,461 LOC)
    • 17 *.js files (11,684 LOC)
    • 99 *.jsp files (3,582 LOC)
    • 28 *.py files (3,316 LOC)
    • 23 *.css files (2,400 LOC)
    • 21 *.xml files (1,614 LOC)
    • 2 *.c files (661 LOC)
    • 24 *.html files (501 LOC)
    • 1 *.scss files (97 LOC)
    • 3 *.boot files (87 LOC)
    • 1 *.yaml files (84 LOC)
  • " *.java" is biggest, containing 76.55% of LOC.
  • " *.yaml" is smallest, containing 0.05% of LOC.


*.java122397 LOC (76%) 1,097 files
*.tex13461 LOC (8%) 77 files
*.js11684 LOC (7%) 17 files
*.jsp3582 LOC (2%) 99 files
*.py3316 LOC (2%) 28 files
*.css2400 LOC (1%) 23 files
*.xml1614 LOC (1%) 21 files
*.c661 LOC (<1%) 2 files
*.html501 LOC (<1%) 24 files
*.scss97 LOC (<1%) 1 file
*.boot87 LOC (<1%) 3 files
*.yaml84 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 ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
    • files with paths like ".*/test_.*".
  • 142 files match defined criteria (12,940 LOC, 8.1% vs. main code):
    • 74 *.java files (9,580 LOC)
    • 61 *.xml files (2,691 LOC)
    • 6 *.py files (666 LOC)
    • 1 *.jsp files (3 LOC)
  • " *.java" is biggest, containing 74.03% of LOC.
  • " *.jsp" is smallest, containing 0.02% of LOC.


*.java9580 LOC (74%) 74 files
*.xml2691 LOC (20%) 61 files
*.py666 LOC (5%) 6 files
*.jsp3 LOC (<1%) 1 file
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 ".*/package[.]json".
    • files with paths like ".*[.]sh".
  • 25 files match defined criteria (2,793 LOC, 1.7% vs. main code):
    • 20 *.xml files (2,589 LOC)
    • 5 *.sh files (204 LOC)
  • " *.xml" is biggest, containing 92.7% of LOC.
  • " *.sh" is smallest, containing 7.3% of LOC.


*.xml2589 LOC (92%) 20 files
*.sh204 LOC (7%) 5 files
Other Code
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[Ee]xamples/.*".
  • 277 files match defined criteria (122,764 LOC, 76.8% vs. main code):
    • 203 *.html files (110,432 LOC)
    • 25 *.txt files (7,496 LOC)
    • 15 *.properties files (2,176 LOC)
    • 4 *.css files (1,080 LOC)
    • 9 *.php files (429 LOC)
    • 4 *.sql files (296 LOC)
    • 1 *.scss files (289 LOC)
    • 2 *.js files (225 LOC)
    • 7 *.json files (175 LOC)
    • 4 *.md files (87 LOC)
    • 3 *.java files (79 LOC)
  • " *.html" is biggest, containing 89.95% of LOC.
  • " *.java" is smallest, containing 0.06% of LOC.


*.html110432 LOC (89%) 203 files
*.txt7496 LOC (6%) 25 files
*.properties2176 LOC (1%) 15 files
*.css1080 LOC (<1%) 4 files
*.php429 LOC (<1%) 9 files
*.sql296 LOC (<1%) 4 files
*.scss289 LOC (<1%) 1 file
*.js225 LOC (<1%) 2 files
*.json175 LOC (<1%) 7 files
*.md87 LOC (<1%) 4 files
*.java79 LOC (<1%) 3 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-11 02:47