Automatic generation of analysis class diagrams from use case specifications
Preprint
Abstract
In object oriented software development, the analysis modeling is concerned with the task of identifying problem level objects along with the relationships between them from software requirements. The software requirements are usually written in some natural language, and the analysis modeling is normally performed by experienced human analysts. The huge gap between the software requirements which are unstructured texts and analysis models which are usually structured UML diagrams, along with human slip-ups inevitably makes the transformation process error prone. The automation of this process can help in reducing the errors in the transformation. In this paper we propose a tool supported approach for automated transformation of use case specifications documented in English language into analysis class diagrams. The approach works in four steps. It first takes the textual specification of a use case as input, and then using a natural language parser generates type dependencies and parts of speech tags for each sentence in the specification. Then, it identifies the sentence structure of each sentence using a set of comprehensive sentence structure rules. Next, it applies a set of transformation rules on the type dependencies and parts of speech tags of the sentences to discover the problem level objects and the relationships between them. Finally, it generates and visualizes the analysis class diagram. We conducted a controlled experiment to compare the correctness, completeness and redundancy of the analysis class diagrams generated by our approach with those generated by the existing automated approaches. The results showed that the analysis class diagrams generated by our approach were more correct, more complete, and less redundant than those generated by the other approaches.Keywords
All Related Versions
This publication has 16 references indexed in Scilit:
- A Hybrid Set of Complexity Metrics for Large-Scale Object-Oriented Software SystemsJournal of Computer Science and Technology, 2010
- Definitions and approaches to model quality in model-based software development – A review of literatureInformation and Software Technology, 2009
- Deriving static and dynamic concepts from software requirements using sophisticated taggingData & Knowledge Engineering, 2007
- On the Application of Software Metrics to UML Models2006
- Natural Language Requirements Analysis and Class Model Generation Using UCDA2004
- CM-Builder: A Natural Language-Based CASE Tool for Object-Oriented AnalysisAutomated Software Engineering, 2003
- Empirical Research Methods in Software Engineering2003
- Making inconsistency respectable in software developmentJournal of Systems and Software, 2001
- Comparing Detection Methods For Software Requirements Inspections: A Replication Using Professional SubjectsEmpirical Software Engineering, 1998
- NL-OOPS: from natural language to object oriented requirements using the natural language processing system LOLITANatural Language Engineering, 1996