<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to feature-requests</title><link href="https://sourceforge.net/p/emma/feature-requests/" rel="alternate"/><link href="https://sourceforge.net/p/emma/feature-requests/feed.atom" rel="self"/><id>https://sourceforge.net/p/emma/feature-requests/</id><updated>2018-08-16T10:54:57.608000Z</updated><subtitle>Recent changes to feature-requests</subtitle><entry><title>Java 11 Compatibility check: EMMA</title><link href="https://sourceforge.net/p/emma/feature-requests/126/" rel="alternate"/><published>2018-08-16T10:54:57.608000Z</published><updated>2018-08-16T10:54:57.608000Z</updated><author><name>Krzysztof</name><uri>https://sourceforge.net/u/kryniu/</uri></author><id>https://sourceforge.net36dfe6e39c986b398b1f1370f8817bab8a275be1</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
We are reaching out to you to check Java 11 compatibility of the library EMMA.&lt;/p&gt;
&lt;p&gt;Could you help us by answering the following questions:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Library Name: &amp;lt;library name.="" e.g:="" activation=""&amp;gt;&amp;lt;/library&amp;gt;&lt;/li&gt;
&lt;li&gt;Latest version: &amp;lt;latest 1.1.1="" eg:="" version.=""&amp;gt;&amp;lt;/latest&amp;gt;&lt;/li&gt;
&lt;li&gt;Latest version Is the library compatible with Java 11 Compatible? (Y/N)&lt;/li&gt;
&lt;li&gt;Is the library supported with Java 11? (Y/N)&lt;/li&gt;
&lt;li&gt;(If “N” in compatibility or support) What is the versions that would be compatible and Supported?&lt;/li&gt;
&lt;li&gt;Date of support availability?&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Appreciate your response by 19.08.2018.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br/&gt;
Krzysztof Dragan,&lt;br/&gt;
PTC Inc. Contractor&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>EMMA news</title><link href="https://sourceforge.net/p/emma/feature-requests/125/" rel="alternate"/><published>2011-12-29T15:27:45Z</published><updated>2011-12-29T15:27:45Z</updated><author><name>fabio</name><uri>https://sourceforge.net/u/fabio02/</uri></author><id>https://sourceforge.net7e2e6161a7fc38691ab5dbab19590ac6fdd7c774</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi, I would like to know if you guys are still working on EMMA. If you are working in some new released, bugfix or something. And i'm not talking aboute the plug-in.&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>MIDlet support</title><link href="https://sourceforge.net/p/emma/feature-requests/124/" rel="alternate"/><published>2011-02-19T10:32:56Z</published><updated>2011-02-19T10:32:56Z</updated><author><name>Stevan White</name><uri>https://sourceforge.net/u/userid-577739/</uri></author><id>https://sourceforge.net0140077b3f61edfa111a1cc5dc23763b02acac4f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I would really like to use emma on a J2ME MIDP 2.0 MIDlet.&lt;/p&gt;
&lt;p&gt;Don't know how you would implement it.  Maybe via some hooks in the WTK emulator?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>In-place instrumentation should add emma.jar to classpath</title><link href="https://sourceforge.net/p/emma/feature-requests/123/" rel="alternate"/><published>2011-01-26T12:12:51Z</published><updated>2011-01-26T12:12:51Z</updated><author><name>Ben Spiller</name><uri>https://sourceforge.net/u/benspiller/</uri></author><id>https://sourceforge.net478c83af1353b170cfe8dc2d7a959602ee65217b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I love EMMA's in-place .jar file instrumentation ability - EMMA is the only tool that has this feature as far as I can tell, and it allows us to run an instrumentation step on all our built jars and then execute our enormous python-based test framework - without making changes to hundreds of python and ant files to turn coverage on for each testcase individually (e.g. no need to change classpath to include the instrumented jar directory each time we invoke java.exe). &lt;/p&gt;
&lt;p&gt;The only problem is that emma.jar needs to be explicitly added to the classpath whenever we invoke java - and that's *really* hard when there are a large number of places it's invoked (from python, from hundreds of separate ant scripts, from eclipse, etc); putting emma.jar into the jvm lib/ext directory helps but is clunky and doesn't always work (e.g. ClassDefNotFound if executing java from ant under linux if forked=false!). &lt;/p&gt;
&lt;p&gt;So I wonder if it would be possible to have an instrumentation option for hardcoding the location of the emma.jar during the instrumentation process so that once a .jar has been instrumented it can run with NO additional jvm/classpath arguments at all. &lt;/p&gt;
&lt;p&gt;This would be a really awesome feature :o)&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Filter methods from the coverage report</title><link href="https://sourceforge.net/p/emma/feature-requests/122/" rel="alternate"/><published>2010-02-09T05:20:13Z</published><updated>2010-02-09T05:20:13Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netd888f09afe0e5b3df1c5fd901b438bb3e19d9446</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi all,&lt;br /&gt;
I think that would be interesting to have the ability to filter methods from the coverage report. There are methods that aren't important (for a lack of a better adjective) enough to be tested. For example, if I override a toString() method for debug purposes, or dummy get/set methods. The problem is that the coverage report is polluted from non-tested code that from a developer point of view shouldn't be tested (well, just simply not interested in test it).&lt;br /&gt;
Thanks&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Block coverage makes it impossible to cover unit tests</title><link href="https://sourceforge.net/p/emma/feature-requests/121/" rel="alternate"/><published>2009-08-09T02:26:56Z</published><updated>2009-08-09T02:26:56Z</updated><author><name>Jim Showalter</name><uri>https://sourceforge.net/u/jameshowalter/</uri></author><id>https://sourceforge.net74b7ba8e5b958b1658c471ecf9cdfcef243e6962</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;When running coverage tests, I'm in the habit of running them on my unit tests in addition to the code under test. This has allowed me to catch code in unit tests that I thought was behaving a certain way but turned out not to.&lt;/p&gt;
&lt;p&gt;But EMMA won't let me do that. Consider code like this:&lt;/p&gt;
&lt;p&gt;wordsManager = new WordsManager(mDataAccessor, new PriorityWordsFilter(3, 2, true));&lt;br /&gt;
assertIsTrue(wordsManager.getNotificationMode() == WordsManager.NOTIFICATION_MODE_NO_CHANGE);&lt;br /&gt;
assertNotNull(wordsManager.getPriorityWords());&lt;br /&gt;
assertIsTrue(wordsManager.getPriorityWords().length == 0);&lt;br /&gt;
wordsManager.updatePriorityWordsFilter(new PriorityWordsFilter(3, 2, true));&lt;br /&gt;
assertIsTrue(wordsManager.getNotificationMode() == WordsManager.NOTIFICATION_MODE_NO_CHANGE);&lt;br /&gt;
assertNotNull(wordsManager.getPriorityWords());&lt;br /&gt;
assertIsTrue(wordsManager.getPriorityWords().length == 0);&lt;/p&gt;
&lt;p&gt;Each of the lines with an equality test is marked yellow, not covered, by EMMA. But of *course* the expressions are only going to evaluated to true or to false--that's the whole point of passing them into the asserts. That's how JUnit works!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Annotation support</title><link href="https://sourceforge.net/p/emma/feature-requests/120/" rel="alternate"/><published>2009-08-07T18:00:38Z</published><updated>2009-08-07T18:00:38Z</updated><author><name>Ben Sifuentes</name><uri>https://sourceforge.net/u/bens10/</uri></author><id>https://sourceforge.netd1b8d1d9678730df7d0e55e7f1e50ad5b9be087e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Using spring annotation to declare a method to expect a specific type of exception.&lt;/p&gt;
&lt;p&gt;These methods do not get identified by the coverage tool and show they are 0% covered.&lt;/p&gt;
&lt;p&gt;Need an annotation to force the coverage tool to do the following:&lt;/p&gt;
&lt;p&gt;Omit method from being displayed and calculated in the coverage results&lt;/p&gt;
&lt;p&gt;Force the coverage tool to identify the method has been covered at  %100&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Add more infos in XML report</title><link href="https://sourceforge.net/p/emma/feature-requests/119/" rel="alternate"/><published>2009-04-07T07:58:20Z</published><updated>2009-04-07T07:58:20Z</updated><author><name>stephane bouchet</name><uri>https://sourceforge.net/u/userid-572945/</uri></author><id>https://sourceforge.net37c6b035fb62fbc584b9aa4a247e780f1551c118</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;i am using emma with hudson and it seems the xml report produced does not contains all the same infos than the HTML report.&lt;br /&gt;
The result is then quite ugly ... &lt;/p&gt;
&lt;p&gt;see &lt;a href="https://hudson.dev.java.net/issues/show_bug.cgi?id=3402" rel="nofollow"&gt;https://hudson.dev.java.net/issues/show_bug.cgi?id=3402&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>request CoverageData.diff() method</title><link href="https://sourceforge.net/p/emma/feature-requests/118/" rel="alternate"/><published>2008-08-18T23:43:21Z</published><updated>2008-08-18T23:43:21Z</updated><author><name>Kaitlin Duck Sherwood</name><uri>https://sourceforge.net/u/duckysherwood/</uri></author><id>https://sourceforge.netcb0b2da73464537028c4dfa3fae169e6bf9422a1</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I request a method in CoverageData that returns the difference between two runs instead of a merge between two runs.  I'll start this RFE by explaining why, then discuss how, then go into a more extended discussion.&lt;/p&gt;
&lt;p&gt;WHY&lt;/p&gt;
&lt;p&gt;I've been doing research on programmer productivity, and noted that there are situations when developers have a really hard time finding where the code that implements something happens.  For example, in one of the tasks that I observed, developers needed to find where to add code that executed only when a specific pane got resized.  They flailed completely.&lt;/p&gt;
&lt;p&gt;I modified EMMA and EclEmma so that the developers could do two runs of their code and then "diff" them, so they could see what was different between the two runs.  If they did one run where they {created and resized a pane, then quit} and then one run where they {created a pane and then hovered on the corner long enough to get the cursor to change its shape, then quit}, then the diffed coverage report had one and only one method in it -- which was the method that they needed to change.&lt;/p&gt;
&lt;p&gt;I implemented this tool by modifying EclEmma and EMMA.  I'd like to release this tool to the world, but feel uncomfortable about releasing a modified version of EMMA.  I'd much rather my mod were rolled into EMMA.&lt;/p&gt;
&lt;p&gt;HOW&lt;/p&gt;
&lt;p&gt;I made a few very minor changes in CoverageData.java in emma-2.0.5312 to add a diff() routine that is a very very slight modification of CoverateData.merge().  I've attached my version of the file; stuff I changed is marked with "@@@".&lt;/p&gt;
&lt;p&gt;I wasn't completely sure what m_stamp was, but the code I attached does what I need, and shouldn't break any existing code.&lt;/p&gt;
&lt;p&gt;EXTENDED DISCUSSION&lt;/p&gt;
&lt;p&gt;It would be really nice to be able to colour lines of codes based on whether something was in the first run but not the second, in the second but not the first, in both, or in neither.  I didn't see an easy way to do that; if you have any ideas, I'd be quite open to hearing them.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Support for comment to exclude lines</title><link href="https://sourceforge.net/p/emma/feature-requests/117/" rel="alternate"/><published>2008-07-30T15:15:18Z</published><updated>2008-07-30T15:15:18Z</updated><author><name>Aaron Optimizer Digulla</name><uri>https://sourceforge.net/u/digulla/</uri></author><id>https://sourceforge.net2d13fe0df13cc0c9c97f710e3819c89defc9d5d1</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Please add a special comment to mark lines in the source as "these will never be executed".&lt;/p&gt;
&lt;p&gt;See also &lt;a href="http://sourceforge.net/tracker/index.php?func=detail&amp;amp;aid=1457551&amp;amp;group_id=108932&amp;amp;atid=651900"&gt;http://sourceforge.net/tracker/index.php?func=detail&amp;amp;aid=1457551&amp;amp;group_id=108932&amp;amp;atid=651900&lt;/a&gt; and &lt;a href="http://sourceforge.net/tracker/index.php?func=detail&amp;amp;aid=1173251&amp;amp;group_id=108932&amp;amp;atid=651900"&gt;http://sourceforge.net/tracker/index.php?func=detail&amp;amp;aid=1173251&amp;amp;group_id=108932&amp;amp;atid=651900&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>