Troubleshooting
Problem
This technote explains why the Coverage function of the IBM® Rational® Test RealTime product does not detect certain code as "dead code"?
Symptom
The following code snippet of the Coverage function should be detected as "dead code" but is not:
int ret;
ret = 2;
if (ret == 0)
ret = 5; // this statement is unreachable
[{"Product":{"code":"SSSHUF","label":"Rational Test RealTime"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Runtime Analysis","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF015","label":"IRIX"},{"code":"PF016","label":"Linux"},{"code":"PF021","label":"OpenVMS"},{"code":"PF026","label":"Reliant UNIX"},{"code":"PF025","label":"Platform Independent"},{"code":"PF027","label":"Solaris"},{"code":"","label":"Tru64 UNIX"},{"code":"PF030","label":"TRU64 UNIX"},{"code":"PF032","label":"VM"},{"code":"PF033","label":"Windows"},{"code":"PF035","label":"z\/OS"},{"code":"PF037","label":"z\/VM"}],"Version":"2003.06.00;2003.06.12;2003.06.13;2003.06.14;2003.06.15;7.0;7.0.0.1;7.0.5;7.0.5.1","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]
Log InLog in to view more of this document
This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21188552