Community
Participate
Working Groups
No need to collect all method invocations, count summary fragments are enough. Currently, the attributes used for Method Coverage profiling are: <attribute name="TRACE_MODE" type="SETOPTION" value="noObjectCorrelation"> </attribute> <attribute name="TICKET" type="SETOPTION" value="true"> </attribute> <attribute name="STACK_INFORMATION" type="SETOPTION" value="normal"> </attribute> <attribute name="METHOD_COUNTS" type="SETOPTION" value="true"> </attribute> If a subset exists avoiding collection of method invocations, it would reduce the quantity of information that is needed when gathering for Method Coverage only. If it does not exist yet, it would be fine to allow it on piAgent side. Fragments like <methodCount methodIdRef="7328" count="1"/> are enough with methodDef and classDef. methodEntry and methodExit are useless. Note that methodCount would need to be handled by the model loader. This is not the case currently: they are ignored.
Sylvain, please open another feature for the "methodCount" loader, also provide the fragment definition (schema). Should the loader cumulate or replace the data at method level (calls attribute).
Created https://bugs.eclipse.org/bugs/show_bug.cgi?id=75283 to reflect the model loader side of this enhancement.
piAgent will send back methodCounts fragments when they are requested by the UI -- see bug 87094.
IMPORTANT: This feature and bug 87094 must be committed together.
Version/target housekeeping: enhancements that are targetted for "future" must record the version as "future" and the target as"---".
No plans to implement
Please change the target to the 4.5 iteration when this Bugzilla was resolved.
As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this enhancement/defect has been resolved and unverified for more than 1 year and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open.