Rule |
Defect ID |
Problem Description
(optional) |
Line Of Code |
Fix Time (min) |
RD01 |
|
213 |
|
|
|
RD02 |
|
310 |
|
|
|
|
|
|
RD03 |
|
125 |
|
|
|
RD04 |
|
316 |
|
|
RD05 |
|
333 |
|
|
|
|
|
|
RD06 |
Missing
pre-conditions and post-conditions sections. |
200 |
|
|
|
RD07 |
|
451 |
|
|
|
|
|
|
RD08 |
Beginning
of function name is an acronym with all caps. |
111 |
|
|
|
|
|
|
|
|
|
|
|
|
RD09 |
|
263 |
|
|
|
RD10 |
|
289 |
|
|
|
|
|
|
|
|
|
|
|
RD11 |
|
295 |
|
|
RD12 |
Multiple
inheritance with “diamond of death”. |
23 |
|
|
RD13 |
|
345 |
|
|
|
RD14 |
|
373 |
|
|
|
|
|
|
RD15 |
Search
function uses tail-recursion. |
319 |
|
|
RD16 |
|
127 |
|
|
|
RD17 |
|
134 |
|
|
RD18 |
|
337 |
|
|
|
|
|
|
RD19 |
General
exception is thrown when an error status code is returned from the
function call; however, the error status information is not included in
the exception that is thrown and is therefore lost. |
351 |
|
|
RD20 |
|
219 |
|
|
|
|
|
|
|
|
|
|
|
|
RD21 |
Search
function has multiple return statements. |
319 |
|
|
RD22 |
|
330 |
|
|
|
|
|
|
No part of this work should be produced or used without the permission of the authors: Michael Turner and Dr. Sharon A White.