DocumentCode
596180
Title
Permission Assurance for Semantic Aspects of Design Patterns
Author
Yang Zhao ; Lingnan Song ; Gongxuan Zhang ; Boyland, J.
Author_Institution
Sch. of Comput. Sci. & Eng., Nanjing Univ. of Sci. & Technol., Nanjing, China
Volume
1
fYear
2012
fDate
4-7 Dec. 2012
Firstpage
559
Lastpage
564
Abstract
A pattern is a general, reusable solution to a commonly occurring problem in software design. Programmers use patterns to produce effective and reliable software systems. However, pattern-related information usually reflects high-level user intentions that might not be available in source code when the coding process has been completed. Without proper documentation, those patterns may be concealed or destroyed during software maintenance and evolution. Being conscious of pattern occurrences can help understand source code and thereby provide deeper insight into a software product. In this paper, we argue that one should properly annotate object-oriented design patterns in source code and verify the consistency between patterns and code. This idea is demonstrated with the Singleton as well as the Strategy pattern, and we show how to assure some semantic aspects of these two patterns using a permission type system.
Keywords
object-oriented programming; program compilers; software maintenance; software reliability; software reusability; system documentation; coding process; high-level user intentions; object-oriented design patterns; pattern occurrences; pattern-related information; permission assurance; proper documentation; reliable software systems; reusable solution; semantic aspects; singleton; software design; software evolution; software maintenance; software product; source code; strategy pattern; Educational institutions; Maintenance engineering; Mathematical model; Semantics; Software systems; Syntactics; annotation; design pattern; permission assurance; user intent;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Engineering Conference (APSEC), 2012 19th Asia-Pacific
Conference_Location
Hong Kong
ISSN
1530-1362
Print_ISBN
978-1-4673-4930-7
Type
conf
DOI
10.1109/APSEC.2012.106
Filename
6462710
Link To Document