When designing a new application , experienced software engineers usually try to employ solutions that proved successful in previous projects. Such reuse of code organizations is seldom made explicit. Nevertheless it represents important information about the system, that can be extremely valuable during program understanding, by documenting the design choices underlying the implementation. In this paper an approach is proposed for the inference of recurrent design patterns directly from the code. No assumption is made on the availability of any pattern library, and the concept analysis algorithm, adapted for this purpose, is able to infer the presence of class groups which instantiate a common, repeated pattern. This approach was applied to 3 C applications, for which the relations among classes led to the extraction of a set of design patterns, that could be interpreted as meaningful organizations aimed at solving general problems, with several instances in the code

Design Pattern Inference for Object Oriented Systems

Tonella, Paolo;
1999

Abstract

When designing a new application , experienced software engineers usually try to employ solutions that proved successful in previous projects. Such reuse of code organizations is seldom made explicit. Nevertheless it represents important information about the system, that can be extremely valuable during program understanding, by documenting the design choices underlying the implementation. In this paper an approach is proposed for the inference of recurrent design patterns directly from the code. No assumption is made on the availability of any pattern library, and the concept analysis algorithm, adapted for this purpose, is able to infer the presence of class groups which instantiate a common, repeated pattern. This approach was applied to 3 C applications, for which the relations among classes led to the extraction of a set of design patterns, that could be interpreted as meaningful organizations aimed at solving general problems, with several instances in the code
File in questo prodotto:
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11582/1850
 Attenzione

Attenzione! I dati visualizzati non sono stati sottoposti a validazione da parte dell'ateneo

Citazioni
  • ???jsp.display-item.citation.pmc??? ND
social impact