Title :
Contract-Based Slicing Helps on Safety Reuse
Author :
Areias, Sérgio ; Cruz, Daniela Da ; Pinto, Jorge Sousa
Author_Institution :
Dept. de Inf., Univ. do Minho, Braga, Portugal
fDate :
June 30 2010-July 2 2010
Abstract :
In this poster we describe a work in progress aimed at using a variant of specification-based slicing to improve the reuse of annotated software components, developed under the so called design-by-contract approach. We have named this variant as contract-based because we use the annotations, more precisely the pre and post-conditions, to slice programs intra and inter-procedures. The idea, expressed in the poster, is to take the pre-condition of the reused annotated component as slicing criterion, and slice backward the program where the component is called. In that way, we can isolate the statements that have influence on the variables involved on the pre-condition and check if it is preserved by that invocation, or not.
Keywords :
program slicing; software reusability; contract based slicing; design by contract approach; safety software reuse; specification based slicing; Concrete; Contracts; Displays; Documentation; Guidelines; Java; Libraries; Programming profession; Software engineering; Software safety; Component reuse; design-bycontract; safety reuse; slicing;
Conference_Titel :
Program Comprehension (ICPC), 2010 IEEE 18th International Conference on
Conference_Location :
Braga, Minho
Print_ISBN :
978-1-4244-7604-6
Electronic_ISBN :
1092-8138
DOI :
10.1109/ICPC.2010.44