WASTE



assign.c

  • Source:
Anonymous
  • Size:
0.88Kb
  • Description:
A sample source that shows an assignment error. Click here for more information
  • Classification:
TBD

batch.c

  • Source:
Friedman F., Hanly J. and Koffman E., Problem Solving and Program Design in C. Addison-Wesley Publishing Company, 1993. pg 222-223.
  • Size:
0.66Kb
  • Description:
This program computes the sum of a list of exam scores. (batch version).
  • Classification:
TBD

divide.c

  • Source:
Anonymous
  • Size:
0.76Kb
  • Description:
A sample source that illustrates an intent error resulting from the characteristics of integer division. Click here for more information
  • Classification:
TBD

do-while.c

  • Source:
Friedman F., Hanly J. and Koffman E., Problem Solving and Program Design in C. Addison-Wesley Publishing Company, 1993. pg 355.
  • Size:
1.08Kb
  • Description:
This program validates the input function using the do-while statement.
  • Classification:
TBD

inroot.c

  • Source:
Hamlet,R., Michael, C. and Voas J., "Using White-box Criteria to Access Pointwise Software Reliability," Reliable Software Technologies Corporation, Sterling, VA, October 3, 1995. https://www.rstcorp.com/paper_chrono.html
  • Size:
0.87Kb
  • Description:
This program maybe used for benchmarking because of its properties. Click here for more information
  • Classification:
TBD

memory_leak.c

  • Source:
R. Leach, "Using C in Software Design," Academic Press, San Diego, 1995
  • Size:
0.68Kb
  • Description:
The program has a subtle error due to a "memory leak". Click here for more information
  • Classification:
TBD

name.c

  • Source:
R. Leach, "Using C in Software Design," Academic Press, San Diego, 1995
  • Size:
0.56Kb
  • Description:
The program has inconsistent behavior, depending on the existence or non-existence of the file whose name is stored in the character string variable "name".
  • Classification:
TBD

overflow.c

  • Source:
Anonymous
  • Size:
0.77Kb
  • Description:
A sample source that illustrates an overflow error. Click here for more information
  • Classification:
TBD

program_exception.c

  • Source:
R. Leach, "Using C in Software Design," Academic Press, San Diego, 1995
  • Size:
1.24Kb
  • Description:
This is an example of a program exception in which the program unit is not "well formed". Click here for more information
  • Classification:
TBD

quadratic.c

  • Source:
Miller, K., Morell, L. and Voas, J., "Using Dynamic Sensitivity Analysis to Access Testability," Reliable Software Technologies Corporation, Sterling, VA, March 1991. https://www.rstcorp.com/paper_chrono.html.
  • Size:
0.73Kb
  • Description:
This program is intended to display, if possible, an integer solution to the quadratic equation. Click here for more information
  • Classification:
TBD

scan.c

  • Source:
Friedman F., Hanly J. and Koffman E., Problem Solving and Program Design in C. Addison-Wesley Publishing Company, 1993. pg 338.
  • Size:
0.64Kb
  • Description:
This program has incorrect results due to a character and numeric scanning problem .
  • Classification:
TBD

sqrt.c

  • Source:
Anonymous
  • Size:
0.73Kb
  • Description:
A sample source that shows an error due to class type conflict. Click here for more information
  • Classification:
TBD

underflow.c

  • Source:
Anonymous
  • Size:
0.87Kb
  • Description:
A sample source that illustrates an underflow error. Click here for more information
  • Classification:
TBD