apache / grails-static-website
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
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.

main9230 LOC (42%) 100 files
test323 LOC (1%) 16 files
generated0 LOC (0%) 0 files
build and deployment190 LOC (<1%) 7 files
other11809 LOC (54%) 186 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 ".*".
  • 100 files match defined criteria (9,230 LOC, 100.0% vs. main code):
    • 49 *.groovy files (3,344 LOC)
    • 22 *.html files (2,509 LOC)
    • 6 *.css files (2,101 LOC)
    • 18 *.java files (849 LOC)
    • 5 *.js files (427 LOC)
  • " *.groovy" is biggest, containing 36.23% of LOC.
  • " *.js" is smallest, containing 4.63% of LOC.


*.groovy3344 LOC (36%) 49 files
*.html2509 LOC (27%) 22 files
*.css2101 LOC (22%) 6 files
*.java849 LOC (9%) 18 files
*.js427 LOC (4%) 5 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 ".*/testing[.].*".
    • files with paths like ".*/[Tt]est/.*".
  • 16 files match defined criteria (323 LOC, 3.5% vs. main code). All matches are in *.groovy files.


*.groovy323 LOC (100%) 16 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 ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]gradle".
    • files with paths like ".*[.]bat".
  • 7 files match defined criteria (190 LOC, 2.1% vs. main code):
    • 4 *.gradle files (78 LOC)
    • 1 *.bat files (71 LOC)
    • 2 *.sh files (41 LOC)
  • " *.gradle" is biggest, containing 41.05% of LOC.
  • " *.sh" is smallest, containing 21.58% of LOC.


*.gradle78 LOC (41%) 4 files
*.bat71 LOC (37%) 1 file
*.sh41 LOC (21%) 2 files
Other Code
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 ".*/[.]gitignore".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/[Dd]ocumentation/.*".
    • files with paths like ".*[.]txt".
  • 186 files match defined criteria (11,809 LOC, 127.9% vs. main code):
    • 123 *.md files (7,420 LOC)
    • 54 *.svg files (3,835 LOC)
    • 9 *.groovy files (554 LOC)
  • " *.md" is biggest, containing 62.83% of LOC.
  • " *.groovy" is smallest, containing 4.69% of LOC.


*.md7420 LOC (62%) 123 files
*.svg3835 LOC (32%) 54 files
*.groovy554 LOC (4%) 9 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:45