Slicing Objects Using UML State Diagram
Xi Wang, Wei Fang, Chuan Cheng · Advanced materials research · 2012
System modeling reduces ambiguity, misunderstanding, and misinterpretation of system specifications. Modern systems tend to be very large and complex and they are hard to understand, difficult to modify and test. There is a need to analyze a particular functionality, such as a requirement of interest or a transition, a particular system feature. In this paper, we present a slice approach to generate the slices based on the UML state diagram. The slice algorithm and slice criteria are proposed in the paper. The UML state diagram slices can be applied in the fields of the software testing such as regression test, debugging and maintenance.