apache / apache/grails-intellij-plugin

Mark code used only in tests as "Potentionaly Redundant"

Open
#167 0 comments 0 reactions 0 assignees View on GitHub
enhancement imported-from-youtrack
Dominant language
Java
Stars
17
Forks
4
Avg merge
5d 15h
Merged PRs (30d)
4

Description

I had an method in service that was covered by tests.
When controller that used that method was deleted, IntelliJ still shows that this method is used.
But actually it was used only by tests and I don't need it now.
Could you make some inspection for this cases?

---

*Imported from [IDEA-128600](https://youtrack.jetbrains.com/issue/IDEA-128600) · Type: Feature · Votes: 3*
*Comments, attachments, dates and reporter are not part of the export — follow the link above for the full history.*

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the plugin's existing inspection implementations and the imported IDEA-128600 issue, since no source files or tests are identified here. The work is complete when code referenced only from tests is identified and marked as "Potentially Redundant," with coverage for the reported controller-deletion scenario.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.