[go: up one dir, main page]

Menu

#50 Auto-comment-out mode

Difficult
wont-fix
None
5
2017-03-27
2017-03-26
Anonymous
No

After running UCD and getting various markers for unused code, we currently have to go through a manual step of commenting out the code.

It would be very helpful if UCD had a setting that made it comment out anything it finds that's unused, and then rerun to find code no longer used because of the commenting, continuously on a file until everything possible is removed.

But even if it just did one level of commenting, and we had to rerun it, that would solve 90% of our cases, because we're mostly concerned about excessive coupling in interfaces and public APIs, which tend to only need one pass.

Discussion

  • Joerg Spieler

    Joerg Spieler - 2017-03-27
    • status: open --> wont-fix
    • assigned_to: Joerg Spieler
    • Priority: 1 --> 5
     
  • Joerg Spieler

    Joerg Spieler - 2017-03-27

    Wont-Fix: Development of UCDetector has slowed down.

    Please use QuickFix workarround:

    • Run UCDetector
    • Goto Problems View
    • Group By Type
    • Select UCDetectors "0 references" Warnings
    • Right Click -> QuickFix
    • Select "Turn Lines into Java Comments"
    • Press "Finish"
     

    Last edit: Joerg Spieler 2017-03-27

Anonymous
Anonymous

Add attachments
Cancel