Abstract
The authors propose a technique for constructing dynamic slices of unified modelling language (UML) models using the state information. Given a software architecture specified using UML, the authors first construct an intermediate representation. The authors have named this intermediate representation model dependency graph (MDG). MDG combines information extracted from various sequence diagrams along with those from class and state-machine diagrams. The authors have named our proposed algorithm state-based dynamic slicing of UML models (SDSUM). Our SDSUM algorithm traverses the constructed MDG to identify the model elements that are either directly or indirectly involved during the execution of a specific scenario. Instead of processing each UML diagram independently and iteratively cross linking relevant information across different diagrams, our algorithm's novelty lies in constructing and analysing an integrated model for determining the implicit interdependencies among the different model elements distributed across various UML diagrams for computing a state-based dynamic slice. Consideration of state information of objects makes the computed dynamic slices more precise compared to traditional slicing. A case study has been presented to illustrate our approach.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.