Object Oriented Software Engineering View all facts Glossary Help |
| subject > problem > defect > defect in an ordinary algorithm > performing a calculation in the wrong part of a control construct |
| performing a calculation in the wrong part of a control construct | ||||
| subject | fact | |||
| performing a calculation in the wrong part of a control construct | has definition A common defect in which the program performs an action when it should not, or does not perform an action when it should | ![]() |
| has testing strategy | ![]() | |
| is a subtopic of 10.3 - Defects in Ordinary Algorithms | ![]() | |
| is typically caused by inappropriately excluding the action from, or including the action in, a loop or if-then-else construct | ![]() | |
| is a kind of defect in an ordinary algorithm | ![]() | |
| may not be caught using black-box testing, so glass-box testing or inspections may be more effective | ![]() | |
| defect | has example the absence of code to handle an exception | ![]() |
| problem | has solution which will normally entail developing software, although you may decide that it is better to purchase software or to develop a non-software solution | ![]() |
| should be written as a simple problem statement in one or two sentences | ![]() |