[ checkstyle-Feature Requests-3413511 ] new check: OneReturnInMethod

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[ checkstyle-Feature Requests-3413511 ] new check: OneReturnInMethod

SourceForge.net
Feature Requests item #3413511, was opened at 2011-09-23 20: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: 2012-04-19 22:05

Message:
Released at 1.0.5, http://sevntu-checkstyle.github.com/sevntu.checkstyle/

----------------------------------------------------------------------

Comment By: Daniil Yaroslavtsev (daniilyar)
Date: 2012-04-08 11:21

Message:
Done. Patch is here:
https://sourceforge.net/tracker/index.php?func=detail&aid=3515918&group_id=29721&atid=397080

----------------------------------------------------------------------

Comment By: Roman Ivanov (romanivanov)
Date: 2011-09-23 22: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

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Checkstyle-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/checkstyle-devel
Loading...