apache / incubator-wayang
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
cfg
txt
gitmodules
cmd
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.

main68462 LOC (73%) 1,055 files
test13674 LOC (14%) 185 files
generated0 LOC (0%) 0 files
build and deployment3785 LOC (4%) 43 files
other7364 LOC (7%) 109 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
cfg
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 1055 files match defined criteria (68,462 LOC, 100.0% vs. main code):
    • 874 *.java files (58,997 LOC)
    • 128 *.scala files (7,176 LOC)
    • 34 *.py files (1,296 LOC)
    • 4 *.xml files (259 LOC)
    • 3 *.css files (239 LOC)
    • 5 *.html files (217 LOC)
    • 1 *.groovy files (143 LOC)
    • 1 *.g4 files (61 LOC)
    • 1 *.cfg files (28 LOC)
    • 2 *.js files (19 LOC)
    • 1 *.toml files (19 LOC)
    • 1 *.scss files (8 LOC)
  • " *.java" is biggest, containing 86.17% of LOC.
  • " *.scss" is smallest, containing 0.01% of LOC.


*.java58997 LOC (86%) 874 files
*.scala7176 LOC (10%) 128 files
*.py1296 LOC (1%) 34 files
*.xml259 LOC (<1%) 4 files
*.css239 LOC (<1%) 3 files
*.html217 LOC (<1%) 5 files
*.groovy143 LOC (<1%) 1 file
*.g461 LOC (<1%) 1 file
*.cfg28 LOC (<1%) 1 file
*.js19 LOC (<1%) 2 files
*.toml19 LOC (<1%) 1 file
*.scss8 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]ests/.*".
    • files with paths like ".*_test[.].*".
    • files with paths like ".*/test[.].*".
    • files with paths like ".*[-]tests[-].*".
  • 185 files match defined criteria (13,674 LOC, 20.0% vs. main code):
    • 168 *.java files (12,014 LOC)
    • 6 *.scala files (1,208 LOC)
    • 1 *.xml files (259 LOC)
    • 7 *.py files (170 LOC)
    • 3 *.yaml files (23 LOC)
  • " *.java" is biggest, containing 87.86% of LOC.
  • " *.yaml" is smallest, containing 0.17% of LOC.


*.java12014 LOC (87%) 168 files
*.scala1208 LOC (8%) 6 files
*.xml259 LOC (1%) 1 file
*.py170 LOC (1%) 7 files
*.yaml23 LOC (<1%) 3 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 ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitmodules".
    • files with paths like ".*/assembly[.]xml".
  • 43 files match defined criteria (3,785 LOC, 5.5% vs. main code):
    • 30 *.xml files (3,483 LOC)
    • 13 *.sh files (302 LOC)
  • " *.xml" is biggest, containing 92.02% of LOC.
  • " *.sh" is smallest, containing 7.98% of LOC.


*.xml3483 LOC (92%) 30 files
*.sh302 LOC (7%) 13 files
Other Code
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/[Ee]xamples/.*".
  • 109 files match defined criteria (7,364 LOC, 10.8% vs. main code):
    • 63 *.md files (3,595 LOC)
    • 29 *.properties files (2,330 LOC)
    • 11 *.json files (858 LOC)
    • 4 *.svg files (471 LOC)
    • 2 *.java files (110 LOC)
  • " *.md" is biggest, containing 48.82% of LOC.
  • " *.java" is smallest, containing 1.49% of LOC.


*.md3595 LOC (48%) 63 files
*.properties2330 LOC (31%) 29 files
*.json858 LOC (11%) 11 files
*.svg471 LOC (6%) 4 files
*.java110 LOC (1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 20:22