apache / grails-spring-security
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
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.

main19128 LOC (23%) 365 files
test3604 LOC (4%) 49 files
generated0 LOC (0%) 0 files
build and deployment967 LOC (1%) 33 files
other57139 LOC (70%) 741 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 ".*".
  • 365 files match defined criteria (19,128 LOC, 100.0% vs. main code):
    • 296 *.groovy files (16,098 LOC)
    • 49 *.gsp files (1,853 LOC)
    • 10 *.css files (972 LOC)
    • 4 *.java files (94 LOC)
    • 3 *.js files (67 LOC)
    • 3 *.xml files (44 LOC)
  • " *.groovy" is biggest, containing 84.16% of LOC.
  • " *.xml" is smallest, containing 0.23% of LOC.


*.groovy16098 LOC (84%) 296 files
*.gsp1853 LOC (9%) 49 files
*.css972 LOC (5%) 10 files
*.java94 LOC (<1%) 4 files
*.js67 LOC (<1%) 3 files
*.xml44 LOC (<1%) 3 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/.*".
    • files with paths like ".*/[Ss]pecs/.*".
    • files with paths like ".*/test[.].*".
  • 49 files match defined criteria (3,604 LOC, 18.8% vs. main code):
    • 48 *.groovy files (3,590 LOC)
    • 1 *.sh files (14 LOC)
  • " *.groovy" is biggest, containing 99.61% of LOC.
  • " *.sh" is smallest, containing 0.39% of LOC.


*.groovy3590 LOC (99%) 48 files
*.sh14 LOC (<1%) 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 ".*[.]gradle".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]bat".
    • files with paths like ".*[.]sh".
  • 33 files match defined criteria (967 LOC, 5.1% vs. main code):
    • 31 *.gradle files (885 LOC)
    • 1 *.bat files (73 LOC)
    • 1 *.sh files (9 LOC)
  • " *.gradle" is biggest, containing 91.52% of LOC.
  • " *.sh" is smallest, containing 0.93% of LOC.


*.gradle885 LOC (91%) 31 files
*.bat73 LOC (7%) 1 file
*.sh9 LOC (<1%) 1 file
Other Code
properties
gsp
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 ".*/[Ee]xamples/.*".
    • files with paths like ".*/[Dd]emos?/.*".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]svg".
  • 741 files match defined criteria (57,139 LOC, 298.7% vs. main code):
    • 39 *.css files (16,960 LOC)
    • 11 *.js files (16,119 LOC)
    • 410 *.groovy files (14,568 LOC)
    • 110 *.properties files (4,664 LOC)
    • 127 *.gsp files (3,825 LOC)
    • 13 *.gradle files (405 LOC)
    • 14 *.xml files (226 LOC)
    • 9 *.md files (188 LOC)
    • 8 *.svg files (184 LOC)
  • " *.css" is biggest, containing 29.68% of LOC.
  • " *.svg" is smallest, containing 0.32% of LOC.


*.css16960 LOC (29%) 39 files
*.js16119 LOC (28%) 11 files
*.groovy14568 LOC (25%) 410 files
*.properties4664 LOC (8%) 110 files
*.gsp3825 LOC (6%) 127 files
*.gradle405 LOC (<1%) 13 files
*.xml226 LOC (<1%) 14 files
*.md188 LOC (<1%) 9 files
*.svg184 LOC (<1%) 8 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:22