期刊文献+
共找到2篇文章
< 1 >
每页显示 20 50 100
C++程序设计案例遴选 被引量:4
1
作者 张波 《计算机教育》 2010年第18期48-51,共4页
针对C++程序设计课程中缺乏经典项目案例的问题,分析了从IT公司、开源项目中选取C++开发案例的优缺点。从开源项目中选取了8个关注度高、适合大学低年级学生知识结构的案例,设计了一套定量化的评估指标,使用代码查询语言(Code Query Lan... 针对C++程序设计课程中缺乏经典项目案例的问题,分析了从IT公司、开源项目中选取C++开发案例的优缺点。从开源项目中选取了8个关注度高、适合大学低年级学生知识结构的案例,设计了一套定量化的评估指标,使用代码查询语言(Code Query Language,CQL)及代码分析工具CppDepend,对这些案例进行了定量评估,给出了遴选C++程序设计案例的建议。 展开更多
关键词 C++程序设计 案例 OOP代码质量评估 内聚性度量
下载PDF
Effect of slice scope on data slice-based class cohesion metrics 被引量:3
2
作者 周毓明 徐宝文 《Journal of Southeast University(English Edition)》 EI CAS 2008年第2期174-177,共4页
This paper suggests that a single class rather than methods should be used as the slice scope to compute class cohesion. First, for a given attribute, the statements in all methods that last define the attribute are c... This paper suggests that a single class rather than methods should be used as the slice scope to compute class cohesion. First, for a given attribute, the statements in all methods that last define the attribute are computed. Then, the forward and backward data slices for this attribute are generated by using the class as the slice scope and are combined to compute the corresponding class data slice. Finally, the class cohesion is computed based on all class data slices for the attributes. Compared to traditional cohesion metrics that use methods as the slice scope, the proposed metrics that use a single class as slice scope take into account the possible interactions between the methods. The experimental results show that class cohesion can be more accurately measured when using the class as the slice scope. 展开更多
关键词 COHESION class data slice metrics OBJECT-ORIENTED
下载PDF
上一页 1 下一页 到第
使用帮助 返回顶部