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)
Signup
Sonar Plugins
  • Sonar Plugins
  • SONARPLUGINS-1809

Rule: Line too long

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: New Feature New Feature
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: JAVASCRIPT-1.0
  • Component/s: JavaScript
  • Labels:
    None
  • Number of attachments :
    0

Issue Links

depends upon

New Feature - A new feature of the product, which has yet to be developed. SONARPLUGINS-1788 Provide JavaScript rule engine based on SSLR

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Freddy Mallet added a comment - 15/May/12 8:05 AM

Works well Evgeny, could you just change the violation message as follows :

"The line contains x characters which is greater that y authorized"

Show
Freddy Mallet added a comment - 15/May/12 8:05 AM Works well Evgeny, could you just change the violation message as follows : "The line contains x characters which is greater that y authorized"
Hide
Permalink
Evgeny Mandrikov added a comment - 24/May/12 1:34 PM

Done.

Show
Evgeny Mandrikov added a comment - 24/May/12 1:34 PM Done.
Hide
Permalink
Freddy Mallet added a comment - 25/May/12 4:09 AM

In fact Evgeny, looks like we fire the violation as soon as we encounter the first token exceeding the threshold.

So with a line whose last character is at column 132 we can have the following violation message :

"The line contains 83 characters which is greater than 80 authorized."

Show
Freddy Mallet added a comment - 25/May/12 4:09 AM In fact Evgeny, looks like we fire the violation as soon as we encounter the first token exceeding the threshold. So with a line whose last character is at column 132 we can have the following violation message : "The line contains 83 characters which is greater than 80 authorized."
Hide
Permalink
Evgeny Mandrikov added a comment - 25/May/12 7:07 AM

You're right and I guess that this was a reason of a message, which you asked to change I'll take a look on that.

Show
Evgeny Mandrikov added a comment - 25/May/12 7:07 AM You're right and I guess that this was a reason of a message, which you asked to change I'll take a look on that.
Hide
Permalink
Evgeny Mandrikov added a comment - 25/May/12 8:35 AM

Should be fixed now.

Show
Evgeny Mandrikov added a comment - 25/May/12 8:35 AM Should be fixed now.
Hide
Permalink
Freddy Mallet added a comment - 30/May/12 9:10 AM

Manually tested !

Show
Freddy Mallet added a comment - 30/May/12 9:10 AM Manually tested !

People

  • Assignee:
    Evgeny Mandrikov
    Reporter:
    Evgeny Mandrikov
Vote (0)
Watch (2)

Dates

  • Created:
    11/May/12 11:55 PM
    Updated:
    31/May/12 12:19 AM
    Resolved:
    25/May/12 8:35 AM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.