jamesfredley opened a new issue, #16015:
URL: https://github.com/apache/grails-core/issues/16015

   ## Summary
   
   The independent `grails-forge` build currently produces 426 PMD findings 
across all five source-bearing modules. The CLI report also includes generated 
Rocker sources under `build/`, so generated-source scoping must be corrected 
before treating the count as source debt.
   
   ## Reproduction
   
   From `grails-forge/`:
   
   ```shell
   ./gradlew aggregateAnalysisViolations --continue \
     -Pgrails.code-analysis.enabled.pmd=true \
     -Pgrails.code-analysis.ignoreFailures=true
   ```
   
   ## Baseline
   
   | Project | Findings |
   |---------|---------:|
   | `grails-forge-core` | 319 |
   | `grails-forge-cli` | 53 |
   | `grails-forge-api` | 50 |
   | `grails-forge-analytics-postgres` | 3 |
   | `grails-forge-web-netty` | 1 |
   | **Total** | **426** |
   
   ## Suggested approach
   
   1. Exclude `build/` and generated Rocker source directories from PMD inputs.
   2. Regenerate the baseline so only maintained source is counted.
   3. Clean and enable modules incrementally, beginning with the one- and 
three-finding modules.
   
   ## Acceptance criteria
   
   - Generated sources are absent from PMD reports.
   - Maintained sources in all five modules have zero findings.
   - Clean modules are made blocking as soon as they reach zero.
   - The complete `grails-forge` test suite passes.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to