Proceedings of the 6th International Conference on Quality Software
IEEE Computer Society Press, Los Alamitos, CA, pp. 185-192 (2006)
Heng Lu 2 , W.K. Chan 3 , and T.H. Tse 4
[paper from IEEE Xplore | paper from IEEE digital library | technical report TR-2006-09]
Pervasive programs should be context-aware, which means that
program functions should react according to changing environmental conditions.
Slicing, as an important class of code analysis techniques,
can clarify the dependence between program artifacts and observable
to facilitate debugging, testing, and other analyses.
Existing program slicing techniques, however,
do not take the contextual environment into account, resulting
in incomplete slices for such kind of program.
To tackle this problem,
this paper proposes a novel static slicing approach.
It develops a graphic representation that captures the context-triggered
invocations and the pervasive concurrency features.
We have also developed an algorithm to check
the propagation dependence in processing inter-thread data dependence.
Further optimizations are discussed.
Keywords: Pervasive concurrent program, static slicing
|EVERY VISITOR COUNTS:|