Feature Requests item #3413511, was opened at 2011-09-24 06:35
Message generated for change (Comment added) made by romanivanov
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397081&aid=3413511&group_id=29721
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Check
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: Roman Ivanov (romanivanov)
Assigned to: Nobody/Anonymous (nobody)
Summary: new check: OneReturnInMethod
Initial Comment:
One return in method is good practice as its ease understanding of method logic.
Make an option to :
- ignore for methods that less then N lines.
- Option to ignore return that is deeper then N levels(scopes).
----------------------------------------------------------------------
>Comment By: Roman Ivanov (romanivanov)
Date: 2011-09-24 08:12
Message:
Please consider to update existing check ReturnCount with options above
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397081&aid=3413511&group_id=29721
|