Find empty catch blocks
Empty catch blocks are a serious maintainability/reliability issue, as is doing too much in a catch block. Would be great to have an easy way to locate/count all the places where catch blocks have no executable code in them, and/or get a line of code count in all catch blocks across an application.
15
votes
Anonymous
shared this idea
-
Not anytime soon, sorry
-
jp commented
Anything like this planned? Would also be nice to inspect other aspects of try-catch blocks, such as when throw instead of rethrow is being used.