检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]合肥工业大学微型计算机应用研究所,合肥230009
出 处:《计算机学报》2000年第11期1220-1225,共6页Chinese Journal of Computers
基 金:机械部发展基金!(96 JA0 2 0 5 )
摘 要:介绍了面向对象软件 C& K度量学理论与方法 ,结合 C+ +语言的特征 ,分析了 C& K度量指标存在的缺点 ,提出了改进方法 .然后描述了作者开发的基于改进 C& K度量学理论与方法的针对 C+ +的软件度量工具SMTCPP,该工具使用 L L(1)分析法对源程序进行语法分析 ,从而提取程序中有关类、类成员、成员函数、对象等信息 ,计算出类的方法数、方法最大复杂度、继承树深度、子类数目、耦合度、响应集、相对内聚缺乏度等指标 ,以指导软件开发过程 .这些度量结果还可以存放在数据库中 ,以便为建立软件质量评价模型收集充足的数据 .论文最后对采用 SMTCPP所做的 3个实用软件度量实验结果进行了分析 ,表明了 SMTCPP的实用性 .Software metrics is an important branch of software engineering. First this paper introduces a metrics suite suggested by R Chidamber and F Kemerer for object-oriented design, analyses its shortcoming, and provides an improved metrics. Then the paper describes a practical software measurement tool, SMTCPP, developed by authors. The design of SMTCPP is based on the improved metrics and the tool is for measure of C++ programs. SMTCPP makes parse to C++ programs by LL(1) method, extracts information about classes, members, and objects, counts out the indications such as methods per class, the biggest complexity among methods, depth of inheritance tree, number of children, coupling between object classes, response for class, and relative lack of cohesion in methods. The measure values are very useful to guide software process. The tool may also put the values into database to collect sufficient data for building software quality evaluation model. Last, the paper analyses the experiments for three practical programs. The result shows SMTCPP is useful.
分 类 号:TP311.5[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.7