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-1758

MotionChart widget

  • 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: MOTIONCHART-1.4
  • Component/s: Motion Chart
  • Labels:
    None
  • Number of attachments :
    0

Description

That would allow to add motion charts to both global and project dashboards.

Moreover this should now be the responsibility of the widget to decide/configure :

  • which metric should be used on each axe
  • the size of the motion chart
  • which level should be displayed (in case of a project dashboard => display the project or its components?)

Issue Links

depends upon

Improvement - An improvement or enhancement to an existing feature or task. SONARPLUGINS-1978 Ability to display any kind of metric in the Motion Chart component and not only a subset

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

Improvement - An improvement or enhancement to an existing feature or task. SONARPLUGINS-1614 Make it possible to save a configuration

  • Minor - Minor loss of function, or other problem where easy workaround is present.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Task - A task that needs to be done. SONARPLUGINS-2065 Remove the current MotionChart page

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

Bug - A problem which impairs or prevents the functions of the product. SONARPLUGINS-2094 It's not possible to display two motion chart widgets in the same page

  • 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 - 20/Jul/12 11:26 AM - edited

@Fabrice, here are several improvements :

  • Rename the "Global Motion Chart" into "Filter Motion Chart"
  • Always display a title for the "Filter Motion Chart" and this title should always contain the filter which is used to determine the resources to be displayed
  • The way to display title in project dashboard is different than the one used in the TimeLine and History Table widgets so I guess we should decide what is the official pattern
  • It not possible to select a filter which returns some views or developers. In that case, we get a rails error : "undefined method `created_at' for nil:NilClass"
  • When we select a filter which returns a lot of files, only a short part of them seem to be displayed.
  • The components checkbox should be available only in edit mode and should be selected by default (as this is currently the case). We could even imagine to fully remove this property (as displaying only the current resource doesn't seem to be very valuable) and to replace it by another "display source files" property to display either : the measures at file level or the measures at sub-components level
  • The default height should be 400
Show
Freddy Mallet added a comment - 20/Jul/12 11:26 AM - edited @Fabrice, here are several improvements : Rename the "Global Motion Chart" into "Filter Motion Chart" Always display a title for the "Filter Motion Chart" and this title should always contain the filter which is used to determine the resources to be displayed The way to display title in project dashboard is different than the one used in the TimeLine and History Table widgets so I guess we should decide what is the official pattern It not possible to select a filter which returns some views or developers. In that case, we get a rails error : "undefined method `created_at' for nil:NilClass" When we select a filter which returns a lot of files, only a short part of them seem to be displayed. The components checkbox should be available only in edit mode and should be selected by default (as this is currently the case). We could even imagine to fully remove this property (as displaying only the current resource doesn't seem to be very valuable) and to replace it by another "display source files" property to display either : the measures at file level or the measures at sub-components level The default height should be 400
Hide
Permalink
Fabrice Bellingard added a comment - 24/Jul/12 10:35 AM

All fixed (though I could not reproduce the problem with views or developers, this works perfectly on my side on Postgres & H2).

Show
Fabrice Bellingard added a comment - 24/Jul/12 10:35 AM All fixed (though I could not reproduce the problem with views or developers, this works perfectly on my side on Postgres & H2).
Hide
Permalink
Freddy Mallet added a comment - 25/Jul/12 12:33 PM

Perfect Fabrice ! I've done several tests and I guess the most useful metrics by default should be :

  • metric-y : coverage (no change)
  • metric-x : lines of code (instead of RCI)
  • metric-size : violations
  • metric-color : duplicated lines

Could you also slightly update the description of the Filter Motion Chart :

Displays a motion chart showing the evolution over time of a set of metrics on the result of specified filter

Show
Freddy Mallet added a comment - 25/Jul/12 12:33 PM Perfect Fabrice ! I've done several tests and I guess the most useful metrics by default should be : metric-y : coverage (no change) metric-x : lines of code (instead of RCI) metric-size : violations metric-color : duplicated lines Could you also slightly update the description of the Filter Motion Chart : Displays a motion chart showing the evolution over time of a set of metrics on the result of specified filter
Hide
Permalink
Freddy Mallet added a comment - 25/Jul/12 12:39 PM

I also know when the rails error : "undefined method `created_at' for nil:NilClass" is raised : this is when a filter doesn't return any result. So this is a very minor issue.

Show
Freddy Mallet added a comment - 25/Jul/12 12:39 PM I also know when the rails error : "undefined method `created_at' for nil:NilClass" is raised : this is when a filter doesn't return any result. So this is a very minor issue.
Hide
Permalink
Fabrice Bellingard added a comment - 26/Jul/12 7:29 AM

Feedback applied + display "No data" if a filter returns no resource.

Show
Fabrice Bellingard added a comment - 26/Jul/12 7:29 AM Feedback applied + display "No data" if a filter returns no resource.
Hide
Permalink
Freddy Mallet added a comment - 26/Jul/12 8:37 AM

Manually tested !

Show
Freddy Mallet added a comment - 26/Jul/12 8:37 AM Manually tested !

People

  • Assignee:
    Fabrice Bellingard
    Reporter:
    Simon Brandhof
Vote (0)
Watch (3)

Dates

  • Created:
    25/Apr/12 3:03 AM
    Updated:
    26/Jul/12 8:52 AM
    Resolved:
    26/Jul/12 7:29 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.