skip to main content
research-article

Facilitating the transition from use case models to analysis models: Approach and experiments

Published: 04 March 2013 Publication History

Abstract

Use case modeling, including use case diagrams and use case specifications (UCSs), is commonly applied to structure and document requirements. UCSs are usually structured but unrestricted textual documents complying with a certain use case template. However, because Use Case Models (UCMods) remain essentially textual, ambiguity is inevitably introduced. In this article, we propose a use case modeling approach, called Restricted Use Case Modeling (RUCM), which is composed of a set of well-defined restriction rules and a modified use case template. The goal is two-fold: (1) restrict the way users can document UCSs in order to reduce ambiguity and (2) facilitate the manual derivation of initial analysis models which, when using the Unified Modeling Language (UML), are typically composed of class diagrams, sequence diagrams, and possibly other types of diagrams.
Though the proposed restriction rules and template are based on a clear rationale, two main questions need to be investigated. First, do users find them too restrictive or impractical in certain situations? In other words, can users express the same requirements with RUCM as with unrestricted use cases? Second, do the rules and template have a positive, significant impact on the quality of the constructed analysis models? To investigate these questions, we performed and report on two controlled experiments, which evaluate the restriction rules and use case template in terms of (1) whether they are easy to apply while developing UCMods and facilitate the understanding of UCSs, and (2) whether they help users manually derive higher quality analysis models than what can be generated when they are not used, in terms of correctness, completeness, and redundancy. This article reports on the first controlled experiments that evaluate the applicability of restriction rules on use case modeling and their impact on the quality of analysis models. The measures we have defined to characterize restriction rules and the quality of analysis class and sequence diagrams can be reused to perform similar experiments in the future, either with RUCM or other approaches.
Results show that the restriction rules are overall easy to apply and that RUCM results into significant improvements over traditional approaches (i.e., with standard templates, without restrictions) in terms of class correctness and class diagram completeness, message correctness and sequence diagram completeness, and understandability of UCSs.

Supplementary Material

yue (a5-yue-apndx.pdf)
Supplemental movie, appendix, image and software files for, Facilitating the transition from use case models to analysis models: Approach and experiments

References

[1]
Achour, C. B., Rolland, C., Maiden, N. A. M., and Souveyet, C. 1999. Guiding use case authoring: Results of an empirical study. In Proceedings of the International Symposium on Requirements Engineering. 36--43.
[2]
Anda, B., Sjoberg, D., and Jorgensen, M. 2001. Quality and understandability of use case models. In Proceedings of the European Conference on Object-Oriented Programming. Springer, 402--428.
[3]
Anda, B. and Sjoberg, D. I. K. 2005. Investigating the role of use cases in the construction of class diagrams. Empirical Soft. Engin. 10, 285--309.
[4]
Arisholm, E. and Sjoberg, D. I. K. 2004. Evaluating the effect of a delegated versus centralized control style on the maintainability of object-oriented software. IEEE Trans. Soft. Engin. 30, 521--534.
[5]
Basili, V. R., Caldiera, G., and Rombach, H. D. 1994. The goal question metric approach. Encyclopedia of Software Engineering 1, 528--532.
[6]
Belgamo, A., Fabbri, S., and Maldonado, J. C. 2005. TUCCA: Improving the effectiveness of use case construction and requirement analysis. In Proceedings of the IEEE International Symposium on Empirical Software Engineering. 266--275.
[7]
Bittner, K. and Spence, I. 2002. Use Case Modeling. Addison-Wesley Boston.
[8]
Bruegge, B. and Dutoit, A. H. 2009. Object-Oriented Software Engineering Using UML, Patterns, and Java. Prentice Hall.
[9]
Cockburn, A. 2001. Writing Effective Use Cases. Addison-Wesley Boston.
[10]
Cox, K. 2002. Heuristics for use case descriptions, PhD Thesis, Bournemouth University, UK.
[11]
Cruz-Lemus, J., Maes, A., Genero, M., Poels, G., and Piattini, M. 2010. The impact of structural complexity on the understandability of UML statechart diagrams. Inf. Sci. 180, 2209--2220.
[12]
Dobing, B. and Parsons, J. 2006. How UML is used. Commun. ACM 49, 109--113.
[13]
Genero, M., Piattini, M., and Calero, C. 2000. Early measures for UML class diagrams. L'Objet 6, 489--505.
[14]
Gomaa, H. 2000. Designing Concurrent, Distributed, and Real-Time Applications with UML. Addison-Wesley.
[15]
Holt, R. W., Boehm-Davis, D. A. and Shultz, A. C. 1987. Mental representations of programs for student and professional programmers. In Empirical Studies of Programmers II. Ablex Publishing Corp., 33--46.
[16]
Höst, M., Regnell, B., and Wohlin, C. 2000. Using students as subjects - comparative study of students and professionals in lead-time impact assessment. Empirical Soft. Engin. 5, 201--214.
[17]
Insfrán, E., Pastor, O., and Wieringa, R. 2002. Requirements engineering-based conceptual modelling. Requirements Eng. 7, 61--72.
[18]
Jacobson, I. 1987. Object-oriented development in an industrial environment. In Proceedings of the Conference on Object-Oriented Programming, Systems, Languages&Applications. ACM, 183--191.
[19]
Jacobson, I. 2004. Use cases - yesterday, today, and tomorrow. Soft. Syst. Model. 3, 210--220.
[20]
Jacobson, I., Christerson, M., Jonsson, P., and Overgaard, G. 1992. Object-Oriented Software Engineering: A Use Case Driven Approach. Addison-Wesley.
[21]
Kim, H. and Boldyreff, C. 2002. Developing software metrics applicable to UML models. In Proceedings of the International Workshop on Quantitative Approaches in Object-Oriented Software Engineering.
[22]
Kruchten, P. 2003. The Rational Unified Process: An Introduction. Addison-Wesley.
[23]
Kulak, D. and Guiney, E. 2000. Use Cases: Requirements in Context. ACM Press.
[24]
Lange, C. F. J., Chaudron, M. R. V., and Muskens, J. 2006. In practice: UML software architecture and design description. IEEE Softw. 23, 40--46.
[25]
Larman, C. 2004. Applying UML and Patterns. Prentice-Hall.
[26]
Liang, Y. 2003. From use cases to classes: a way of building object model with UML. Inf. Softw. Tech. 45, 83--93.
[27]
Liu, D. 2003. Automating transition from use cases to class model. In Proceedings of the Canadian Conference on Electrical and Computer Engineering. 125.
[28]
Major, M. L. and McGregor, J. D. 1999. Using guided inspection to validate UML models. In Proceedings of the 24th Annual IEEE/NASA Software Engineering Workshop. 485--507.
[29]
Marchesi, M. 1998. OOA metrics for the Unified Modeling Language. In Proceedings of the 2nd Euromicro Conference on Software Maintenance and Reengineering. 67--73.
[30]
Maldonado, J. C., Carver, J., Shull, F., Fabbri, S., Doria, E., Martimiano, L., Mendonca, M., and Basili, V. 2006. Perspective-based reading: A replicated experiment focused on individual reviewer effectiveness. Empirical Soft. Engin. 11, 119--142.
[31]
OMG 2005. UML 2.0 Superstructure Specification Object Management Group.
[32]
Oppenheim, A. N. 1992. Questionnaire Design, Interviewing, and Attitude Measurement. Pinter Pub Ltd.
[33]
Phalp, K. T., Vincent, J., and Cox, K. 2007a. Assessing the quality of use case descriptions. Software Quality Journal 15, 69--97.
[34]
Phalp, K. T., Vincent, J., and Cox, K. 2007b. Improving the quality of use case descriptions: empirical assessment of writing guidelines. Softw. Qual. J. 15, 383--399.
[35]
Reinhartz-Berger, I. and Sturm, A. 2008. Enhancing UML models: a domain analysis approach. J. Datab. Manage. 19, 74--94.
[36]
Reissing, R. 2001. Towards a model for object-oriented design measurement. In Proceedings of the ECOOP Workshop on Quantative Approaches in Object-Oriented Software Engineering. 71--84.
[37]
Schneider, G. and Winters, J. P. 1998. Applying Use Cases: A Practical Guide. Addison-Wesley.
[38]
Śmiałek, M., Bojarski, J., Nowakowski, W., Ambroziewicz, A., and Straszak, T. 2007. Complementary use case scenario representations based on domain vocabularies. In Proceedings of the International Conference on Model Driven Engineering Languages and Systems.
[39]
Somé, S. S. 2006. Supporting use case based requirements engineering. Inf. Softw. Tech. 48, 43--58.
[40]
Subramaniam, K., Liu, D., Far, B. H., and Eberlein, A. 2004. UCDA: Use case driven development assistant tool for class model generation. In Proceedings of the International Conference on Software Engineering&Knowledge Engineering. 324--329.
[41]
Wahono, R. S. and Far, B. H. 2002. A framework for object identification and refinement process in object-oriented analysis and design. In Proceedings of the 1st IEEE International Conference on Cognitive Informatics. 351--360.
[42]
Wohlin, C. and Wesslen, A. 2000. Experimentation in Software Engineering: An Introduction. Springer.
[43]
Xu, B., Kang, D., and Lu, J. 2004. A structural complexity measure for UML class diagrams. In Proceedings of the International Conference on Computational Science. 421--424.
[44]
Yue, T. 2010. Automatically deriving a uml analysis model from a use case model, PhD Thesis, Department of Systems and Computer Engineering, Carleton University, Ottawa, 350.
[45]
Yue, T., Ali, S., and Briand, L. 2011a. Automated transition from use cases to UML state machines to support state-based testing. In Proceedings of the European Conference on Modeling Foundations and Applications. 115--131.
[46]
Yue, T., Briand, L. C., and Labiche, Y. 2009. A use case modeling approach to facilitate the transition towards analysis models: Concepts and empirical evaluation. In Proceedings of the International Conference on Model Driven EngineeringLanguages and Systems. Springer, 484--498.
[47]
Yue, T., Briand, L. C., and Labiche, Y. 2010a. An automated approach to transform use cases into activity diagrams. In Proceedings of the European Conference on Modeling Foundations and Applications. Springer, 337--353.
[48]
Yue, T., Briand, L. C., and Labiche, Y. 2010b. Automatically deriving a UML analysis model from a use case model, Simula Research Laboratory, Tech. Rep. 2010--15.
[49]
Yue, T., Briand, L. C., and Labiche, Y. 2011b. A systematic review of transformation approaches between user requirements and analysis models. Requirements Eng. 16, 2, 75--99.

Cited By

View all
  • (2024)A scoping review of auto-generating transformation between software development artifactsFrontiers in Computer Science10.3389/fcomp.2023.13060645Online publication date: 8-Jan-2024
  • (2024)Integrating Usability into Software Engineering Course ProjectsJournal of Computer and Education Research10.18009/jcer.141724512:23(209-240)Online publication date: 21-Mar-2024
  • (2024)Scenario-Based Field Testing of Drone Missions2024 50th Euromicro Conference on Software Engineering and Advanced Applications (SEAA)10.1109/SEAA64295.2024.00012(10-17)Online publication date: 28-Aug-2024
  • Show More Cited By

Index Terms

  1. Facilitating the transition from use case models to analysis models: Approach and experiments

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Transactions on Software Engineering and Methodology
    ACM Transactions on Software Engineering and Methodology  Volume 22, Issue 1
    February 2013
    229 pages
    ISSN:1049-331X
    EISSN:1557-7392
    DOI:10.1145/2430536
    Issue’s Table of Contents
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 04 March 2013
    Accepted: 01 October 2011
    Revised: 01 June 2011
    Received: 01 September 2010
    Published in TOSEM Volume 22, Issue 1

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. Use case
    2. analysis model
    3. class diagram
    4. controlled experiment
    5. restriction rules
    6. sequence diagram
    7. use case modeling
    8. use case template

    Qualifiers

    • Research-article
    • Research
    • Refereed

    Funding Sources

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)85
    • Downloads (Last 6 weeks)14
    Reflects downloads up to 25 Feb 2025

    Other Metrics

    Citations

    Cited By

    View all
    • (2024)A scoping review of auto-generating transformation between software development artifactsFrontiers in Computer Science10.3389/fcomp.2023.13060645Online publication date: 8-Jan-2024
    • (2024)Integrating Usability into Software Engineering Course ProjectsJournal of Computer and Education Research10.18009/jcer.141724512:23(209-240)Online publication date: 21-Mar-2024
    • (2024)Scenario-Based Field Testing of Drone Missions2024 50th Euromicro Conference on Software Engineering and Advanced Applications (SEAA)10.1109/SEAA64295.2024.00012(10-17)Online publication date: 28-Aug-2024
    • (2024)Automatic generation of system model diagrams driven by multi-source heterogeneous dataJournal of Engineering Design10.1080/09544828.2024.236085335:11(1442-1486)Online publication date: 6-Jul-2024
    • (2024)Early analysis of requirements using NLP and Petri-netsJournal of Systems and Software10.1016/j.jss.2023.111901208:COnline publication date: 1-Feb-2024
    • (2023)Automated Grading of Use Cases2023 ACM/IEEE 26th International Conference on Model Driven Engineering Languages and Systems (MODELS)10.1109/MODELS58315.2023.00029(106-116)Online publication date: 1-Oct-2023
    • (2023)Simplexity testbed: A model-based digital twin testbedComputers in Industry10.1016/j.compind.2022.103804145(103804)Online publication date: Feb-2023
    • (2023)Requirements development for IoT systems with UCM4IoTJournal of Computer Languages10.1016/j.cola.2023.101251(101251)Online publication date: Nov-2023
    • (2022)Automatic generation of SysML requirement models based on Chinese natural language requirementsProceedings of the 2022 6th International Conference on Electronic Information Technology and Computer Engineering10.1145/3573428.3573470(242-248)Online publication date: 21-Oct-2022
    • (2022)Automatic Generation of Acceptance Test Cases From Use Case Specifications: An NLP-Based ApproachIEEE Transactions on Software Engineering10.1109/TSE.2020.299850348:2(585-616)Online publication date: 1-Feb-2022
    • Show More Cited By

    View Options

    Login options

    Full Access

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Figures

    Tables

    Media

    Share

    Share

    Share this Publication link

    Share on social media