|
|
|
SSC Journeyman
      
Group: General Forum Members
Last Login: Yesterday @ 2:19 PM
Points: 90,
Visits: 369
|
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Monday, May 13, 2013 4:19 PM
Points: 3,
Visits: 55
|
|
| Nice! I've been thinking about this as well. But the problem has been how to exclude comments in the query of the module definition. For example, if I've got a @ParamA parameter that's not used in the code but is included in a comment, I still want this reported since the parameter isn't used. It just happens to be referenced in a comment.
|
|
|
|
|
SSC Journeyman
      
Group: General Forum Members
Last Login: Yesterday @ 2:19 PM
Points: 90,
Visits: 369
|
|
Very interesting! I had not considered this. The issue would be identifying such a case since comments can be in many different forms:
--@my_unused_parameter
-- @my_unused_parameter
-- need to clean this up one day! -> @my_unused_parameter
/* @my_unused_parameter */
/* @my_unused_parameter */
Etc... You've given me some food for thought. Thanks for sharing! :)
|
|
|
|