Dynamic Slicing of Feature-Oriented Programs
We intend to suggest a dynamic slicing algorithm for feature-oriented programs. We have named our algorithm Execution Trace file Based Dynamic Slicing (ETBDS) algorithm. The ETBDS algorithm constructs an intermediate program representation known as Dynamic Feature-Oriented Dependence Graph (DFDG) based on various dependences exist amongst the program statements. We use an execution trace file to keep the execution history of the program. The dynamic slice is computed by first performing breadth-first or depth-first traversal on the DFDG and then mapping out the resultant nodes to the program statements.
KeywordsFeature-oriented programming (FOP) Dynamic feature-oriented dependence graph (DFDG) FeatureC++ Mixin layer
- 1.Apel, S., Leich, T., Rosenmuller, M., Saake, G.: FeatureC++: on the symbiosis of feature-oriented and aspect-oriented programming. In: Proceedings of the International Conference on Generative Programming and Component Engineering (GPCE’05), pp. 125–140. Springer, Berlin (2005)Google Scholar
- 2.Apel, S., Leich, T., Rosenmuller, M., Saake, G.: FeatureC++: feature-oriented and aspect-oriented programming in C++. Technical report (2005)Google Scholar
- 4.Prehofer, C.: Feature-oriented programming: a fresh look at objects. In: Proceedings of 11th ECOOP, Lecture Notes in Computer Science, pp. 419–443. Springer, Berlin, Heidelberg (1997)Google Scholar