Advertisement

Software Quality Journal

, Volume 15, Issue 4, pp 383–399 | Cite as

Improving the quality of use case descriptions: empirical assessment of writing guidelines

  • Keith Thomas PhalpEmail author
  • Jonathan Vincent
  • Karl Cox
Article

Abstract

Use cases are the main requirements vehicle of the UML and are used widely to specify systems. Hence, the need to write clear and accurate use case descriptions has a significant impact for many practitioners. However, many have pointed to weaknesses in the support offered to those writing use cases, and a number of authors advocate the use of rules in the composition and structuring of use case descriptions. These rules constrain the user, by only allowing certain grammatical constructions, typically guiding the structure or the style of the description For example, the CREWS research project pioneered Use Case Authoring Guidelines, suggesting that the adoption of such guidelines improved resulting use case descriptions. Replication of CREWS studies appeared to confirm the view that use case descriptions were improved through the application of guideline sets, but also noted that learning such rules presented a significant overhead. Hence, a leaner set of guidelines (the CP rules) was developed.

This paper describes empirical work to assess the utility of these two sets of writing guidelines (CREWS and CP). In particular, descriptions are assessed against a set of established criteria—a use case quality description checklist, which the authors described in a previous paper.

Our findings suggest that the leaner set of guidelines performs at least as well in terms of their ability to produce clear and accurate (comprehensible) descriptions. Hence, that a tractable set of rules may prove applicable to the industrial context, which could lead to effective validation of use cases.

Keywords

Software Engineering Case Description Prepositional Phrase Consistent Structure Guideline Usage 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

References

  1. Adolph, S., Bramble, P., Cockburn, A., & Pols, A. (2003). Patterns for effective use cases. Addison Wesley.Google Scholar
  2. Alexander, I., & Stevens, R. (2002). Writing better requirements. Harlow: Addison-Wesley.Google Scholar
  3. Alexander, I. (2003). Misuse cases: Use cases with hostile intent. IEEE Software, Jan/Feb, 58–66.Google Scholar
  4. Anda, B., Sjoberg, D., & Jorgensen, M. (2001). Quality and understanding of use case models. In J. Lindskov Knudsen (Ed.), 15th European conference on object-oriented programming, LNCS, Springer, Budapest, June 2001, pp. 402–428.Google Scholar
  5. Anda, B., & Sjoberg, D. (2005). Investigating the role of use cases in the construction of class diagrams. Empirical Software Engineering Journal, 10(3), 85–309, July 2005.Google Scholar
  6. Ben Achour, C., Rolland, C., Maiden, N., & Souveyet, C. (1999). Guiding use case authoring: Results of an empirical study. In 4th IEEE international symposium on requirements engineering, RE’99, Limerick, Ireland, June 1999, pp. 36–43.Google Scholar
  7. Booch, G., Rumbaugh, J., & Jacobson, I. (1999). The UML user guide. Harlow: Addison-Wesley.Google Scholar
  8. Cockburn, A. (2001). Writing effective use cases. Harlow: Addison-Wesley.Google Scholar
  9. Cox, K., & Phalp, K. (2000). Replicating the CREWS use case authoring guidelines experiment. Empirical Software Engineering Journal, 5(3), 245–268.zbMATHCrossRefGoogle Scholar
  10. Cox, K., Phalp, K., & Shepperd, M. (2001). Comparing use case writing guidelines. In 7th international workshop on requirements engineering: Foundation for software quality, REFSQ’01, Interlaken, Switzerland, June 2001, pp. 101–112.Google Scholar
  11. Cox, K. (2002). Heuristics for use case descriptions. PhD Thesis, Bournemouth University, UK.Google Scholar
  12. Cox, K., Aurum, A., & Jeffery, R. (2004). An experiment in inspecting the quality of use case descriptions. Journal of Research and Practice in Information Technology, 36(4), 211–229.Google Scholar
  13. Fenton, N., & Pfleeger, L. (1996). Software metrics—A rigorous and practical approach (2nd ed.). Thomson Computer Press.Google Scholar
  14. Graham, I. (1998). Requirements engineering and rapid development. Harlow: Addison-Wesley.Google Scholar
  15. Hofmann, H., & Lehner, F. (2001). Requirements engineering as a success factor in software projects. IEEE Software, July and August issue, 58–66.Google Scholar
  16. Höst, M., Regnell, B., & Wohlin, C. (2000). Using students as subjects—A comparative study of students and professionals in lead-time impact assessment. Empirical Software Engineering Journal, 5(3), 201–214.zbMATHCrossRefGoogle Scholar
  17. Jackson, M. (2001). Problem frames. Harlow: Addison-Wesley.Google Scholar
  18. Jacobson, I., Christerson, M., Jonsson, P., & Overgaard, G. (1992). Object-oriented software engineering: A use case driven approach. Wokingham: Addison-Wesley.zbMATHGoogle Scholar
  19. Kanyaru, J., & Phalp, K. (2005). Supporting the consideration of dependencies in use case specifications. In 11th International workshop on requirements engineering: Foundation for software quality—REFSQ’05, Porto, Portugal, 13–14 June 2005.Google Scholar
  20. Kulak, D., & Guiney, E. (2000). Use cases: Requirements in context. Addison-Wesley.Google Scholar
  21. Maiden, N., & Corrall, D. (2000). Scenario-driven systems engineering. London: IEE Seminar.Google Scholar
  22. Miller, J., Daly, J., Wood, M., Roper, M., & Brooks, A. (1997). Statistical power and its subcomponents—Missing and misunderstood concepts in empirical software engineering. Information and Software Technology, 39, 285–295.CrossRefGoogle Scholar
  23. Phalp, K., & Cox, K. (2001). Guiding use case driven requirements elicitation and analysis. In Y. Wang, S. Patel, & R. Johnston (Eds.), 7th International conference on object-oriented information systems, OOIS’01, LNCS, Springer, Calgary, Canada, August 2001, pp. 329–332.Google Scholar
  24. Phalp, K., & Cox, K. (2002). Supporting communicability with use case guidelines: An empirical study. In 6th International conference on empirical assessment in software engineering, Keele University, 8–10 April 2002.Google Scholar
  25. Phalp, K., & Cox, K. (2003a). Exploiting use case descriptions for specification and design. In 7th International conference on empirical assessment and evaluation in software engineering, Keele University, Staffordshire, UK, 8–10 April.Google Scholar
  26. Phalp, K., & Cox, K. (2003b). Using enactable models to enhance use case descriptions. In Proceedings of the ProSim’03, International workshop on software process simulation modelling (in conjunction with ICSE), Portland, USA.Google Scholar
  27. Phalp, K., Vincent, J., & Cox, K. (2006). Assessing the quality of use case descriptions. Software Quality Journal, 15(1), 69–97, March 2007.Google Scholar
  28. Pickard, L., Kitchenham, B., & Jones, P. (1998). Combining empirical results in software engineering. Information and Software Technology, 40, 811–821.CrossRefGoogle Scholar
  29. Ratcliffe, M., & Budgen, D. (2005). The application of use cases in system analysis and design specification. Information and Software Technology, 47(9).Google Scholar
  30. Robson, C. (1993). Real world research. Oxford: Blackwell.Google Scholar
  31. Rolland, C., & Ben Achour, C. (1998). Guiding the construction of textual use case specifications. Data and Knowledge Engineering Journal, 25(1–2), 125–160.zbMATHCrossRefGoogle Scholar
  32. Some, S. (2006). Supporting use case based requirements engineering. Information and Software Technology, 48(1).Google Scholar
  33. Sutcliffe, A. (1998). Scenario-based requirements analysis. Requirements Engineering Journal, 3, 48–65.Google Scholar
  34. Wohlin, C., Runeson, P., Höst, M., Ohlsson, M., Regnell, B., & Wesslen, A. (2000). Experimentation in software engineering: An introduction. Kluwer Academic.Google Scholar
  35. Ying, L. (2001). Actor-led object modelling for requirements and systems analysis. In Y. Wang, S. Patel & R. Johnston (Eds.), 7th International conference on object-oriented information systems, LNCS, Springer, Calgary, August 2001, pp. 37–46.Google Scholar

Copyright information

© Springer Science+Business Media, LLC 2007

Authors and Affiliations

  • Keith Thomas Phalp
    • 1
    Email author
  • Jonathan Vincent
    • 1
  • Karl Cox
    • 2
  1. 1.Software Systems Modelling GroupBournemouth UniversityDorsetUK
  2. 2.Empirical Software Engineering GroupNational ICT Australia, Australian Technology Park EveleighSydneyAustralia

Personalised recommendations