Guaranteed inconsistency avoidance during software evolution

被引:4
|
作者
Gallagher, K
Harman, M
Danicic, S
机构
[1] Loyola Coll Maryland, Dept Comp Sci, Baltimore, MD 21210 USA
[2] Brunel Univ, Dept Informat Syst & Comp, Uxbridge UB8 3PH, Middx, England
[3] Univ London Goldsmiths Coll, Dept Math & Comp Sci, London SE14 6NW, England
关键词
software evolution; program slicing; decomposition slicing; program transformation; inconsistency detection and avoidance;
D O I
10.1002/smr.289
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The attempt to design and integrate consistent changes to an existing system is the essence of software maintenance. Software developers also confront similar problems: there are changes during testing and the release of new system builds. Whether in development or maintenance, changes to evolving systems must be made consistently; that is, without damaging correct computations. It is difficult for the programmer to ascertain the complete effect of a code change; the programmer may make a change to a program that is syntactically and semantically legal, but which has ripples into the parts of the program that were intended to remain unchanged. Using the standard denotational semantics for procedural programming languages, this paper formalizes decomposition slicing, which identifies interferences between software components and isolates the components to be changed. We enumerate the conditions for changing one component in ways that will guarantee that changes to it will not interact inconsistently and prove that changes made under these conditions are sound. Thus, the programmer can then execute changes secure in the knowledge that the semantics of the new system are guaranteed to be consistent with the projection of the semantics of the original for which it behaved correctly. Validating that the changes do not interfere not only guarantees consistency with respect to previous unchanging behaviors, but can also be achieved with a complexity proportional to the size of the change to be made. Copyright (C) 2003 John Wiley Sons, Ltd.
引用
收藏
页码:393 / 416
页数:24
相关论文
共 50 条