Details

    • Type: New Feature New Feature
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: CLIRR-0.2
    • Component/s: Clirr
    • Labels:
      None
    • Number of attachments :
      4

      Description

      It would be nice to have a plugin which measures the number of API break violations per version.

      For example, there is the maven-clirr-plugin which let's the build fail if an API breakage is detected. However, for non-API projects which are not forced to stay backward compatible, these metrics still have value as they show the stability of interfaces over time.

        Activity

        Hide
        Freddy Mallet added a comment -

        Sounds like a good idea Mike. What would be great is to be able to define a reference version in the Sonar interface for each project and the Sonar plugin should be able to compare the current version API with the reference one. All the violations could be inserted in Sonar and even associated to classes ?

        Do you know the output format of Clirr tool ?

        Show
        Freddy Mallet added a comment - Sounds like a good idea Mike. What would be great is to be able to define a reference version in the Sonar interface for each project and the Sonar plugin should be able to compare the current version API with the reference one. All the violations could be inserted in Sonar and even associated to classes ? Do you know the output format of Clirr tool ?
        Hide
        Mike R. Haller added a comment -

        Attached:
        1) Sources of the Clirr plugin for Sonar
        2) The binary. Put in %SONAR_HOME%/extensions/plugins/ and restart
        3) Screenshot of dashboard

        Show
        Mike R. Haller added a comment - Attached: 1) Sources of the Clirr plugin for Sonar 2) The binary. Put in %SONAR_HOME%/extensions/plugins/ and restart 3) Screenshot of dashboard
        Hide
        Mike R. Haller added a comment -

        1) Screenshot of configuration
        2) Source view of violations.

        Show
        Mike R. Haller added a comment - 1) Screenshot of configuration 2) Source view of violations.
        Hide
        Freddy Mallet added a comment -

        Whooo ...

        Mike, seems like we must give you rights on the Subversion repository. I'm going to do it tomorrow and keep you informed !

        Show
        Freddy Mallet added a comment - Whooo ... Mike, seems like we must give you rights on the Subversion repository. I'm going to do it tomorrow and keep you informed !
        Hide
        Mike R. Haller added a comment -

        Quick update: plugin has been submitted to SVN and work is (slowly) in progress.
        Plugin homepage is http://docs.codehaus.org/display/SONAR/Sonar+Clirr+Plugin
        Tasks are: clean up, separation of binary vs. source incompatibility metrics, more exact location of violations (currently on class-level, i'd like to have in at least on method-level is possible)
        Current snapshot of plugin is deployed on a production Sonar installation and in beta-testing

        Show
        Mike R. Haller added a comment - Quick update: plugin has been submitted to SVN and work is (slowly) in progress. Plugin homepage is http://docs.codehaus.org/display/SONAR/Sonar+Clirr+Plugin Tasks are: clean up, separation of binary vs. source incompatibility metrics, more exact location of violations (currently on class-level, i'd like to have in at least on method-level is possible) Current snapshot of plugin is deployed on a production Sonar installation and in beta-testing
        Hide
        Freddy Mallet added a comment -

        Mike, we'll do our best to include SONAR-810 in Sonar 1.10 (end of june).

        Show
        Freddy Mallet added a comment - Mike, we'll do our best to include SONAR-810 in Sonar 1.10 (end of june).

          People

          • Assignee:
            Simon Brandhof
            Reporter:
            Mike R. Haller
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 1 day, 3 hours
              1d 3h