Australasian Journal of Information Systems | |
Strengthen and Support the Maintenance of Object-Oriented Software | |
Ming-Chi Lee1  Teh-Sheng Huang1  Timothy Shih1  | |
[1] Ming-Chi Lee | |
关键词: object orientation; inheritance; redundancy; CASE; quality; | |
DOI : 10.3127/ajis.v7i1.286 | |
学科分类:计算机科学(综合) | |
来源: University of Canberra * Faculty of Information Sciences and Engineering | |
【 摘 要 】
Inheritance is one of the most common features of object oriented languages, and has been widely applied to develop large and complex software system. However, designing a suitable inheritance hierarchy, involving redundant inheritance, is a difficult task and easily suffers from name-confliction and repeated inheritance which are error-prone and difficult to test. In this paper, we explain how redundant inheritance makes object-oriented programs difficult to test and maintain, and we give a concrete example of the problems that arise. We show that the difficulty lies in the fact that we lack an effective detection tool suited for work with inheritance problems. Therefore, a formal checking mechanism is proposed to detect and resolve redundant inheritance. Furthermore, this checking mechanism can be easily incorporated with object-oriented CASE tool to enhance software quality.
【 授权许可】
Unknown
【 预 览 】
Files | Size | Format | View |
---|---|---|---|
RO201912020430733ZK.pdf | 705KB | download |