An empirical study of structural defects in industrial use-cases

Use-cases perform an important role in capturing and analys-ing software requirements in the IT industry. A number of guidelines have been proposed in the literature on how to write use-cases. Structural defects can occur when use-cases are written without following such guidelines. We develop a taxonomy of structural defects and analyse a sample of 360 industrial use-cases to understand the nature of defects in them. Our sample comes from both client-based projects and in-house projects. The results show that, compared to a sample of theoretical use-cases that follow Cockburn's guidelines, industrial use-cases on the average exhibit defects such as complex structures, lack of customer focus and missing actors. Given the shortage of analysis of real industry samples, our results make a significant contribution towards the understanding of the strengths and weaknesses in industrial use-cases in terms of structural defects. The results will be useful for industry practitioners in adopting use-case modelling standards to reduce the defects as well as for software engineering researchers to explore the reasons for such differences between the theory and the practice in use-case modelling.

[1]  Marcela Genero Metrics For Software Conceptual Models , 2005 .

[2]  Neil A. M. Maiden,et al.  Guiding use case authoring: results of an empirical study , 1999, Proceedings IEEE International Symposium on Requirements Engineering (Cat. No.PR00188).

[3]  Mordechai Ben-Menachem,et al.  Writing effective use cases , 2001, SOEN.

[4]  Ivar Jacobson,et al.  Object-oriented software engineering - a use case driven approach , 1993, TOOLS.

[5]  Mohamed El-Attar,et al.  Constructing high quality use case models: a systematic review of current practices , 2011, Requirements Engineering.

[6]  Stanley M. Sutton,et al.  Text2Test: Automated Inspection of Natural Language Use Cases , 2010, 2010 Third International Conference on Software Testing, Verification and Validation.

[7]  Colette Rolland,et al.  Guiding the Construction of Textual Use Case Specifications , 1998, Data Knowl. Eng..

[8]  R. Gonzalez Applied Multivariate Statistics for the Social Sciences , 2003 .

[9]  Jörg Kienzle,et al.  Exceptional use cases , 2005, MoDELS'05.

[10]  Keith Phalp,et al.  Comparing Use Case Writing Guidelines , 2001 .

[11]  J. Christopher Westland,et al.  The cost of errors in software development: evidence from industry , 2002, J. Syst. Softw..

[12]  Miguel Toro,et al.  Verifying software requirements with XSLT , 2002, SOEN.

[13]  T.C. Lethbridge,et al.  Guide to the Software Engineering Body of Knowledge (SWEBOK) and the Software Engineering Education Knowledge (SEEK) - a preliminary mapping , 2001, 10th International Workshop on Software Technology and Engineering Practice.

[14]  D. C. Howell Statistical Methods for Psychology , 1987 .

[15]  Miroslaw Ochodek,et al.  Building Benchmarks For Use Cases , 2010, Comput. Informatics.

[16]  Keith Phalp,et al.  Replicating the CREWS Use Case Authoring Guidelines Experiment , 2000, Empirical Software Engineering.

[17]  Marcela Genero,et al.  Empirical Evaluation and Review of a Metrics-Based Approach for Use Case Verification , 2004, J. Res. Pract. Inf. Technol..

[18]  Roger S. Pressman,et al.  Software Engineering: A Practitioner's Approach , 1982 .

[19]  Roger S. Pressman,et al.  Software Engineering: A Practitioner's Approach (McGraw-Hill Series in Computer Science) , 2004 .

[20]  Stefania Gnesi,et al.  Applications of linguistic techniques for use case analysis , 2003, Requirements Engineering.

[21]  Mohamed El-Attar,et al.  A subject-based empirical evaluation of SSUCD’s performance in reducing inconsistencies in use case models , 2009, Empirical Software Engineering.

[22]  Magne Jørgensen,et al.  Quality and Understandability of Use Case Models , 2001, ECOOP.

[23]  Fredrik Törner,et al.  An Empirical Quality Assessment of Automotive Use Cases , 2006, 14th IEEE International Requirements Engineering Conference (RE'06).

[24]  Alistair Cockburn,et al.  Goals and Use Cases , 1997, J. Object Oriented Program..

[25]  Keith Phalp,et al.  Improving the quality of use case descriptions: empirical assessment of writing guidelines , 2007, Software Quality Journal.

[26]  Alistair Cockburn,et al.  Using Goal-Based Use Cases , 1997, J. Object Oriented Program..

[27]  G. Norman Likert scales, levels of measurement and the “laws” of statistics , 2010, Advances in health sciences education : theory and practice.

[28]  Leonid Kof,et al.  Scenarios: Identifying Missing Objects and Actions by Means of Computational Linguistics , 2007, 15th IEEE International Requirements Engineering Conference (RE 2007).

[29]  Scott W. Ambler,et al.  The Elements of UML(TM) 2.0 Style , 2005 .

[30]  Keith Phalp,et al.  Exploiting Use Case Descriptions for Specification and Design - An Empirical Study , 2003 .

[31]  Scott W. Ambler,et al.  The Elements of UML™ 2.0 Style: UML Deployment Diagrams , 2005 .

[32]  Bee Bee Chua Rework Requirement Changes in Software Maintenance , 2010, 2010 Fifth International Conference on Software Engineering Advances.

[33]  Bente Anda,et al.  Towards an inspection technique for use case models , 2002, SEKE '02.

[34]  Jakub Jurkiewicz,et al.  Supporting Use-Case Reviews , 2007, BIS.

[35]  Ghassan Beydoun,et al.  A field study of the requirements engineering practice in Australian software industry , 2007, Requirements Engineering.

[36]  Susan Lilly,et al.  Use case pitfalls: top 10 problems from real projects using use cases , 1999, Proceedings of Technology of Object-Oriented Languages and Systems - TOOLS 30 (Cat. No.PR00278).

[37]  Lawrence D. Pohlmann,et al.  Customer‐Centered Products – Creating Successful Products through Smart Requirements Management , 2001 .

[38]  Antonio Bucchiarone,et al.  Quality analysis of NL requirements: an industrial case study , 2005, 13th IEEE International Conference on Requirements Engineering (RE'05).

[39]  Samira Si-Said Cherfi,et al.  Use Case Modeling and Refinement: A Quality-Based Approach , 2006, ER.

[40]  Valentin Moreno,et al.  A framework to measure and improve the quality of textual requirements , 2011, Requirements Engineering.