apache / incubator-kie-optaplanner
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
xsd
gitattributes
xslt
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.

main369785 LOC (33%) 3,189 files
test60759 LOC (5%) 622 files
generated0 LOC (0%) 0 files
build and deployment5734 LOC (<1%) 54 files
other671858 LOC (60%) 1,031 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
xsd
xslt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 3189 files match defined criteria (369,785 LOC, 100.0% vs. main code):
    • 1,642 *.mm files (182,902 LOC)
    • 1,468 *.java files (94,387 LOC)
    • 57 *.xml files (81,807 LOC)
    • 6 *.js files (6,567 LOC)
    • 5 *.css files (2,222 LOC)
    • 1 *.ftl files (850 LOC)
    • 5 *.yaml files (729 LOC)
    • 2 *.xsd files (287 LOC)
    • 2 *.html files (18 LOC)
    • 1 *.xslt files (16 LOC)
  • " *.mm" is biggest, containing 49.46% of LOC.
  • " *.xslt" is smallest, containing 0% of LOC.


*.mm182902 LOC (49%) 1,642 files
*.java94387 LOC (25%) 1,468 files
*.xml81807 LOC (22%) 57 files
*.js6567 LOC (1%) 6 files
*.css2222 LOC (<1%) 5 files
*.ftl850 LOC (<1%) 1 file
*.yaml729 LOC (<1%) 5 files
*.xsd287 LOC (<1%) 2 files
*.html18 LOC (<1%) 2 files
*.xslt16 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[.].*".
  • 622 files match defined criteria (60,759 LOC, 16.4% vs. main code):
    • 571 *.java files (59,190 LOC)
    • 49 *.xml files (1,475 LOC)
    • 2 *.ftl files (94 LOC)
  • " *.java" is biggest, containing 97.42% of LOC.
  • " *.ftl" is smallest, containing 0.15% of LOC.


*.java59190 LOC (97%) 571 files
*.xml1475 LOC (2%) 49 files
*.ftl94 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 ".*[.]sh".
    • files with paths like ".*[.]bat".
    • files with paths like ".*/jenkins/.*[.]groovy".
    • files with paths like ".*/[.]gitattributes".
  • 54 files match defined criteria (5,734 LOC, 1.6% vs. main code):
    • 48 *.xml files (5,518 LOC)
    • 5 *.sh files (145 LOC)
    • 1 *.bat files (71 LOC)
  • " *.xml" is biggest, containing 96.23% of LOC.
  • " *.bat" is smallest, containing 1.24% of LOC.


*.xml5518 LOC (96%) 48 files
*.sh145 LOC (2%) 5 files
*.bat71 LOC (1%) 1 file
Other Code
txt
xsd
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]adoc".
    • files with paths like ".*[.]md".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/resources/.*[.]xsd".
  • 1031 files match defined criteria (671,858 LOC, 181.7% vs. main code):
    • 179 *.svg files (346,853 LOC)
    • 76 *.json files (203,376 LOC)
    • 88 *.txt files (54,263 LOC)
    • 571 *.java files (44,991 LOC)
    • 54 *.adoc files (15,512 LOC)
    • 46 *.xml files (3,992 LOC)
    • 2 *.xsd files (1,937 LOC)
    • 5 *.ftl files (713 LOC)
    • 10 *.properties files (221 LOC)
  • " *.svg" is biggest, containing 51.63% of LOC.
  • " *.properties" is smallest, containing 0.03% of LOC.


*.svg346853 LOC (51%) 179 files
*.json203376 LOC (30%) 76 files
*.txt54263 LOC (8%) 88 files
*.java44991 LOC (6%) 571 files
*.adoc15512 LOC (2%) 54 files
*.xml3992 LOC (<1%) 46 files
*.xsd1937 LOC (<1%) 2 files
*.ftl713 LOC (<1%) 5 files
*.properties221 LOC (<1%) 10 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:25