Measuring Structural Quality of Object-Oriented Softwares via Bug Propagation Analysis on Weighted S

来源 :计算机科学技术学报(英文版) | 被引量 : 0次 | 上传用户:brian125
下载到本地 , 更方便阅读
声明 : 本文档内容版权归属内容提供方 , 如果您对本文有版权争议 , 可与客服联系进行内容授权或下架
论文部分内容阅读
The quality of a software system is partially determined by its structure (topological structure),so the need to quantitatively analyze the quality of the structure has become eminent.In this paper a novel metric called software quality of structure (SQoS) is presented for quantitatively measuring the structural quality of object-oriented (OO) softwares via bug propagation analysis on weighted software networks (WSNs).First,the software systems are modeled as a WSN,weighted class dependency network (WCDN),in which classes are nodes and the interaction between every pair of classes if any is a directed edge with a weight indicating the probability that a bug in one class will propagate to the other.Then we analyze the bug propagation process in the WCDN together with the bug proneness of each class,and based on this,a metric (SQoS) to measure the structural quality of OO softwares as a whole is developed.The approach is evaluated in two case studies on open source Java programs using different software structures (one employs design patterns and the other does not) for the same OO software.The results of the case studies validate the effectiveness of the proposed metric.The approach is fully automated by a tool written in Java.
其他文献
作为语言综合能力练习的一个重要组成部分,英语写作一直以来都是英语教学的难点.如何改善写作教学效果,是迫切需要解决的问题.所以,教师在对学生训练的过程中,要抓住学生所存
语言形式的可译和不可译之争由来已久。认知语言学家认为人类拥有共同的思维能力和思维规律,人类语言的共性反映着人类思维的共性。语言共性的大量存在使不同文化的人能够相
目的 观察肝X受体(LXR)在不同糖代谢状态下肝内表达的变化情况及其对肝糖代谢酶磷酸烯醇式丙酮酸羧激酶(PEPCK)mRNA和葡萄糖激酶(GCK)mRNA表达的调节,阐明LXR信号通路对糖代
目的 观察无抽搐电痉挛治疗(MECT)后抽搐发作延长的发生率和心肌损伤标志物的变化.方法 26例MECT后抽搐发作延长者为发作延长组,41例MECT后无抽搐发作延长者为正常发作组,同
语法研究中的配价思想是源于化学学科在其领域外的跨越式发展,从其被引入语言学界的研究应用以来引起了各家广泛的争鸣和探讨.基于汉语的自身特点,本文探讨了配价理论的形成
目的探讨生理水平的二氧化硫(SO2)预处理对大鼠离体心肌缺血再灌注(I/R)损伤的保护作用,通过使用内质网应激抑制剂4-苯基丁酸(4-PBA)来探讨SO2预处理的作用机制。方法应用Lan
The influences of binder and molding method on the catalytic performance of methane aromatization in the absence of O2 over MoO3/ZSM-5 catalysts were investigat
著名心理学家布卢姆指出:“发现不限于寻求人类尚未知晓达到事物,确切地说,它包括用自己的头脑亲自获得知识的方法。”他认为最好的教学方法是让学生去发现和回答自己的疑问
The conical spiral tube bundle is a new type of heat transfer elements used to enhance heat transfer through flow-induced vibration.The effect of the external f
An intelligent shearer height adjusting system is a key technology for mining at a man-less working face.A control strategy for a shearer height adjusting syste