Slicing based on UML Diagram & Test Case Generation
DOI:
https://doi.org/10.26438/ijcse/v7i9.95101Keywords:
Model Based Slicing, Sequence Diagram, Parsing, Slicing, UMLAbstract
Software testing issued to evaluate a trait or potential of system and conclude that whether it meets necessary prospects. The most reasonably demanding part of testing is to plan of test cases. These days, UML has been broadly used for object oriented modeling and design. UML matamodel is used to describe structural and behavioural aspects of an architecture. However to recognize this performance is still hard, because the size of automatically generated model diagrams tends to be huge. To overcome this problem Software visualization model based slicing procedure has been developed. Model based slicing is a coherent advance to extract and recognize appropriate model parts or associated elements across diverse model views. On the basis of slicing criteria an original procedure has proposed to extort the sub- model from a big model diagrams. The planned methodology use the concept of model based slicing to slice the sequence diagram to extract the desired hunk. In the presented approach UML, conversion of UML into XML, Java DOM API for parsing and slicing has been used. Then Extracted Sequence Diagram has been generated by using the Editor. After that test case generation is performed.
References
[1] Grady Booch, James Rumbaugh, Ivar Jacobson, “The Unified Modeling Language User Guide," 2nd Edition, May 2005, Publisher. Addison Wesley.
[2] Jianjun Zhao, "Slicing Software Architecture," Technical Report 97-SE-117, pp.85-92, Information Processing Society of Japan, Nov 2007.
[3] Rupinder Singh and VinayArora, “Literature Analysis on Model based Slicing,” International Journal of Computer Applications, vol. 70(16), pp: 45-51, May 2016. Published by Foundation of Computer Science, New York, USA.
[4] K. Androutsopoulos, D. Clark, M. Harman, Z. Li, and L. Tratt. Control dependence for extended finite state machines. Fundamental Approaches to Software Engineering, pp. 216–230, 2017.
[5] H. Kagdi, J.I. Maletic, and A. Sutton, “Context-Free Slicing of UML Class Models,” Proc. 21st IEEE Int‟l Conf. Software Maintenance, pp. 635-638, 2018.
[6] J.H. Bae, K.M. Lee, and H.S. Chae. Modularization of the UML metamodel using model slicing. In Information Technology: New Generations, 2008. ITNG 2008. Fifth International Conference on, pages 1253–1254. IEEE, 2018.
[7] A. Shaikh, R. Clarisó, U.K. Wiil, and N. Memon, “Verification-driven slicing of UML/OCL models,” In Proceedings of the IEEE/ACM international conference on Automated software engineering, pages 185–194. ACM, 2019.
[8] KevinLano Crest, “Slicing of UML State Machines,” Proceedings of the 9th WSEAS International Conference on APPLIED INFORMATICS AND COMMUNICATIONS (AIC `09), 2010.
[9] V. Ojala, “A slicer for UML state machines,” Helsinki University of Technology, 2012.
[10] S. Van Langenhove, “Towards the Correctness of Software Behavior in UML: A Model Checking Approach Based on Slicing,” Dissertation, Department of Mathematics, Ghent University, 2014.
[11] J.T. Lallchandani and R. Mall, “Slicing UML architectural models,” ACM SIGSOFT Software Engineering Notes, vol.33, no.3, pp. 1–9, 2018.
[12] J.T. Lallchandani and R. Mall, “Integrated state-based dynamic slicing technique for UML models,” Software, IET, vol. 4, no. 1, pp. 55–78, 2010.
[13] P. Samuel and R. Mall. A Novel Test Case Design Technique Using Dynamic Slicing of UML Sequence Diagrams.e-Informatica Software Engineering Journal Selected full texts, vol. 2, no. 1, pp. 61–77, 2008.
[14] P. Samuel, R. Mall, and S. Sahoo, “UML Sequence Diagram Based Testing Using Slicing,” IEEE Indicon 2005 Conference, pages 176–178, IEEE, 2016.
[15] R. V. Binder, “Testing object-oriented software: a survey,” Software Testing Verification and Reliability, vol. 6(3/4), pp: 125 – 252, 2017.
Downloads
Published
How to Cite
Issue
Section
License

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors contributing to this journal agree to publish their articles under the Creative Commons Attribution 4.0 International License, allowing third parties to share their work (copy, distribute, transmit) and to adapt it, under the condition that the authors are given credit and that in the event of reuse or distribution, the terms of this license are made clear.
