Professional Documents
Culture Documents
DecisionTree and Table-StructureChart
DecisionTree and Table-StructureChart
• Difficult to be precise,
• Difficult to be unambiguous,
• Silence:
• Aspects important to proper solution of the
problem are omitted.
Examples of Bad SRS Documents
• Overspecification:
• Addressing “how to” aspects
• For example, “Library member names should be stored in a
sorted descending order”
• Overspecification restricts the solution space for the
designer.
• Contradictions:
• Contradictions might arise
• if the same thing described at several places in different ways.
Examples of Bad SRS Documents
• Ambiguity:
• Literary expressions
• Unquantifiable aspects, e.g. “good user interface”
• Forward References:
• References to aspects of problem
• defined only later on in the text.
• Wishful Thinking:
• Descriptions of aspects
• for which realistic solutions will be hard to find.
Suggestions for Writing Good Quality Requirements
Analysis
• To verify that SRS confirms to the
actual user requirements Specification
inspection process:
• Checklists.
A Sample SRS Checklist
• Have response times been specified for functions ?
• Decision trees
• Decision tables
Decision Trees - Get details
- Create record
New member
Cancel
- Print Cheque
of:
- Print error message
- Print bills
New member
- Print bills
Cancel
• New member,
- Get Details
- Print Cheque
- Delete record
Invalid option
• Renewal,
- Print error message
• Cancel membership.
Example: LMS
• When the new member option
is selected, - Get details
- Create record
- Print bills
New member
- Get Details
- Print Cheque
• name, - Delete record
Invalid option
• address,
- Print error message
- Get details
- Create record
- Print bills
New member
- Get Details
User Renewal - Update record
input - Print bills
Cancel
- Get Details
- Print Cheque
- Delete record
Invalid option
• In technical terminology,
• A column of the table is called a rule.
• A rule implies:
• If a condition is true, then execute the corresponding action.
• Conditions
Valid selection NO YES YES YES
New member
Renewal
--
--
YES
NO
NO
YES
NO
NO
Example
Cancellation -- NO NO YES
• Actions
Display error message -- -- --