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