apache / incubator-kie-kogito-apps
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
properties
proto
txt
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.

main38297 LOC (37%) 792 files
test44449 LOC (43%) 665 files
generated0 LOC (0%) 0 files
build and deployment9892 LOC (9%) 137 files
other10085 LOC (9%) 184 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
proto
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 792 files match defined criteria (38,297 LOC, 100.0% vs. main code):
    • 645 *.java files (34,813 LOC)
    • 52 *.sql files (1,039 LOC)
    • 59 *.xml files (897 LOC)
    • 9 *.graphqls files (776 LOC)
    • 4 *.proto files (464 LOC)
    • 12 *.yaml files (204 LOC)
    • 11 *.html files (104 LOC)
  • " *.java" is biggest, containing 90.9% of LOC.
  • " *.html" is smallest, containing 0.27% of LOC.


*.java34813 LOC (90%) 645 files
*.sql1039 LOC (2%) 52 files
*.xml897 LOC (2%) 59 files
*.graphqls776 LOC (2%) 9 files
*.proto464 LOC (1%) 4 files
*.yaml204 LOC (<1%) 12 files
*.html104 LOC (<1%) 11 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
proto
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/test_.*".
    • files with paths like ".*/test[.].*".
    • files with paths like ".*[-]tests/.*".
    • files with paths like ".*[-]tests[-].*".
    • files with paths like ".*/mock[a-zA-Z0-9_\- ]+/.*".
    • files with paths like ".*/[Mm]ocks/.*".
    • files with paths like ".*[-]test[-].*".
  • 665 files match defined criteria (44,449 LOC, 116.1% vs. main code):
    • 615 *.java files (40,232 LOC)
    • 41 *.xml files (3,625 LOC)
    • 9 *.proto files (592 LOC)
  • " *.java" is biggest, containing 90.51% of LOC.
  • " *.proto" is smallest, containing 1.33% of LOC.


*.java40232 LOC (90%) 615 files
*.xml3625 LOC (8%) 41 files
*.proto592 LOC (1%) 9 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 ".*/package[.]json".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/jenkins/.*[.]groovy".
    • files with paths like ".*[.]sh".
    • files with paths like ".*/docker[-]compose[.]yaml".
  • 137 files match defined criteria (9,892 LOC, 25.8% vs. main code):
    • 136 *.xml files (9,856 LOC)
    • 1 *.yaml files (36 LOC)
  • " *.xml" is biggest, containing 99.64% of LOC.
  • " *.yaml" is smallest, containing 0.36% of LOC.


*.xml9856 LOC (99%) 136 files
*.yaml36 LOC (<1%) 1 file
Other Code
properties
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]svg".
  • 184 files match defined criteria (10,085 LOC, 26.3% vs. main code):
    • 48 *.json files (5,142 LOC)
    • 112 *.properties files (3,609 LOC)
    • 14 *.md files (892 LOC)
    • 6 *.svg files (426 LOC)
    • 4 *.txt files (16 LOC)
  • " *.json" is biggest, containing 50.99% of LOC.
  • " *.txt" is smallest, containing 0.16% of LOC.


*.json5142 LOC (50%) 48 files
*.properties3609 LOC (35%) 112 files
*.md892 LOC (8%) 14 files
*.svg426 LOC (4%) 6 files
*.txt16 LOC (<1%) 4 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 20:00