apache / grails-forge
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
gsp
x
gitattributes
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.

main12409 LOC (64%) 275 files
test4306 LOC (22%) 104 files
generated0 LOC (0%) 0 files
build and deployment1178 LOC (6%) 21 files
other1345 LOC (6%) 37 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
gsp
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 275 files match defined criteria (12,409 LOC, 100.0% vs. main code):
    • 264 *.java files (12,019 LOC)
    • 4 *.gsp files (205 LOC)
    • 3 *.css files (137 LOC)
    • 2 *.xml files (20 LOC)
    • 1 *.sql files (19 LOC)
    • 1 *.js files (9 LOC)
  • " *.java" is biggest, containing 96.86% of LOC.
  • " *.js" is smallest, containing 0.07% of LOC.


*.java12019 LOC (96%) 264 files
*.gsp205 LOC (1%) 4 files
*.css137 LOC (1%) 3 files
*.xml20 LOC (<1%) 2 files
*.sql19 LOC (<1%) 1 file
*.js9 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/.*".
  • 104 files match defined criteria (4,306 LOC, 34.7% vs. main code):
    • 88 *.groovy files (3,678 LOC)
    • 14 *.java files (606 LOC)
    • 2 *.xml files (22 LOC)
  • " *.groovy" is biggest, containing 85.42% of LOC.
  • " *.xml" is smallest, containing 0.51% of LOC.


*.groovy3678 LOC (85%) 88 files
*.java606 LOC (14%) 14 files
*.xml22 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 ".*[.]gradle".
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitattributes".
    • files with paths like ".*/pom[.]xml".
    • files with paths like ".*[.]bat".
  • 21 files match defined criteria (1,178 LOC, 9.5% vs. main code):
    • 17 *.gradle files (900 LOC)
    • 3 *.bat files (212 LOC)
    • 1 *.xml files (66 LOC)
  • " *.gradle" is biggest, containing 76.4% of LOC.
  • " *.xml" is smallest, containing 5.6% of LOC.


*.gradle900 LOC (76%) 17 files
*.bat212 LOC (17%) 3 files
*.xml66 LOC (5%) 1 file
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 ".*[.]adoc".
    • files with paths like ".*[.]json".
    • files with paths like ".*/config/checkstyle/.*".
    • files with paths like ".*/checkstyle[.]xml".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]svg".
  • 37 files match defined criteria (1,345 LOC, 10.8% vs. main code):
    • 26 *.properties files (900 LOC)
    • 1 *.md files (172 LOC)
    • 6 *.json files (126 LOC)
    • 2 *.xml files (101 LOC)
    • 2 *.svg files (46 LOC)
  • " *.properties" is biggest, containing 66.91% of LOC.
  • " *.svg" is smallest, containing 3.42% of LOC.


*.properties900 LOC (66%) 26 files
*.md172 LOC (12%) 1 file
*.json126 LOC (9%) 6 files
*.xml101 LOC (7%) 2 files
*.svg46 LOC (3%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 20:37