Automatic generation of analysis class diagrams from use case specifications

08/05/2017
by   Jitendra Singh Thakur, et al.
0

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.

READ FULL TEXT
research
10/26/2022

Towards Automatically Extracting UML Class Diagrams from Natural Language Specifications

In model-driven engineering (MDE), UML class diagrams serve as a way to ...
research
08/31/2018

Automated Prototype Generation from Formal Requirements Model

Prototyping is an effective and efficient way of requirement validation ...
research
10/26/2015

Object Oriented Analysis using Natural Language Processing concepts: A Review

The Software Development Life Cycle (SDLC) starts with eliciting require...
research
08/09/2022

Natural Language Processing for Systems Engineering: Automatic Generation of Systems Modelling Language Diagrams

The design of complex engineering systems is an often long and articulat...
research
06/12/2023

Automated use case diagram generator using NLP and ML

This paper presents a novel approach to generate a use case diagram by a...
research
10/30/2019

Use Case Evolution Analysis based on Graph Transformation with Negative Application Conditions

Use Case (UC) quality impacts the overall quality and defect rate of a s...
research
09/03/2020

Detecting Bad Smells in Use Case Descriptions

Use case modeling is very popular to represent the functionality of the ...

Please sign up or login with your details

Forgot password? Click here to reset