Slides 23 + 24 - Examination of NL Requirements Flashcards
Formal vs. Natural Language
Formal specification language - Benefits: ● defined semantic ● fully verifiable ● can be automatically tested - Limitations / problems: ● known and used only by experts ● primarily for functional requirements
Natural language - Benefits: ● everyone uses this language - Limitations / problems: ● can be interpreted differently ● are incomplete, inconsistent
NLP - Classes of Transformations
Deletion:
● We reduce to dimensions we are able to manage
and understand.
Generalization:
● We generalize statements and omit exceptions.
● Generalizations often go along with deletions.
Distortion:
● We formulate statements imprecisely and
ambiguously.
Requirements Examination Process
- Examine individual words of a requirement sentence!
- Examine each requirement sentence as a whole!
- Examine the integration of a requirement in
the overall specification!
Quality Costs
- Defect Prevention Costs
● Constructive quality assurance - Examination and Inspection Costs
● Analytical quality assurance - Error Costs
● Correction
● Reduced revenues
● Compensation costs
Pressman’s Defect Amplification Model
● Assumptions
● A phase-structured development process is applied
● We cannot to detect all defects in the phase were they were made
● A defect that is passed to the next phase leads to multiple defects
Assumptions:
● A phase-structured development process is applied
● We cannot to detect all defects in the phase were they were made
● A defect that is passed to the next phase leads to multiple defects
When do we stop testing?
● We stop testing when the planned time is over.
● A survey among the testers revealed that they have the impression that the product could be delivered.
● Eventually stop testing, otherwise you will find still more defects.
Test Exit Criteria
Relative Defect Cost
● If the average examination costs per detected defect go beyond a threshold X, the test is finished.
● The examination costs must be known!
● The threshold needs to based on experience!
Problems of Defect Seeding
Problems
● Defect must be seeded homogeneously.
● Seeded defects must cover all defect types.
● Additional costs are to be expected.