期刊名称:International Journal of Computer Science Issues
印刷版ISSN:1694-0784
电子版ISSN:1694-0814
出版年度:2012
卷号:9
期号:2
出版社:IJCSI Press
摘要:Reusability is the key concept in todays software development environment. The concept of reusability can be achieved by Generic programming approach. C++ templates help us to develop generic code which results in reusable software modules and also identify effectiveness of this reuse strategy. Many researchers have already developed various reusability metrics [9] [7]. In this paper we emphasis on evaluating reusability metrics on weyukers set of properties. Weyukers list of properties has always been a point of reference and suggested as a guiding tool in identification of a good complexity measure by several researchers. We have chosen some recently reported reusability metrics Method Template Inheritance Factor (MTIF) and Attribute Template Inheritance factor (ATIF) and evaluated them against Weyukers set of principles. We divide our work in a two-step framework. In the first step the metrics are analytically evaluated against a formal list of Weyukers properties and in the second step we calculate LOC metric value by using three different programs designed using template and inheritance features of object-oriented programming and observe that by using template with inheritance property we can reduce number of lines of a project to a great extent.