apache / incubator-kie-benchmarks
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
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.

main17902 LOC (47%) 457 files
test77 LOC (<1%) 2 files
generated0 LOC (0%) 0 files
build and deployment837 LOC (2%) 11 files
other18986 LOC (50%) 50 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 457 files match defined criteria (17,902 LOC, 100.0% vs. main code):
    • 451 *.java files (17,841 LOC)
    • 6 *.xml files (61 LOC)
  • " *.java" is biggest, containing 99.66% of LOC.
  • " *.xml" is smallest, containing 0.34% of LOC.


*.java17841 LOC (99%) 451 files
*.xml61 LOC (<1%) 6 files
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 ".*/test[.].*".
    • files with paths like ".*/[Tt]est/.*".
  • 2 files match defined criteria (77 LOC, 0.4% vs. main code):
    • 1 *.java files (65 LOC)
    • 1 *.xml files (12 LOC)
  • " *.java" is biggest, containing 84.42% of LOC.
  • " *.xml" is smallest, containing 15.58% of LOC.


*.java65 LOC (84%) 1 file
*.xml12 LOC (15%) 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/jenkins/.*[.]groovy".
    • files with paths like ".*[.]sh".
  • 11 files match defined criteria (837 LOC, 4.7% vs. main code):
    • 10 *.xml files (811 LOC)
    • 1 *.sh files (26 LOC)
  • " *.xml" is biggest, containing 96.89% of LOC.
  • " *.sh" is smallest, containing 3.11% of LOC.


*.xml811 LOC (96%) 10 files
*.sh26 LOC (3%) 1 file
Other Code
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 ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[Ee]xamples/.*".
  • 50 files match defined criteria (18,986 LOC, 106.1% vs. main code):
    • 7 *.json files (17,062 LOC)
    • 28 *.java files (1,355 LOC)
    • 8 *.xml files (234 LOC)
    • 1 *.txt files (169 LOC)
    • 6 *.md files (166 LOC)
  • " *.json" is biggest, containing 89.87% of LOC.
  • " *.md" is smallest, containing 0.87% of LOC.


*.json17062 LOC (89%) 7 files
*.java1355 LOC (7%) 28 files
*.xml234 LOC (1%) 8 files
*.txt169 LOC (<1%) 1 file
*.md166 LOC (<1%) 6 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 16:00