apache / grails-forge-ui
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
snap
webmanifest
gitattributes
command
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.

main5161 LOC (53%) 110 files
test710 LOC (7%) 8 files
generated1327 LOC (13%) 2 files
build and deployment156 LOC (1%) 4 files
other2271 LOC (23%) 20 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
webmanifest
command
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 110 files match defined criteria (5,161 LOC, 100.0% vs. main code):
    • 85 *.js files (3,762 LOC)
    • 19 *.css files (1,061 LOC)
    • 2 *.jsx files (274 LOC)
    • 2 *.html files (40 LOC)
    • 1 *.webmanifest files (21 LOC)
    • 1 *.command files (3 LOC)
  • " *.js" is biggest, containing 72.89% of LOC.
  • " *.command" is smallest, containing 0.06% of LOC.


*.js3762 LOC (72%) 85 files
*.css1061 LOC (20%) 19 files
*.jsx274 LOC (5%) 2 files
*.html40 LOC (<1%) 2 files
*.webmanifest21 LOC (<1%) 1 file
*.command3 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
snap
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
    • files with paths like ".*__tests__.*".
    • files with paths like ".*[.]snap".
  • 8 files match defined criteria (710 LOC, 13.8% vs. main code):
    • 3 *.snap files (372 LOC)
    • 4 *.jsx files (273 LOC)
    • 1 *.js files (65 LOC)
  • " *.snap" is biggest, containing 52.39% of LOC.
  • " *.js" is smallest, containing 9.15% of LOC.


*.snap372 LOC (52%) 3 files
*.jsx273 LOC (38%) 4 files
*.js65 LOC (9%) 1 file
Generated Code
Automatically generated files, not manually changed after generation.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/package[-]lock[.]json".
  • 2 files match defined criteria (1,327 LOC, 25.7% vs. main code). All matches are in *.json files.


*.json1327 LOC (100%) 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 ".*[.]sh".
    • files with paths like ".*/package[-]lock[.]json".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitattributes".
    • files with paths like ".*[.]gradle".
    • files with paths like ".*[.]bat".
  • 4 files match defined criteria (156 LOC, 3.0% vs. main code):
    • 1 *.bat files (71 LOC)
    • 2 *.gradle files (53 LOC)
    • 1 *.sh files (32 LOC)
  • " *.bat" is biggest, containing 45.51% of LOC.
  • " *.sh" is smallest, containing 20.51% of LOC.


*.bat71 LOC (45%) 1 file
*.gradle53 LOC (33%) 2 files
*.sh32 LOC (20%) 1 file
Other Code
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]json".
    • 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 ".*[.]txt".
  • 20 files match defined criteria (2,271 LOC, 44.0% vs. main code):
    • 10 *.json files (1,680 LOC)
    • 8 *.svg files (475 LOC)
    • 2 *.md files (116 LOC)
  • " *.json" is biggest, containing 73.98% of LOC.
  • " *.md" is smallest, containing 5.11% of LOC.


*.json1680 LOC (73%) 10 files
*.svg475 LOC (20%) 8 files
*.md116 LOC (5%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 20:46