jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven 2.x JavaNCSS Plugin
  • MJNCSS-1

Create javancss:check mojo

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: New Feature New Feature
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.0-beta-1
  • Fix Version/s: 2.0-beta-2
  • Labels:
    None

Description

Just like we have PMD and Checkstyle build checks, I would like to see a similar check mojo for javancss which will fail the build if a method has a CCN or line count greater than some configurable value. Something like this:

<configuration>
  <maximumLineCount>100</maximumLineCount>
  <maximumComplexity>20</maximumComplexity>
</configuration>

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Jean-Laurent de Morlhon added a comment - 18/Nov/06 8:57 AM

Code is there for some time now, documentation has been updated now.

Show
Jean-Laurent de Morlhon added a comment - 18/Nov/06 8:57 AM Code is there for some time now, documentation has been updated now.

People

  • Assignee:
    Jean-Laurent de Morlhon
    Reporter:
    Mike Perham
Vote (0)
Watch (0)

Dates

  • Created:
    28/May/06 1:48 PM
    Updated:
    18/Nov/06 8:57 AM
    Resolved:
    18/Nov/06 8:57 AM

Time Tracking

Estimated:
Not Specified
Original Estimate - Not Specified
Remaining:
1h
Time Spent - 2 hours Remaining Estimate - 1 hour
Logged:
2h
Time Spent - 2 hours Remaining Estimate - 1 hour
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.