Object Oriented Software Engineering   View all facts   Glossary   Help
subject > problem > defect > defect in an ordinary algorithm > not terminating a loop or recursion
Next defect in an ordinary algorithmoff-by-one error    Updefect in an ordinary algorithm    Previous defect in an ordinary algorithmnot setting up the correct preconditions for an algorithm   

not terminating a loop or recursion
subjectfact 
not terminating a loop or recursionhas definition A common defect in which a loop or a recursion does not always terminate, i.e. it is 'infinite'2001-08-30 14:56:42.0
has testing strategy
  • assume that the programmer has made an error
  • should analyse what causes a repetitive action to be stopped
  • should run test cases that the tester anticipates might not be handled correctly
2001-08-30 14:56:42.0
is a subtopic of 10.3 - Defects in Ordinary Algorithms2001-08-30 14:56:42.0
is a kind of defect in an ordinary algorithm2001-08-30 14:56:43.0
defecthas example the absence of code to handle an exception2001-08-30 14:55:12.0
problemhas solution which will normally entail developing software, although you may decide that it is better to purchase software or to develop a non-software solution2001-08-30 14:57:03.0
should be written as a simple problem statement in one or two sentences2001-08-30 14:57:03.0