Ontology-Assisted Structural Design Flaw Detection of Object-Oriented Software
A design flaw is indicative of a potential shortcoming in the construction of a software system and can result in a reduction in the quality of the software. This study offers a means of detecting design flaws through the use of ontology-assisted flaw description and declarative meta programming. Ontology flaw structures are used to describe the flaw domains, while the use of a declarative-based method allows the design flaws which arise within an object-oriented system to be altered into these structures, thereby permitting their detection at the metalevel when declarative meta programming is employed. This research uses the method described in order to detect a number of design flaws which are already well-documented. The findings demonstrate that the method is successful in detecting those flaws, and that structural design flaw detection is particularly effective.
KeywordsDesign flaws Detection Object-oriented design Ontology
This research received funding from University of Phayao (Project No. RD60037) and was supported in part by the School of Information and Communication Technology, University of Phayao, Thailand.
- 1.Brown, W.J., Malveau, R.C., McCormick III, H.W., Mowbray, T.J.: AntiPatterns: Refactoring Software, Architectures, and Projects in Crisis. Wiley, New York (1998)Google Scholar
- 2.Coad, P., Yourdon, E.: Object-Oriented Analysis, 2nd edn. Yourdon Press, UpperSaddle River (1991)Google Scholar
- 3.Fowler, M., Beck, K., Brant, J., Opdyke, W., Roberts, D.: Refactoring: Improving the Design of Existing Code. Addison-Wesley Professional, Boston (1999)Google Scholar
- 4.Mantyla, M., Vanhanen, J., Lassenius, C.: A Taxonomy and an Initial Empirical Study of Bad Smells in Code, pp. 381–384 (2003)Google Scholar
- 7.Noy, N.F., McGuinness, D.L.: Ontology Development 101: A Guide to Creating Your First Ontology. Online (2001)Google Scholar
- 8.Riel, A.J.: Object-Oriented Design Heuristics, 1st edn. Addison-Wesley Longman Publishing Co. Inc, Boston (1996)Google Scholar
- 10.Webster, B.F.: Pitfalls of object-oriented development. M T (1995)Google Scholar
- 11.Wheeler, D.A., Brykczynski, B., Meeson Jr., R.N. (eds.): Software Inspection: An Industry Best Practice for Defect Detection and Removal, 1st edn. IEEE Computer Society Press, Los Alamitos (1996)Google Scholar