You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ashutosh Chauhan (JIRA)" <ji...@apache.org> on 2012/05/01 01:51:47 UTC

[jira] [Created] (HIVE-2991) Integrate Clover with Hive

Ashutosh Chauhan created HIVE-2991:
--------------------------------------

             Summary: Integrate Clover with Hive
                 Key: HIVE-2991
                 URL: https://issues.apache.org/jira/browse/HIVE-2991
             Project: Hive
          Issue Type: Test
          Components: Testing Infrastructure
            Reporter: Ashutosh Chauhan
            Assignee: Ashutosh Chauhan


Atlassian has donated license of their code coverage tool Clover to ASF. Lets make use of it to generate code coverage report to figure out which areas of Hive are well tested and which ones are not. More information about license can be found in Hadoop jira HADOOP-1718 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HIVE-2991) Integrate Clover with Hive

Posted by "Edward Capriolo (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-2991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13265795#comment-13265795 ] 

Edward Capriolo commented on HIVE-2991:
---------------------------------------

It is a nice report, as I expected I am not sure the coverage accurately depicts reality http://people.apache.org/~hashutosh/hive-clover/ql/. You would think that all the clientpositive directory would give better coverage. Still a good thing to have and improve on.
                
> Integrate Clover with Hive
> --------------------------
>
>                 Key: HIVE-2991
>                 URL: https://issues.apache.org/jira/browse/HIVE-2991
>             Project: Hive
>          Issue Type: Test
>          Components: Testing Infrastructure
>            Reporter: Ashutosh Chauhan
>            Assignee: Ashutosh Chauhan
>         Attachments: HIVE-2991.D2985.1.patch
>
>
> Atlassian has donated license of their code coverage tool Clover to ASF. Lets make use of it to generate code coverage report to figure out which areas of Hive are well tested and which ones are not. More information about license can be found in Hadoop jira HADOOP-1718 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HIVE-2991) Integrate Clover with Hive

Posted by "Phabricator (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-2991?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Phabricator updated HIVE-2991:
------------------------------

    Attachment: HIVE-2991.D2985.1.patch

ashutoshc requested code review of "HIVE-2991 [jira] Integrate Clover with Hive".
Reviewers: JIRA

  https://issues.apache.org/jira/browse/HIVE-2991

  This patch integrates clover with Hive. To generate code coverage follow these steps:

  Download the clover jar and license from https://svn.apache.org/repos/private/committers/donated-licenses/clover/2.6.x/README.txt and put them in same dir
  (lets say to /home/me/clover/). Then to generate the clover reports run ant clean package test clover-reports -Dclover.jar=/home/me/clover/clover.jar

  TEST PLAN: Run ant clean package test clover-reports -Dclover.jar=/home/me/clover/clover.jar and reports should be in build/${ant.project.name}/clover/reports

  Atlassian has donated license of their code coverage tool Clover to ASF. Lets make use of it to generate code coverage report to figure out which areas of Hive are well tested and which ones are not. More information about license can be found in Hadoop jira HADOOP-1718

TEST PLAN
  EMPTY

REVISION DETAIL
  https://reviews.facebook.net/D2985

AFFECTED FILES
  build.xml
  build-common.xml

MANAGE HERALD DIFFERENTIAL RULES
  https://reviews.facebook.net/herald/view/differential/

WHY DID I GET THIS EMAIL?
  https://reviews.facebook.net/herald/transcript/6795/

Tip: use the X-Herald-Rules header to filter Herald messages in your client.

                
> Integrate Clover with Hive
> --------------------------
>
>                 Key: HIVE-2991
>                 URL: https://issues.apache.org/jira/browse/HIVE-2991
>             Project: Hive
>          Issue Type: Test
>          Components: Testing Infrastructure
>            Reporter: Ashutosh Chauhan
>            Assignee: Ashutosh Chauhan
>         Attachments: HIVE-2991.D2985.1.patch
>
>
> Atlassian has donated license of their code coverage tool Clover to ASF. Lets make use of it to generate code coverage report to figure out which areas of Hive are well tested and which ones are not. More information about license can be found in Hadoop jira HADOOP-1718 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HIVE-2991) Integrate Clover with Hive

Posted by "Edward Capriolo (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-2991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13265584#comment-13265584 ] 

Edward Capriolo commented on HIVE-2991:
---------------------------------------

I would be interested to see this. The crazy way we use velocity templates to generate out unit tests had me thinking that clover would not work well. I would like to be pleasantly surprised.
                
> Integrate Clover with Hive
> --------------------------
>
>                 Key: HIVE-2991
>                 URL: https://issues.apache.org/jira/browse/HIVE-2991
>             Project: Hive
>          Issue Type: Test
>          Components: Testing Infrastructure
>            Reporter: Ashutosh Chauhan
>            Assignee: Ashutosh Chauhan
>         Attachments: HIVE-2991.D2985.1.patch
>
>
> Atlassian has donated license of their code coverage tool Clover to ASF. Lets make use of it to generate code coverage report to figure out which areas of Hive are well tested and which ones are not. More information about license can be found in Hadoop jira HADOOP-1718 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HIVE-2991) Integrate Clover with Hive

Posted by "Ashutosh Chauhan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-2991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13265621#comment-13265621 ] 

Ashutosh Chauhan commented on HIVE-2991:
----------------------------------------

Here is the report I got by running it on hive trunk of last week: http://people.apache.org/~hashutosh/hive-clover/
                
> Integrate Clover with Hive
> --------------------------
>
>                 Key: HIVE-2991
>                 URL: https://issues.apache.org/jira/browse/HIVE-2991
>             Project: Hive
>          Issue Type: Test
>          Components: Testing Infrastructure
>            Reporter: Ashutosh Chauhan
>            Assignee: Ashutosh Chauhan
>         Attachments: HIVE-2991.D2985.1.patch
>
>
> Atlassian has donated license of their code coverage tool Clover to ASF. Lets make use of it to generate code coverage report to figure out which areas of Hive are well tested and which ones are not. More information about license can be found in Hadoop jira HADOOP-1718 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira