From: SourceForge.net <no...@so...> - 2010-03-10 12:37:10
|
Feature Requests item #2694565, was opened at 2009-03-19 15:27 Message generated for change (Comment added) made by jmhofer You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=720018&aid=2694565&group_id=130558 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Trung (trungdinhtrong) Assigned to: Nobody/Anonymous (nobody) Summary: Adding incremental instrumentation Initial Comment: We are developing a prototype Eclipse plugin for Cobertura (it is under testing now and may be open sourced soon). For such a plug-in to be useful, Cobertura needs the ability to instrument only classes that has been changed since the last instrumentation. We noted that Emma has this feature. Here is the detail of the issue: Every time I launch a test, I would instrument the classes and generate a coverage report after the execution. The problem is that every time I instrument, Cobertura would re-instrument the whole classpath, even though only a few classes changed since the previous instrumentation - this is a big performance drawback when Cobertura is used in an interactive mode. There are many projects that takes about 1 minute to be fully instrumented. ---------------------------------------------------------------------- Comment By: Joachim Hofer (jmhofer) Date: 2010-03-10 13:37 Message: Cobertura doesn't really have an API, but still, you could just hook into the Main class of cobertura-instrument directly and call the respective single-class instrumentation method... - like I do in my own prototype eclipse plugin over at github. ;) ---------------------------------------------------------------------- Comment By: Piotr Tabor (ptab) Date: 2010-03-07 23:17 Message: Have you tried just exclude from instrumentation all other files then that one 'incremental'. It should work. What's the status of the plugin prototype ? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=720018&aid=2694565&group_id=130558 |