DocumentCode :
3020395
Title :
Checking UML Design Patterns in Java Implementations
Author :
Pires, Waldemar ; Ramalho, Franklin ; Ledo, Anderson ; Serey, Dalton
Author_Institution :
Univ. Fed. de Campina Grande, Campina Grande, Brazil
fYear :
2010
fDate :
27-29 Sept. 2010
Firstpage :
120
Lastpage :
129
Abstract :
In a previous work, we presented a technique that allows verifying the conformance between Java implementations and UML class diagrams, using design tests. While it allowed verifying conformance it does so in a sense that does not deal adequately with some design patterns. In such scenarios, there are semantic constraints among the involved elements that UML does not allow our technique to recognize them. Therefore, if one evolves the implementation violating the design pattern, the generated design tests will no longer be capable of detecting the design violation. To address this problem, we propose in this paper an approach based on: (1) UML profiles to explicitly tag UML incorporating design patterns; and (2) a set of design test templates able to recognize the appropriate implementation of these design patterns on Java code. We also present a prototype capable of automatically generating the design tests to verify the design patterns explicated by the UML profile.
Keywords :
Java; Unified Modeling Language; object-oriented methods; pattern recognition; Java implementation; UML design pattern; pattern recognition; semantic constraint; Computational modeling; Java; Prototypes; Semantics; Software; System analysis and design; Unified modeling language; Design Patterns; Design Tests; MDA; UML Profile;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Components, Architectures and Reuse (SBCARS), 2010 Fourth Brazilian Symposium on
Conference_Location :
Bahia
Print_ISBN :
978-1-4244-8707-3
Electronic_ISBN :
978-0-7695-4259-1
Type :
conf
DOI :
10.1109/SBCARS.2010.22
Filename :
5631934
Link To Document :
بازگشت