[ checkstyle-Feature Requests-3197024 ] New check: BlockLength

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

[ checkstyle-Feature Requests-3197024 ] New check: BlockLength

SourceForge.net
Feature Requests item #3197024, was opened at 2011-03-02 00:16
Message generated for change (Comment added) made by romanivanov
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397081&aid=3197024&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: BlockLength

Initial Comment:
Length of child block that is more then 80% of parent block is hard to read in case child block is long(few display screens).
We need to have check that detect such cases and suggest to move child block to separate method of change nested IF. Could be useful to have options to ignore while/if/for blocks - but this need to be investigated.

Options for user adjustment:
Parent block size, count of lines, default  could be 150 lines (or more)
Percentage of child block size, default could be 90 (90%)

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

>Comment By: Roman Ivanov (romanivanov)
Date: 2012-04-19 21:53

Message:
Released http://sevntu-checkstyle.github.com/sevntu.checkstyle/

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

Comment By: Daniil Yaroslavtsev (daniilyar)
Date: 2012-04-08 10:50

Message:
Done. Patch is here:
https://sourceforge.net/tracker/?func=detail&aid=3515909&group_id=29721&atid=397081

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

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397081&aid=3197024&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