Searching for empty methods
Posted
by Brian McCord
on Stack Overflow
See other posts from Stack Overflow
or by Brian McCord
Published on 2010-05-18T16:22:55Z
Indexed on
2010/05/18
16:40 UTC
Read the original article
Hit count: 244
code-search
|code-review
I am currently working on a security audit/code review of our system. This requires me to check all pages in the system and make sure that the code behind contains two methods that are used to check security.
Sometimes the code in these methods get commented out to make testing easier.
So, my question is does anyone know an easy way to search code, make sure the methods are present, and to determine which ones have no code or have all the code commented out.
It would make my job much easier if I can get a list instead of having to look at every file...
I'm sure I could write this myself, but I thought someone may know of something that already exists.
Thanks!
© Stack Overflow or respective owner