Um modelo de predição de amplitude da propagação de modificações contratuais em software orientado por objetos

AUTOR(ES)
DATA DE PUBLICAÇÃO

2011

RESUMO

This work presents a novel model to assess and predict software maintainability quantitatively. The model, named K3B, measures the propagation of contractual modifications in object-oriented software systems. We define contractual modification as a modification in a module of the software system which changes the contract of the module. The contract of a class corresponds to its public services, and the precondictions and the postcondictions of these services. Precondiction is a condiction to be guaranteed in order to the service be executed successfully. A postcondiction corresponds to the expected status of the system after the service execution. K3B predicts the number of modification steps which will be taken until the modification process ends. The model is defined in terms of the number of modules within the program, the number of modules which will be initially modified, and software metrics such as coupling, cohesion and connectivity. For the purposes of defining and using K3B, we also defined a new class cohesion metric called Cohesion of Responsibility, we carried out an experimental study to identify thresholds for the software metrics applied with K3B, and we performed a study whose results show the macroscopic structure of software systems and reveal important properties of the evolutive nature of software systems. K3B was evaluated on a sample of open-source software systems. The evaluation of K3B was carried out by comparing the values generated by K3B and the values observed in simulation of modification in Java software. The results of this evaluation showed that the values reported by K3B are quite close to the data from simulation.

ASSUNTO(S)

computação teses. engenharia de software teses.

Documentos Relacionados