risdm: a requirements inspection systems design methodology · copyright © 2014 ntt data...
TRANSCRIPT
Copyright © 2014 NTT DATA Corporation
RE 201408/28/2014
Shinobu Saito, Mutsuki Takeuchi (NTT DATA), Setuo Yamada (NTT), and Mikio Aoyama (Nanzan Univ.)
RISDM: A Requirements Inspection Systems Design MethodologyPerspective-Based Design of the Pragmatic Quality Model and Question Set to SRS
2Copyright © 2014NTT DATA Corporation
Agenda
1. Background and Research Questions2. Approach3. Design Methodology (RISDM)4. Practice and Evaluation5. Conclusions and Future Works
3Copyright © 2014 NTT DATA Corporation
About NTT DATA
Our company (NTT DATA) is a global IT solution provider.
More than 60,000 engineers specialized in the large-scale software development.
The quality of the SRS (Software Requirements Specification) is the key to the success of software development.
Global NTT DATA group bases- 175 cities in 41 countries and regions
4Copyright © 2014 NTT DATA Corporation
Background
The development teams need to read the SRS and try to understand the customer’s requirements correctly.
To improve the quality of the SRS, review and inspection are commonly used in our company and industry in general.
SRS is created by the requirements engineering team. Software is developed by different teams (development teams).
Inspection highly require the inspector’s skill and knowledge. It is difficult to assure the quality of the requirements inspection.
However…
Necessary to develop a design methodology of requirements inspection method.
5Copyright © 2014 NTT DATA Corporation
Research Questions
RQ1:Is the PQC designed by the RISDM useful to predict risks of the subsequent development?
RQ2:Does the reading technique designed by the RISDM helpinspectors to suggest practical advices for SRS improvement?
We propose RISDM (Requirements Inspection Systems Design Methodology).
We seek to answer the following research questions.
Define a set of PQC (Pragmatic Quality Characteristic) of the SRS from a specific view points of a SRS reader.
Develop a reading technique for inspecting an SRS based on the PBR (Perspective Based Reading).
6Copyright © 2014NTT DATA Corporation
Agenda
1. Background and Research Questions2. Approach3. Design Methodology (RISDM)4. Practice and Evaluation5. Conclusions and Future Works
7Copyright © 2014 NTT DATA Corporation
Reading Technique
Process
Role
QualityProduct
Conduct
Utilize
Is based on
Evaluate Meet
Report
Create
Inspection Meta-Model
O. Laitenberger and J.-M. DeBaud, “An Encompassing Life-Cycle Centric Survey of Software Inspection,” J. of Systems and Software, Vol. 50, No. 1, Jan. 2000, pp. 5-31.
We call the system RIS (Requirements Inspection System).
Inspection meta-model is composed of six technical components: Process, Role, Product, Quality, Reading Technique, and Report.
Requirements inspection is a system which is a instance of the meta-model.
8Copyright © 2014 NTT DATA Corporation
RISDesigner
Inspector
Reqs. Analyst (a) Create/Modify SRS
(1) Receipt of SRS
(2) Inspection andRisk Evaluation
(3) Feedback
(b) Improvement of SRS
PQC (Pragmatic Quality Characteristic)Design of RIS
Inspection Meta-Model
RIS (Requirements Inspection System)
・Inspection Point Set・Question Set
RISDM and RIS
The RISDM is a methodology to design an RIS from the inspection meta-model.
Project SRS Quality Score Advice
Reading Technique
Quality
Process
ReportRole ProductRole
9Copyright © 2014 NTT DATA Corporation
RISDesigner
Inspector
Reqs. Analyst (a) Create/Modify SRS
(1) Receipt of SRS
(2) Inspection andRisk Evaluation
(3) Feedback
(b) Improvement of SRS
PQC (Pragmatic Quality Characteristic)Design of RIS
Inspection Meta-Model
RIS (Requirements Inspection System)
・Inspection Point Set・Question Set
RISDM and RIS
Four components (Product, Quality, Reading Technique, and Report) are designed by the RISDM.
Project SRS Quality Score Advice
Reading Technique
Quality
Process
ReportRole ProductRole
10Copyright © 2014NTT DATA Corporation
Agenda
1. Background and Research Questions2. Approach3. Design Methodology (RISDM)4. Practice and Evaluation5. Conclusions and Future Works
11Copyright © 2014 NTT DATA Corporation
Actor
Reference SRS Structure
Standard SRS Structure PQC
Question SetInspection Point Set
1.Define Reference SRS Structure and Quality Characteristics
2. Define Standard SRS
3. Select a Perspective
4. Define PQC for the QC
5. Select Inspection Point Set and Define Grading Method of Quality Score for PQC
6. Generate Question Set
Design Process
Perspective
Design Process
Reference SRS QC
RISDM defines six processes for designing Product, Quality, Reading Technique, and Report.
12Copyright © 2014 NTT DATA Corporation
Actor
Reference SRS Structure
Standard SRS Structure PQC
Question SetInspection Point Set
1.Define Reference SRS Structure and Quality Characteristics
2. Define Standard SRS
3. Select a Perspective
4. Define PQC for the QC
5. Select Inspection Point Set and Define Grading Method of Quality Score for PQC
6. Generate Question Set
Design Process
Perspective
Design Process
Reference SRS QC
Product
RISDM defines six processes for designing Product, Quality, Reading Technique, and Report.
13Copyright © 2014 NTT DATA Corporation
Chapter Section
1. Introduction1.1. Purpose of SRS1.2. Intended Reader1.3. Structure of SRS1.4. References
2. Overview of System
2.1. Goal of System2.2. Business and Scope of System2.3. Constraints2.4. Terms
3. Items Causing Change or Unspecified
3.1. Items Causing Changes3.2. Items Unspecified
4. Functional Requirements
4.1. Business Flow4.2. Functions4.3. Data Model Definition
5. Non Functional Requirements
5.1. NFR Grade5.2. Requirements to System Architecture5.3. Requirements to Migration5.4. Requirements to Service Provisioning
1. Define Reference SRS Structure and Quality Characteristics2. Define Standard SRS
Select Reference SRS Structure and QC(Quality Characteristics) as a baseline of the RIS.
Define the Standard SRS Structure specific to the organization.
Reference SRS Structure
IEEE Std. 830
Standard SRS Structure
Reference SRS QCs
Product
Process 4
14Copyright © 2014 NTT DATA Corporation
Actor
Reference SRS Structure
Standard SRS Structure PQC
Question SetInspection Point Set
1.Define Reference SRS Structure and Quality Characteristics
2. Define Standard SRS
3. Select a Perspective
4. Define PQC for the QC
5. Select Inspection Point Set and Define Grading Method of Quality Score for PQC
6. Generate Question Set
Design Process
Perspective
Design Process
Reference SRS QC
Quality
RISDM defines six processes for designing Product, Quality, Reading Technique, and Report.
15Copyright © 2014 NTT DATA Corporation
PerspectiveLevel 1 Level 2
Require Conform to customer’s needsManage Manage all elements on the progressImplement Design by template
Design by standard descriptionUse with common terms
Allocate to Architecture
Overview all the elementsSpecify all the elements
LegendSRSSoftwareEngineer
ProjectManager Architect
Actor
Implement
Perspective
Customer Require
ManageAllocate to Architecture
3. Select Perspective
Identify actors involving to the SRS. Define perspectives to the SRS from the view points of the actors.
If necessary, the perspective identified can be decomposed into a set of detailed perspectives.
Quality
16Copyright © 2014 NTT DATA Corporation
Perspective Reference QCs PQCs
Level 1 Level 2
Correct
Com
plete
Ranked
forim
portanceand/orstability
Unam
biguous VerifiableTraceableM
odifiable
ID Name
Require Conform to customer’s needs X C1 Correspondence to goals
Manage Manage all elements on the progress X X C2 Coverability
Implement Design by template X X C3 Template usageDesign by standard description X X C4 Standard description usage
Use with common terms X C5 Definition of terms
Allocate toArchitecture
Overview all the elements X C6 Listing with identifier
Specify all the elements X X C7 Identifiability
4. Define PQC for the QC
Define PQC (Pragmatic Quality Characteristic) from the Reference QC in accordance with the perspectives.
Quality
Refined
17Copyright © 2014 NTT DATA Corporation
Actor
Reference SRS Structure
Standard SRS Structure PQC
Question SetInspection Point Set
1.Define Reference SRS Structure and Quality Characteristics
2. Define Standard SRS
3. Select a Perspective
4. Define PQC for the QC
5. Select Inspection Point Set and Define Grading Method of Quality Score for PQC
6. Generate Question Set
Design Process
Perspective
Design Process
Reference SRS QC
Reading Technique Report
RISDM defines six processes for designing Product, Quality, Reading Technique, and Report.
18Copyright © 2014 NTT DATA Corporation
PQC TOC of Standard SRS
ID Name …
2.1 Goal of System
2.2 Business & Scope
of System
2.3Constraint
2.4Term
…
C1 Correspondence to goals XC2 Coverability X X X XC3 Template usage X X X
C4 Standard description usage X
C5 Preparation of glossary XC6 Listing with identifier X X XC7 Identifiability X X X X
5. Select Inspection Point Set and Define Grading Method of Quality Score for PQC
Select meaningful PQCs to each element of the SRS.
Inspection Point Set
Inspection point “X” is an element of SRS where an inspection is needed.
Reading Technique
19Copyright © 2014 NTT DATA Corporation
PQC Question Set No. ofpointsID Name
C1 Correspondence to goals
Are business and system requirements corresponding to theproject goals? 3
C2 Coverability Are there elements of the project SRS corresponding to theelements of the standard SRS? 54
C3 Templates usage Are artifacts described using the template which is selectedin the standard SRS? 36
C4 Standard description usage
Are artifacts described by the standard description which isselected in the standard SRS? 6
C5 Definition of terms Are there glossaries of the project SRS created? 3
C6 Listing with identifier
Are artifacts and certain elements of the artifact givenidentifier and listed in the table? 48
C7 Identifiability Are artifact and certain elements of the artifact identifiedusing identifier? 46
Total 196
6. Generate Question Set
Generate a question for judging whether an SRS element meets the quality criterion in terms of the PQC.
Reading Technique
BPMN, UML,..
20Copyright © 2014 NTT DATA Corporation
Visualization of SRS Quality
Quality Score is calculated in percent of the total scored points. Inspection report shows a distribution of the quality score. Report indicates the strength and weakness of the SRS
Report
100.0%
65.2%
65.4%48.6%
60.4%0%
25%50%75%
100%1.Introduction
2.Overview ofSystem
3.Itemcausing
change orunspecified
4.FunctionalRequirements
5.Non-Functional
Requirements
“Functional Requirements” is relatively low
Quality Score by TOC of SRS
21Copyright © 2014NTT DATA Corporation
Agenda
1. Background and Research Questions2. Approach3. Design Methodology (RISDM)4. Practice and Evaluation5. Conclusions and Future Works
22Copyright © 2014 NTT DATA Corporation
16
55
95
128142
0
20
40
60
80
100
120
140
160
2008 2009 2010 2011 2012
Accu
mul
ated
Num
ber o
f Ins
pect
ions
Year
Corporate-Wide Application
The RIS designed by the RISDM is widely used by more than 140 projects in NTT DATA.
23Copyright © 2014 NTT DATA Corporation
A. PQC for Risk Evaluation
B. Effect of Improving the SRS by the Feedback
RQ1: Is the PQC designed by the RISDM useful to predict risks of the subsequent development?
RQ2: Does the reading technique designed by the RISDM help inspectors to suggest practical advices for SRS improvement?
Evaluation for Answering Research Questions
24Copyright © 2014NTT DATA Corporation
A. PQC for Risk Evaluation
Purpose: To demonstrate PQC is effective to predict risks of the subsequent development.
Method: Correlation analysis between seven QSes of PQCs and CDR (Cost Difference Ratio).
|Actual Cost-Estimated Cost | = --------------------------------------------
|Estimated Cost|CDR
(2) Inspection and Risk Evaluation
Inspection Report
(b) Improvement of SRS
Quality Score Advice
Quality ScoreStatistics
(a) Create/Modify SRS
Dev. Statistics
Dev. Monitoring
Inspection Process
(3) Feedback
(1) Receipt of SRS
Project SRS
SRS Inspected
Dev. Process
Software Dev.
Correlation analysis
25Copyright © 2014NTT DATA Corporation
Project Profile for Analyzing Cost Overrun
ID Domain Development Type No. of SRS pages1 Financial Extension & Replacement 5452 Public New 4013 Manufacturing New 6664 Public New 1725 Financial Extension & Replacement 1456 Distributor New 3007 Service New 71
Seven projects vary in domain, development type, and size in terms of number of pages of the SRS.
The statistics include all the elements of PQC and cost of both estimated and actual in the subsequent processes.
26Copyright © 2014NTT DATA Corporation
y = -0.96 x + 0.87
y = -0.98 x + 0.84
0%
20%
40%
60%
80%
100%
0% 10% 20% 30% 40% 50%
PQC
Sco
re (C
2, C
7)
Cost Deference Ratio
25%
59.5%
63.0%
11
44
6
6 7722
5 533
Legend
C7C2
PQC Score (C2, C7) and CDR
Results: Strong negative correlation of both C2 (Coverability) and C7(Identifiability) with the CDR.
If the quality score of C2 or C7 of an SRS is lower than 60%, the project has a high risk of cost overrun by more than 25%.
27Copyright © 2014NTT DATA Corporation
Inspector
Reqs. Analyst
B. Effect of Improving the SRS by the Feedback
Purpose: To demonstrate how the inspection report helps requirements analysts to improve the project SRS.
Method: Monitoring the changes of the quality scores of the SRS in terms of the PQC.
(a) Create/Modify SRS
(1) Receipt of SRS
(2) Inspection andRisk Evaluation
(3) Feedback
(b) Improvement of SRS
Project SRS Quality Score Advice
Monitoring
100.0%
65.2%
65.4%48.6%
60.4%
0%25%50%75%
100%1.Introduction
2.Overview ofSystem
3.Itemcausing
change orunspecified
4.FunctionalRequirements
5.Non-Functional
Requirements
28Copyright © 2014NTT DATA Corporation
Project Profile for Analyzing PQC Improvement
ID Domain Development Type No. of SRS PagesA Financial New 191B Manufacturing New 289C Financial Extension 550D Service Replacement 343E Financial Replacement 415F Financial New 267
Six projects differ in the domain, development type, and size in terms of the number of SRS pages.
We monitored the changes of the PQCs of the revised SRSes.
29Copyright © 2014 NTT DATA Corporation
Improvement of PQC – Total Score –
Results: 4 projects significantly improve QS. 2 projects(C, D) do not significantly improve QS.
Original First Revision Second Revision
A
A
A
B
BC C
D D
E
EF
F
0%
10%
20%
30%
40%
50%
60%
70%
80%
90%
100%
Qal
ity S
core
(Tot
al)
A BC DE F
4 Projects (A, B, E, and F) improved the quality score
30Copyright © 2014 NTT DATA Corporation
Improvement of PQC – C2 and C7 –
Results: All the project finally attained the average quality scores of C2(Coverability) and C7(Identifiability) over 60%.
Original First Revision Second Revision
A27
A27
A27
B27
B27
C27 C27
D27 D27
E27
E27F27
F27
0%
10%
20%
30%
40%
50%
60%
70%
80%
90%
100%
A27 B27C27 D27E27 F27
C27 C27
Qal
ity S
core
(Ave
rage
(C2,
C7)
)
2 Projects (C and D) already exceed the 60% of C2 and C4.
31Copyright © 2014NTT DATA Corporation
Agenda
1. Background and Research Questions2. Approach3. Design Methodology (RISDM)4. Practice and Evaluation5. Conclusions and Future Works
32Copyright © 2014 NTT DATA Corporation
Yes.We found the effectiveness of the PQC, C2 (Coverability) andC7(Identifiability), for risk prediction in terms of cost overrun.
Yes.We found the effectiveness of the report for decision making of the SRS improvement.
Answer to Research Question
RQ1: Is the PQC designed by the RISDM useful to predict risks of the subsequent development?
RQ2: Does the reading technique designed by the RISDM help inspectors to suggest practical advices for SRS improvement?
33Copyright © 2014 NTT DATA Corporation
Conclusions and Future Works
Conclusions Proposed RISDM (Requirements Inspection System Design
Methodology), a methodology for designing the RIS (Requirements Inspection System).
Defined the PQC (Pragmatic Quality Characteristics) and the reading techniques (e.g., Inspection points and Question set) based on PBR(Perspective-Based Reading).
Corporate-wide application of the RIS designed by the RISDM demonstrated the improvement of the SRS quality and prediction of the risk of successive development
Future Works Plan to analyze of the impact of PQC of SRS to the cost, quality
and delivery-time.
Copyright © 2011 NTT DATA Corporation
Copyright © 2014 NTT DATA Corporation