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)
  • Sonar
  • SONAR-1449

Adding option -Dsonar.exclusions=**/*.aj produce unexpected results

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.12
  • Fix Version/s: 2.1
  • Component/s: None
  • Labels:
    None

Description

Appending -Dsonar.exclusions=*/.aj to Sonar command line produces unexpected results. On project dashboard there are only a few values that are filled: LoC, Comments and Complexity.
There are 0 reported violations, no test result nor test coverage, no duplication, and no source code is visible in drill down (see attached screenshot).

There is no error in Maven console output.

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. sonar-aj.png
    59 kB
    17/Mar/10 8:03 AM

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Freddy Mallet added a comment - 24/Mar/10 5:42 AM

Bug has been reproduced on my side. Looks like the exclusion pattern "*/.aj" is not correctly interpreted. We're trying to fix it in Sonar 2.1.

Show
Freddy Mallet added a comment - 24/Mar/10 5:42 AM Bug has been reproduced on my side. Looks like the exclusion pattern "*/.aj" is not correctly interpreted. We're trying to fix it in Sonar 2.1.
Hide
Permalink
Freddy Mallet added a comment - 24/Mar/10 6:17 AM

BYW, on java side, it's not necessary to define such exclusion pattern, as Sonar only analyse .java files.

Show
Freddy Mallet added a comment - 24/Mar/10 6:17 AM BYW, on java side, it's not necessary to define such exclusion pattern, as Sonar only analyse .java files.

People

  • Assignee:
    Simon Brandhof
    Reporter:
    Julien HENRY
Vote (0)
Watch (0)

Dates

  • Created:
    17/Mar/10 8:03 AM
    Updated:
    25/Apr/10 2:57 PM
    Resolved:
    19/Apr/10 3:12 PM
  • 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.