Top Banner
Automated Requirements Traceability Study of the Analyst Presented by Jeff Holden Advisor Alex Dekhtyar
22

Automated Requirements Traceability Study of the Analyst Presented by Jeff Holden Advisor Alex Dekhtyar.

Dec 21, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Automated Requirements Traceability Study of the Analyst Presented by Jeff Holden Advisor Alex Dekhtyar.

Automated Requirements TraceabilityStudy of the Analyst

Presented by Jeff Holden

Advisor Alex Dekhtyar

Page 2: Automated Requirements Traceability Study of the Analyst Presented by Jeff Holden Advisor Alex Dekhtyar.

What is requirements traceability?

“The ability to describe and follow the life of a requirement, in both a forwards and backwards direction”. [gotel]

Page 3: Automated Requirements Traceability Study of the Analyst Presented by Jeff Holden Advisor Alex Dekhtyar.

Requirements process

Output of tracing generates Requirements Traceability Matrix (RTM)

Specifies connections between low and high level elements

Page 4: Automated Requirements Traceability Study of the Analyst Presented by Jeff Holden Advisor Alex Dekhtyar.

Why care about tracing?

Verification & Validation (V&V/IV&V) Required for mission & safety critical

systems Test coverage analysis Change impact analysis Reverse engineering

Page 5: Automated Requirements Traceability Study of the Analyst Presented by Jeff Holden Advisor Alex Dekhtyar.

Typical tracing process

Manual tracing Norm for industry Laborious & error-prone

Automated systems Use information retrieval methods Quick, can produce good results Mission critical systems need verified

Page 6: Automated Requirements Traceability Study of the Analyst Presented by Jeff Holden Advisor Alex Dekhtyar.

Semi-Automated tracing

Tracing tool generates candidate RTM Analyst validates the RTM to produce a final

RTM Quicker, analyst validates rather than

creates.

Page 7: Automated Requirements Traceability Study of the Analyst Presented by Jeff Holden Advisor Alex Dekhtyar.

Typical view on tracing quality

Precision Percent of links found that are true links.

Recall Percent of true links found.

F-# measure Harmonic mean between precision & recall Use F-2: weights recall heavier than precision

Easier for analyst to resolve errors of commission than omission.

Page 8: Automated Requirements Traceability Study of the Analyst Presented by Jeff Holden Advisor Alex Dekhtyar.

Does better candidate RTM lead to better final RTMs?

Proposed in 2005 Initial study: 4 users

Not statistically significant Showed an interesting finding, better may

not be better.

Page 9: Automated Requirements Traceability Study of the Analyst Presented by Jeff Holden Advisor Alex Dekhtyar.

Pilot study findings

Page 10: Automated Requirements Traceability Study of the Analyst Presented by Jeff Holden Advisor Alex Dekhtyar.

Is high quality good?

Initial experiment David Cuddeback 35 responses Old RETRO Showed “region” trends

Page 11: Automated Requirements Traceability Study of the Analyst Presented by Jeff Holden Advisor Alex Dekhtyar.

My additions

Expanded automated study to new RETRO Simpler, more user-friendly UI Enhanced logging capabilities

MORE DATA!!!

Conducted manual tracing study Utilized the same data set

Page 12: Automated Requirements Traceability Study of the Analyst Presented by Jeff Holden Advisor Alex Dekhtyar.

RTM locations

Page 13: Automated Requirements Traceability Study of the Analyst Presented by Jeff Holden Advisor Alex Dekhtyar.

RTM submissions

Page 14: Automated Requirements Traceability Study of the Analyst Presented by Jeff Holden Advisor Alex Dekhtyar.

Region trends – low recall, low precision Low precision, low recall

Improvement of precision & recall Maintain ~same RTM size

Page 15: Automated Requirements Traceability Study of the Analyst Presented by Jeff Holden Advisor Alex Dekhtyar.

Region trends – high recall, low precision Low precision, high recall

Focus on removing links

Improve precision, some time at cost of recall

Page 16: Automated Requirements Traceability Study of the Analyst Presented by Jeff Holden Advisor Alex Dekhtyar.

Region trends – low recall, high precision High precision, low recall

Opposite trend, focus on adding links Increase recall, normally at cost of precision

Page 17: Automated Requirements Traceability Study of the Analyst Presented by Jeff Holden Advisor Alex Dekhtyar.

Region trends – high recall, high precision High precision, high recall

Almost all decrease quality of final RTM

Page 18: Automated Requirements Traceability Study of the Analyst Presented by Jeff Holden Advisor Alex Dekhtyar.

Preliminary results!!!

Good initial != Good final No consensus on “true RTM” Final RTM converge on “hotspot” Automated tools may assist in finding errors of

omission better than manual! Its hard to get good precision + recall!

Page 19: Automated Requirements Traceability Study of the Analyst Presented by Jeff Holden Advisor Alex Dekhtyar.

Contributions (so far)

Improved experimental RETRO.NET Expanded upon experimental framework to

work with other tools & other tracing methods MORE DATA!!! (52 more data points)

Up to ~90 data points total Currently writing up & submitting early findings

Page 20: Automated Requirements Traceability Study of the Analyst Presented by Jeff Holden Advisor Alex Dekhtyar.

Planned next steps

Work with existing IR methods, filters, and feedback mechanisms.

Determine if real methods can get “good” results

Validate findings on real IR methods in similar experimental setup

Conduct usability study on RETRO.NET

Page 21: Automated Requirements Traceability Study of the Analyst Presented by Jeff Holden Advisor Alex Dekhtyar.

Thesis goal

Create a tracing tool that analysts can use to reliably generate quality final RTM in a efficient manner.

Page 22: Automated Requirements Traceability Study of the Analyst Presented by Jeff Holden Advisor Alex Dekhtyar.

Questions?!?