Searching for empty methods
- by Brian McCord
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!