You can subscribe to this list here.
2005 |
Jan
|
Feb
|
Mar
(66) |
Apr
(29) |
May
(85) |
Jun
(66) |
Jul
(24) |
Aug
(139) |
Sep
(72) |
Oct
(26) |
Nov
(142) |
Dec
(34) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
(55) |
Feb
(72) |
Mar
(43) |
Apr
(60) |
May
(95) |
Jun
(22) |
Jul
(48) |
Aug
(17) |
Sep
(54) |
Oct
(30) |
Nov
(82) |
Dec
(17) |
2007 |
Jan
(23) |
Feb
(38) |
Mar
(46) |
Apr
(12) |
May
(77) |
Jun
(77) |
Jul
(94) |
Aug
(51) |
Sep
(38) |
Oct
(57) |
Nov
(39) |
Dec
(67) |
2008 |
Jan
(38) |
Feb
(56) |
Mar
(42) |
Apr
(46) |
May
(37) |
Jun
(43) |
Jul
(52) |
Aug
(22) |
Sep
(22) |
Oct
(34) |
Nov
(37) |
Dec
(29) |
2009 |
Jan
(27) |
Feb
(35) |
Mar
(67) |
Apr
(37) |
May
(31) |
Jun
(79) |
Jul
(71) |
Aug
(59) |
Sep
(31) |
Oct
(47) |
Nov
(36) |
Dec
(7) |
2010 |
Jan
(15) |
Feb
(87) |
Mar
(38) |
Apr
(33) |
May
(24) |
Jun
(47) |
Jul
(26) |
Aug
(28) |
Sep
(33) |
Oct
(13) |
Nov
(8) |
Dec
(36) |
2011 |
Jan
(32) |
Feb
(10) |
Mar
(29) |
Apr
(29) |
May
(17) |
Jun
(14) |
Jul
(33) |
Aug
(11) |
Sep
(7) |
Oct
(7) |
Nov
(6) |
Dec
(10) |
2012 |
Jan
(19) |
Feb
(12) |
Mar
(16) |
Apr
(6) |
May
(18) |
Jun
(18) |
Jul
(31) |
Aug
(25) |
Sep
|
Oct
(31) |
Nov
(21) |
Dec
(9) |
2013 |
Jan
(8) |
Feb
(16) |
Mar
(8) |
Apr
(7) |
May
(3) |
Jun
(29) |
Jul
(29) |
Aug
|
Sep
(7) |
Oct
(9) |
Nov
(1) |
Dec
(1) |
2014 |
Jan
(3) |
Feb
(4) |
Mar
|
Apr
(13) |
May
(8) |
Jun
(5) |
Jul
(2) |
Aug
(4) |
Sep
(4) |
Oct
(2) |
Nov
|
Dec
(2) |
2015 |
Jan
(1) |
Feb
|
Mar
(2) |
Apr
|
May
(2) |
Jun
(1) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2016 |
Jan
(2) |
Feb
|
Mar
|
Apr
(1) |
May
(1) |
Jun
(3) |
Jul
(3) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
(2) |
Feb
|
Mar
(1) |
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2025 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Pu G. <pu...@gm...> - 2011-10-09 05:25:40
|
Hi guys, I am trying to get the coverage number of my Android project tests. I did the following things to make the instrumented class can run on Android without any Java exception, but I couldn't get the cobertura.ser file. Anyone can tell me how to make Cobertura support Android. 1. Set the data file output path in run time by calling the System.setProperty. 2. Instrument all .class file of the Android apk project 3. Package all .class, coberatura.jar and all dependent jars. log4j.jar is replaced by slf4j. 4. Install the apk. 5. Install the test apk and run. Since on Android an application doesn't quit by user pressing Back/Home button, I use the test apk to make the app quit. The system will exit the app process after the junit tests finish. After I run the junit test, I didn't get any data file (.ser file). Thanks a lot. -G.P |
From: Steven C. <ste...@re...> - 2011-10-07 13:54:30
|
Did everything get instrumented properly? I had an issue where test units would fail if something failed to get instrumented properly. Try to run with verbose mode to catch any exceptions when instrumenting. On 10/6/2011 3:31 AM, Markey wrote: > Hi all, > > I have a java class in one java project. I've write 3 test cases for > it with junit. The cases will be successful if I run them in Eclipse > or mvn test in cmd. But every time I run them with mvn > cobertura:cobertura, they all fails, however all other test cases in > the same project will pass. > > Any suggestion? Or someone met this before? > > Thanks in advance. :) > > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2dcopy1 > > > _______________________________________________ > Cobertura-devel mailing list > Cob...@li... > https://lists.sourceforge.net/lists/listinfo/cobertura-devel Email Disclaimer: http://www.redprairie.com/emaildisclaimer/ |
From: Markey <sma...@gm...> - 2011-10-06 08:31:31
|
Hi all, I have a java class in one java project. I've write 3 test cases for it with junit. The cases will be successful if I run them in Eclipse or mvn test in cmd. But every time I run them with mvn cobertura:cobertura, they all fails, however all other test cases in the same project will pass. Any suggestion? Or someone met this before? Thanks in advance. :) |
From: Carney, M. S. <mc...@pt...> - 2011-10-01 15:42:45
|
I did end up writing some code. I added includeClasses and excludeClasses to the merge operation of Cobertura. The xml approach doesn’t work well on a large, distributed project. Using coverage files from other testing groups, I want to be able to remove classes not relevant to my area and combine that result with coverage from local testing. The change above achieves that by allowing arbitrary merging and splitting. The .ser file becomes the lingua franca between groups that can be exchanged and still manipulated. I am interested in submitting the code. Pointers on the process would be appreciated. Mike Carney From: jak...@gm... [mailto:jak...@gm...] On Behalf Of Jake Cobb Sent: Tuesday, August 16, 2011 1:49 PM To: Carney, Michael S. Cc: cob...@li... Subject: Re: [Cobertura-devel] Splitting .ser files Mike, I don't think you'll be able to do that without writing some code, although someone please correct me if this is not the case. The .ser files are serialized Java objects that would need to be loaded/deserialized, stripped of the package coverage counts you don't want and reserialized back into .ser files for processing by the reporting functionality. If you can work with the XML reports, maybe you can generate those and strip them using some simpler text processing? -Jake Cobb 2011/8/16 Carney, Michael S. <mc...@pt...> I have an .ser file generated for an entire product. I would like to be able to pull out of that .ser a subset of coverage based on package. I intend to combine that subset with other separately generated .ser files. Sort of a reverse merge. Any suggestions? Thanks Mike Carney ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 _______________________________________________ Cobertura-devel mailing list Cob...@li... https://lists.sourceforge.net/lists/listinfo/cobertura-devel |
From: Pu G. <pu...@gm...> - 2011-09-30 08:12:59
|
Hi developers, Who knows if Cobertura supports Android? If so, how to get it work? I have managed to instrument APKs and make the instrumented codes run on Android without Java exception.But the cobertura.ser was not created. Thanks a lot. -G.P |
From: Steven C. <ste...@re...> - 2011-09-28 20:10:26
|
If you are using ant, then insert filesets like in the example below. |<cobertura-report format="html" destdir="${coveragereport.dir}"> <fileset dir="nz/ac/massey/softwarex/group3/game"> <include name="**/*.java" /> </fileset> </cobertura-report> If you are running from the .bat file, at the very end of the command you put down the source directory: ||cobertura-report.bat --format html --datafile C:\MyProject\build\cobertura.ser --destination C:\MyProject\reports\coverage*C:\MyProject\src*| | | On 9/28/2011 2:11 AM, Natalie Eustace wrote: > Hi, I'm currently using cobertura for a Software Engineering project > at university, and am having some difficulties. I've implemented it, > and it is working to a point where it shows coverage, but when I click > on my classes for more detail, it says that: > > Unable to locate > nz/ac/massey/softwarec/group3/game/GameInterfaceTest.java. Have you > specified the source directory? > > What have I done wrong, as it is obviously finding my tests but I > cannot see it at the more basic level on what sections of the code are > covered. > Any help would be appreciated :). > > Cheers, > Natalie Eustace. > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2dcopy1 > _______________________________________________ > Cobertura-devel mailing list > Cob...@li... > https://lists.sourceforge.net/lists/listinfo/cobertura-devel Email Disclaimer: http://www.redprairie.com/emaildisclaimer/ |
From: Natalie E. <nat...@gm...> - 2011-09-28 07:11:08
|
Hi, I'm currently using cobertura for a Software Engineering project at university, and am having some difficulties. I've implemented it, and it is working to a point where it shows coverage, but when I click on my classes for more detail, it says that: Unable to locate nz/ac/massey/softwarec/group3/game/GameInterfaceTest.java. Have you specified the source directory? What have I done wrong, as it is obviously finding my tests but I cannot see it at the more basic level on what sections of the code are covered. Any help would be appreciated :). Cheers, Natalie Eustace. |
From: Chintan P. P. <Chi...@in...> - 2011-09-26 20:32:53
|
Hi Kishnakanth, I was trying to configure my JAX-WS webservices with corbetura, but i coudn't get success. Let me know if you are able to do that. Thanks Chintan ________________________________ From: krishnakanth batta [kk...@gm...] Sent: Monday, September 26, 2011 11:46 AM To: cob...@li... Subject: [Cobertura-devel] Missing SomeProjectLibA:ser:cobertura:0.0.1-SNAPSHOT problem for Server side code coverage attempt i am trying instrument and deploying a web service to capture server side code coverage. I tried following this article: http://mojo.codehaus.org/cobertura-maven-plugin/instrumentingDeploymentArtifact.html What should i put in SomeProjectLibA's pom that will make it create an artifact com.abc.def.ghi.SomeProjectLibA:ser:cobertura:0.0.1-SNAPSHOT which now it complains is missing. Parent pom configuration is exactly like its described in the article. I made all the suggested changes and i am trying to get the coverage for below artifact which is a dependency in SomeProject-Cobertura's pom. ..... ..... <dependency> <groupId>${project.groupId}</groupId> <artifactId>SomeProjectLibA</artifactId> <version>${project.version}</version> <classifier>sources</classifier> <type>jar</type> <scope>compile</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>SomeProjectLibA</artifactId> <version>${project.version}</version> <classifier>sources</classifier> <type>jar</type> <scope>compile</scope> </dependency> .... ..... # mvn -Dcobertura-build clean install output: ======= ...... ....... [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. Missing: ---------- 1) com.abc.def.ghi.SomeProjectLibA:ser:cobertura:0.0.1-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=com.abc.def.ghi -DartifactId=SomeProjectLibA -Dversion=0.0.1-SNAPSHOT -Dclassifier=cobertura -Dpackaging=ser -Dfile=/path/to/file thanks, kk -- Anything Anytime for Friends! **************** CAUTION - Disclaimer ***************** This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system. ***INFOSYS******** End of Disclaimer ********INFOSYS*** |
From: krishnakanth b. <kk...@gm...> - 2011-09-26 18:46:50
|
i am trying instrument and deploying a web service to capture server side code coverage. I tried following this article: http://mojo.codehaus.org/cobertura-maven-plugin/instrumentingDeploymentArtifact.html What should i put in SomeProjectLibA's pom that will make it create an artifact com.abc.def.ghi.SomeProjectLibA:ser:cobertura:0.0.1-SNAPSHOT which now it complains is missing. Parent pom configuration is exactly like its described in the article. I made all the suggested changes and i am trying to get the coverage for below artifact which is a dependency in SomeProject-Cobertura's pom. ..... ..... <dependency> <groupId>${project.groupId}</groupId> <artifactId>SomeProjectLibA</artifactId> <version>${project.version}</version> <classifier>sources</classifier> <type>jar</type> <scope>compile</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>SomeProjectLibA</artifactId> <version>${project.version}</version> <classifier>sources</classifier> <type>jar</type> <scope>compile</scope> </dependency> .... ..... # mvn -Dcobertura-build clean install output: ======= ...... ....... [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. Missing: ---------- 1) com.abc.def.ghi.SomeProjectLibA:ser:cobertura:0.0.1-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=com.abc.def.ghi -DartifactId=SomeProjectLibA -Dversion=0.0.1-SNAPSHOT -Dclassifier=cobertura -Dpackaging=ser -Dfile=/path/to/file thanks, kk -- Anything Anytime for Friends! |
From: Steven C. <ste...@re...> - 2011-09-23 16:50:59
|
I'm wondering if this might be compiler related issue. It looks like line count has increased, as well as the branch coverage. Also you're getting coverage on method headers. If you're up for a challenge, you can try out this version of cobertura which might fix it: https://cobertura.svn.sourceforge.net/svnroot/cobertura/branches/ptab_v2_0/cobertura On 9/22/2011 1:36 PM, Chuck Rossi (chuckr) wrote: > > I have a simple class that should be 100% tested by my unit test > cases. And if I don't have and lines of code split across line, > Cobertura reports 100% coverage as I would expect: > > However, if I split line 26 and rerun the same test, I get the following: > > It appears that cobertura is getting a bit confused about the lines > numbers. > > Is this a known problem? Is there a work-around other than changing > all our code to avoid new-lines within a line of Java code? I'm > running Java 1.6.0_19 with Tomcat 6.0.26. > > Chuck > > http://www.cisco.com/swa/i/logo.gif > > *Chuck Rossi* > *Technical Leader.engineering* > *Customer Service* > ch...@ci... <mailto:ch...@ci...> > Phone: *+1 978 936 1735* > > > > *Cisco Systems, Inc.* > 1414 Massachusetts Avenue > Boxborough, MA 01719 > United States > Cisco.com <http://www.cisco.com> > > > > Think before you print.Think before you print. > > > This email may contain confidential and privileged material for the > sole use of the intended recipient. Any review, use, distribution or > disclosure by others is strictly prohibited. If you are not the > intended recipient (or authorized to receive for the recipient), > please contact the sender by reply email and delete all copies of this > message. > > For corporate legal information go to: > http://www.cisco.com/web/about/doing_business/legal/cri/index.html > > > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2dcopy2 > > > _______________________________________________ > Cobertura-devel mailing list > Cob...@li... > https://lists.sourceforge.net/lists/listinfo/cobertura-devel Email Disclaimer: http://www.redprairie.com/emaildisclaimer/ |
From: John W. L. <Joh...@sa...> - 2011-08-28 00:16:23
|
Can you have cobertura run an xml coverage report and get the data from that? That is the recommended way to do what you are trying to do. From: Mark Hadley [mailto:keh...@bt...] Sent: Saturday, August 27, 2011 10:25 AM To: cob...@li... Subject: [Cobertura-devel] Cobertura.ser file Hi All, I am new to cobertura but would like to extract out the code coverage from the Cobertura.ser coverage file and place them in text files for data manipulation. I generated a Java serialisation object to read the ser file, but I keep getting a Java exception error. Therefore, please can anybody advise me how to open the cobertura.ser file to gain the raw data coverage achieved. Thanks in advance. Mark |
From: Mark H. <keh...@bt...> - 2011-08-27 14:24:57
|
Hi All, I am new to cobertura but would like to extract out the code coverage from the Cobertura.ser coverage file and place them in text files for data manipulation. I generated a Java serialisation object to read the ser file, but I keep getting a Java exception error. Therefore, please can anybody advise me how to open the cobertura.ser file to gain the raw data coverage achieved. Thanks in advance. Mark |
From: Jake C. <jak...@ga...> - 2011-08-16 18:48:48
|
Mike, I don't think you'll be able to do that without writing some code, although someone please correct me if this is not the case. The .ser files are serialized Java objects that would need to be loaded/deserialized, stripped of the package coverage counts you don't want and reserialized back into .ser files for processing by the reporting functionality. If you can work with the XML reports, maybe you can generate those and strip them using some simpler text processing? -Jake Cobb 2011/8/16 Carney, Michael S. <mc...@pt...> > I have an .ser file generated for an entire product. I would like to be > able to pull out of that .ser a subset of coverage based on package. I > intend to combine that subset with other separately generated .ser files. > Sort of a reverse merge. Any suggestions?**** > > ** ** > > Thanks**** > > Mike Carney**** > > > ------------------------------------------------------------------------------ > Get a FREE DOWNLOAD! and learn more about uberSVN rich system, > user administration capabilities and model configuration. Take > the hassle out of deploying and managing Subversion and the > tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 > > _______________________________________________ > Cobertura-devel mailing list > Cob...@li... > https://lists.sourceforge.net/lists/listinfo/cobertura-devel > > |
From: Carney, M. S. <mc...@pt...> - 2011-08-16 18:41:10
|
I have an .ser file generated for an entire product. I would like to be able to pull out of that .ser a subset of coverage based on package. I intend to combine that subset with other separately generated .ser files. Sort of a reverse merge. Any suggestions? Thanks Mike Carney |
From: John W. L. <Joh...@sa...> - 2011-08-10 20:02:09
|
You have to instrument the war that you deploy to websphere. After that is done, when you bring up the application a cobertura.ser file will be created somewhere in your application's directory under websphere. When you have found that location, you need to copy to that location the cobertura.ser file that was created during instrumentation. After testing, shut down websphere to have the coverage counts dumped to cobertura.ser (or use the coberturaFlush.war). Then, run the report. That is the general idea. -----Original Message----- From: ChintzNabble [mailto:chi...@in...] Sent: Wednesday, August 10, 2011 12:07 PM To: cob...@li... Subject: Re: [Cobertura-devel] Cobertura for a web service ubuntuuser wrote: > > Hi , > > I am a QA and i need to test the coverate of my testcases against the > dev code . the dev code is a web service which can be deployed on any > machine[i work on linux] > > the issue is. i got cobertura generate a coverege report but all the > classes show 0 covereage and some classes links when clicked dnt even > open up the src code. > the isue here is the web service. > > HOW can i run the testcases against the dev code and get a report of > the code covereage. my testcases do not at alll use any kinda > functions form the dev src code. i have my own apiz which i am using. > jus that the response grom the http post i recieve uisng which i > verify if my testcas passed o not. > but in the code coverage scenario how my testcases will figure out > what all classe in the src code were accessed? > i mean am really new to it..is there a way where this is possible?? > PLEASE GUIDE > > > Hi, did you get resolution of your problem? we are facing similar issue. We are not able to see code coverage for web sevices when deployed on web sphere server I would appreicate if you can give some pointers. Thanks Chintan -- View this message in context: http://old.nabble.com/Cobertura-for-a-web-service-tp30881021p32235366.html Sent from the cobertura-devel mailing list archive at Nabble.com. ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ Cobertura-devel mailing list Cob...@li... https://lists.sourceforge.net/lists/listinfo/cobertura-devel |
From: ChintzNabble <chi...@in...> - 2011-08-10 16:06:37
|
ubuntuuser wrote: > > Hi , > > I am a QA and i need to test the coverate of my testcases against the dev > code . the dev code is a web service which can be deployed on any > machine[i work on linux] > > the issue is. i got cobertura generate a coverege report but all the > classes show 0 covereage and some classes links when clicked dnt even open > up the src code. > the isue here is the web service. > > HOW can i run the testcases against the dev code and get a report of the > code covereage. my testcases do not at alll use any kinda functions form > the dev src code. i have my own apiz which i am using. jus that the > response grom the http post i recieve uisng which i verify if my testcas > passed o not. > but in the code coverage scenario how my testcases will figure out what > all classe in the src code were accessed? > i mean am really new to it..is there a way where this is possible?? > PLEASE GUIDE > > > Hi, did you get resolution of your problem? we are facing similar issue. We are not able to see code coverage for web sevices when deployed on web sphere server I would appreicate if you can give some pointers. Thanks Chintan -- View this message in context: http://old.nabble.com/Cobertura-for-a-web-service-tp30881021p32235366.html Sent from the cobertura-devel mailing list archive at Nabble.com. |
From: Fabien B. <fba...@gm...> - 2011-08-08 08:34:58
|
Hi John, Does this mean that the current version has some problems with annotations or only Jax webservices ? This could explain some instrumentation problems I have with my Java 1.6 source code full of annotations. Cheers, Fabien On Fri, Aug 5, 2011 at 6:33 PM, John W. Lewis <Joh...@sa...> wrote: > > If you are up for it, it would be great if you could download the code from > the subversion repository, build it, and try it. The code is at > https://cobertura.svn.sourceforge.net/svnroot/cobertura/branches/ptab_v2_0/cobertura > . > > It will eventually be Cobertura 2.0 if I can ever get the time to fully > test it and release it. It has gone through some good testing so far, and > it works better than the version of Cobertura that is currently "out there". > > It has a very good chance of working with your setup. > > John > > -----Original Message----- > From: ChintzNabble [mailto:chi...@in...] > Sent: Friday, August 05, 2011 11:52 AM > To: cob...@li... > Subject: [Cobertura-devel] Code coverage for JAX-WS Webservice > > > We are trying to integrate Cobertura code coverage tool in our application, > we have jax-ws webservices using annotations, the webservices are not > getting deployed if the code is instrumented with Cobertura, things are fine > without the inclusion of Cobertura. > > > > Anyone here used Cobertura tool before and faced any similar issues, and > can > provide any pointers to proceed. > > > > > -- > View this message in context: > http://old.nabble.com/Code-coverage-for-JAX-WS-Webservice-tp32203417p32203417.html > Sent from the cobertura-devel mailing list archive at Nabble.com. > > > > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > The must-attend event for mobile developers. Connect with experts. > Get tools for creating Super Apps. See the latest technologies. > Sessions, hands-on labs, demos & much more. Register early & save! > http://p.sf.net/sfu/rim-blackberry-1 > _______________________________________________ > Cobertura-devel mailing list > Cob...@li... > https://lists.sourceforge.net/lists/listinfo/cobertura-devel > > > > > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > The must-attend event for mobile developers. Connect with experts. > Get tools for creating Super Apps. See the latest technologies. > Sessions, hands-on labs, demos & much more. Register early & save! > http://p.sf.net/sfu/rim-blackberry-1 > _______________________________________________ > Cobertura-devel mailing list > Cob...@li... > https://lists.sourceforge.net/lists/listinfo/cobertura-devel > |
From: John W. L. <Joh...@sa...> - 2011-08-05 16:33:41
|
If you are up for it, it would be great if you could download the code from the subversion repository, build it, and try it. The code is at https://cobertura.svn.sourceforge.net/svnroot/cobertura/branches/ptab_v2_0/cobertura. It will eventually be Cobertura 2.0 if I can ever get the time to fully test it and release it. It has gone through some good testing so far, and it works better than the version of Cobertura that is currently "out there". It has a very good chance of working with your setup. John -----Original Message----- From: ChintzNabble [mailto:chi...@in...] Sent: Friday, August 05, 2011 11:52 AM To: cob...@li... Subject: [Cobertura-devel] Code coverage for JAX-WS Webservice We are trying to integrate Cobertura code coverage tool in our application, we have jax-ws webservices using annotations, the webservices are not getting deployed if the code is instrumented with Cobertura, things are fine without the inclusion of Cobertura. Anyone here used Cobertura tool before and faced any similar issues, and can provide any pointers to proceed. -- View this message in context: http://old.nabble.com/Code-coverage-for-JAX-WS-Webservice-tp32203417p32203417.html Sent from the cobertura-devel mailing list archive at Nabble.com. ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ Cobertura-devel mailing list Cob...@li... https://lists.sourceforge.net/lists/listinfo/cobertura-devel |
From: ChintzNabble <chi...@in...> - 2011-08-05 15:52:31
|
We are trying to integrate Cobertura code coverage tool in our application, we have jax-ws webservices using annotations, the webservices are not getting deployed if the code is instrumented with Cobertura, things are fine without the inclusion of Cobertura. Anyone here used Cobertura tool before and faced any similar issues, and can provide any pointers to proceed. -- View this message in context: http://old.nabble.com/Code-coverage-for-JAX-WS-Webservice-tp32203417p32203417.html Sent from the cobertura-devel mailing list archive at Nabble.com. |
From: John W. L. <Joh...@sa...> - 2011-07-26 14:58:10
|
There is an easy way, but unfortunately, it is not well documented. First, take a look at how you would do it in Ant since the documentation for Ant is better. Pay attention to the "excludeClasses" pattern/element: http://cobertura.sourceforge.net/anttaskreference.html If you want to use the command line, the equivalent functionality can be done by passing the regex with the -excludeClasses parameter. If you point to the jar, Cobertura will instrument it for you without you having to extract it. You can either have it make an instrumented copy by specifying a destination, or have it instrument the jar in place by not specifying a destination. John -----Original Message----- From: Artur Nikitczuk [mailto:pty...@gm...] Sent: Tuesday, July 26, 2011 5:19 AM To: cob...@li... Subject: [Cobertura-devel] exclude classes from jar Hi. Is there a possibility to exclude classes from jar, and copy unchanged from original jar?? Now I have to extract classes from jar, then do cobertura-instrument on this classes with <exclude name="my/package/*.class" /> Then I'm copying original clases, which I excluded, to a directory witch changed classes, and do jar command. Is there a "easy" way in cobertura to do this, rather than writing a code in ant? thanks Artur ------------------------------------------------------------------------------ Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ _______________________________________________ Cobertura-devel mailing list Cob...@li... https://lists.sourceforge.net/lists/listinfo/cobertura-devel |
From: Artur N. <pty...@gm...> - 2011-07-26 09:18:54
|
Hi. Is there a possibility to exclude classes from jar, and copy unchanged from original jar?? Now I have to extract classes from jar, then do cobertura-instrument on this classes with <exclude name="my/package/*.class" /> Then I'm copying original clases, which I excluded, to a directory witch changed classes, and do jar command. Is there a "easy" way in cobertura to do this, rather than writing a code in ant? thanks Artur |
From: Peter R. <pet...@gm...> - 2011-07-22 16:09:49
|
some but not all loops, I will see if I can get a small test class. I am not too sure if it is important, as there has always been end braces that have associated line number and byte code. see the end of method } above in jdk6. Peter 2011/7/22 Steven Christou <ste...@re...>: > That is weird indeed! I don't know if they want to fix this because it could > cause more problems. Is this only with loops, or with any closing brace? > > On 7/21/2011 4:16 PM, Peter Reilly wrote: > > Just about .6 % on a code base of 70,000 reported lines of code. > > jdk 1.6.0_24-b07 linux 64bit > jdk 1.7.0-b147 linux 64 bit > cobertura 1.9.4 > > Looking tru some of the files that are different, I noticed that > for jdk7, the } at the end of for loops are reported and in jdk6 they > are not. Most likely, the javac 7 compiler sets the line number for > the end of loop code differently than for javac 6. > > see (if they get tru the mail filters) the attached pngs. > > Peter > > On Thu, Jul 21, 2011 at 7:13 PM, Steven Christou > <ste...@re...> wrote: > > How much more, and where exactly? I don't think the jdk7 has done > anything that might cause more line coverage. Also what version are you > using? > > On 7/21/2011 8:31 AM, Peter Reilly wrote: > > I have just tested with jdk7 on our project with cobertura > (no code changes) > the only thing I noticed was the cobertura reports more > lines of code for jdk7 compiled code than for jdk6 compiled code. > > > Peter > > On Thu, Jul 21, 2011 at 1:46 PM, Steven Christou > <ste...@re...> wrote: > > On 7/19/2011 7:21 AM, Alexander Turner wrote: > > Thanks for the help! > > 1) I am doing java 7 specific stuff - I had to turn off the verifier > to get it to work - am writing up. > > I don't think cobertura is prepared yet for any new java 7 items like > the new array list, I could b wrong. > > 2) I have got the line count to work - that was not actually a java 7 issue. > > Can you show an example where you get branch coverage as N/A? > > When I have written up using with Java 7 will send link. > > Sounds good! > > Thanks - AJ > > Email Disclaimer: > http://www.redprairie.com/emaildisclaimer/ > > > ------------------------------------------------------------------------------ > 5 Ways to Improve& Secure Unified Communications > Unified Communications promises greater efficiencies for business. UC can > improve internal communications as well as offer faster, more efficient ways > to interact with customers and streamline customer service. Learn more! > http://www.accelacomm.com/jaw/sfnl/114/51426253/ > _______________________________________________ > Cobertura-devel mailing list > Cob...@li... > https://lists.sourceforge.net/lists/listinfo/cobertura-devel > > ------------------------------------------------------------------------------ > 5 Ways to Improve& Secure Unified Communications > Unified Communications promises greater efficiencies for business. UC can > improve internal communications as well as offer faster, more efficient ways > to interact with customers and streamline customer service. Learn more! > http://www.accelacomm.com/jaw/sfnl/114/51426253/ > _______________________________________________ > Cobertura-devel mailing list > Cob...@li... > https://lists.sourceforge.net/lists/listinfo/cobertura-devel > > Email Disclaimer: > http://www.redprairie.com/emaildisclaimer/ > > > ------------------------------------------------------------------------------ > 5 Ways to Improve & Secure Unified Communications > Unified Communications promises greater efficiencies for business. UC can > improve internal communications as well as offer faster, more efficient ways > to interact with customers and streamline customer service. Learn more! > http://www.accelacomm.com/jaw/sfnl/114/51426253/ > _______________________________________________ > Cobertura-devel mailing list > Cob...@li... > https://lists.sourceforge.net/lists/listinfo/cobertura-devel > > > > ------------------------------------------------------------------------------ > 5 Ways to Improve & Secure Unified Communications > Unified Communications promises greater efficiencies for business. UC can > improve internal communications as well as offer faster, more efficient ways > to interact with customers and streamline customer service. Learn more! > http://www.accelacomm.com/jaw/sfnl/114/51426253/ > > _______________________________________________ > Cobertura-devel mailing list > Cob...@li... > https://lists.sourceforge.net/lists/listinfo/cobertura-devel > > Email Disclaimer: > http://www.redprairie.com/emaildisclaimer/ > > ------------------------------------------------------------------------------ > 10 Tips for Better Web Security > Learn 10 ways to better secure your business today. Topics covered include: > Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, > security Microsoft Exchange, secure Instant Messaging, and much more. > http://www.accelacomm.com/jaw/sfnl/114/51426210/ > _______________________________________________ > Cobertura-devel mailing list > Cob...@li... > https://lists.sourceforge.net/lists/listinfo/cobertura-devel > > |
From: Steven C. <ste...@re...> - 2011-07-22 15:03:33
|
That is weird indeed! I don't know if they want to fix this because it could cause more problems. Is this only with loops, or with any closing brace? On 7/21/2011 4:16 PM, Peter Reilly wrote: > Just about .6 % on a code base of 70,000 reported lines of code. > > jdk 1.6.0_24-b07 linux 64bit > jdk 1.7.0-b147 linux 64 bit > cobertura 1.9.4 > > Looking tru some of the files that are different, I noticed that > for jdk7, the } at the end of for loops are reported and in jdk6 they > are not. Most likely, the javac 7 compiler sets the line number for > the end of loop code differently than for javac 6. > > see (if they get tru the mail filters) the attached pngs. > > Peter > > On Thu, Jul 21, 2011 at 7:13 PM, Steven Christou > <ste...@re...> wrote: >> How much more, and where exactly? I don't think the jdk7 has done >> anything that might cause more line coverage. Also what version are you >> using? >> >> On 7/21/2011 8:31 AM, Peter Reilly wrote: >>> I have just tested with jdk7 on our project with cobertura >>> (no code changes) >>> the only thing I noticed was the cobertura reports more >>> lines of code for jdk7 compiled code than for jdk6 compiled code. >>> >>> >>> Peter >>> >>> On Thu, Jul 21, 2011 at 1:46 PM, Steven Christou >>> <ste...@re...> wrote: >>>> On 7/19/2011 7:21 AM, Alexander Turner wrote: >>>>> Thanks for the help! >>>>> >>>>> 1) I am doing java 7 specific stuff - I had to turn off the verifier >>>>> to get it to work - am writing up. >>>> I don't think cobertura is prepared yet for any new java 7 items like >>>> the new array list, I could b wrong. >>>> >>>>> 2) I have got the line count to work - that was not actually a java 7 issue. >>>> Can you show an example where you get branch coverage as N/A? >>>>> When I have written up using with Java 7 will send link. >>>> Sounds good! >>>>> Thanks - AJ >>>>> >>>> Email Disclaimer: >>>> http://www.redprairie.com/emaildisclaimer/ >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> 5 Ways to Improve& Secure Unified Communications >>>> Unified Communications promises greater efficiencies for business. UC can >>>> improve internal communications as well as offer faster, more efficient ways >>>> to interact with customers and streamline customer service. Learn more! >>>> http://www.accelacomm.com/jaw/sfnl/114/51426253/ >>>> _______________________________________________ >>>> Cobertura-devel mailing list >>>> Cob...@li... >>>> https://lists.sourceforge.net/lists/listinfo/cobertura-devel >>>> >>> ------------------------------------------------------------------------------ >>> 5 Ways to Improve& Secure Unified Communications >>> Unified Communications promises greater efficiencies for business. UC can >>> improve internal communications as well as offer faster, more efficient ways >>> to interact with customers and streamline customer service. Learn more! >>> http://www.accelacomm.com/jaw/sfnl/114/51426253/ >>> _______________________________________________ >>> Cobertura-devel mailing list >>> Cob...@li... >>> https://lists.sourceforge.net/lists/listinfo/cobertura-devel >> Email Disclaimer: >> http://www.redprairie.com/emaildisclaimer/ >> >> >> ------------------------------------------------------------------------------ >> 5 Ways to Improve& Secure Unified Communications >> Unified Communications promises greater efficiencies for business. UC can >> improve internal communications as well as offer faster, more efficient ways >> to interact with customers and streamline customer service. Learn more! >> http://www.accelacomm.com/jaw/sfnl/114/51426253/ >> _______________________________________________ >> Cobertura-devel mailing list >> Cob...@li... >> https://lists.sourceforge.net/lists/listinfo/cobertura-devel >> >> >> >> ------------------------------------------------------------------------------ >> 5 Ways to Improve& Secure Unified Communications >> Unified Communications promises greater efficiencies for business. UC can >> improve internal communications as well as offer faster, more efficient ways >> to interact with customers and streamline customer service. Learn more! >> http://www.accelacomm.com/jaw/sfnl/114/51426253/ >> >> >> _______________________________________________ >> Cobertura-devel mailing list >> Cob...@li... >> https://lists.sourceforge.net/lists/listinfo/cobertura-devel Email Disclaimer: http://www.redprairie.com/emaildisclaimer/ |
From: Jim M. <jim...@gm...> - 2011-07-22 14:19:12
|
No problem. Mistakes happen. I would have checked anyway, since I try only to add people I know personally. Have a nice day. Jim McMaster mailto:jim...@gm... 2011/7/22 Leszek Szarlej <les...@gm...> > I apologize for this message. It was unintended. > > Thanks > Leszek > > > ------------------------------------------------------------------------------ > 10 Tips for Better Web Security > Learn 10 ways to better secure your business today. Topics covered include: > Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, > security Microsoft Exchange, secure Instant Messaging, and much more. > http://www.accelacomm.com/jaw/sfnl/114/51426210/ > _______________________________________________ > Cobertura-devel mailing list > Cob...@li... > https://lists.sourceforge.net/lists/listinfo/cobertura-devel > > |
From: Leszek S. <les...@gm...> - 2011-07-22 13:50:09
|
I apologize for this message. It was unintended. Thanks Leszek |