首页> 外文会议>Program Comprehension, 2009. ICPC '09 >Representing source code with Granular hierarchical structures
【24h】

Representing source code with Granular hierarchical structures

机译:用粒度层次结构表示源代码

获取原文

摘要

Quality factors namely testability, reliability, and maintainability are considered vulnerable to software complexity. Analyzing complexity of code is difficult though. Many techniques have been invented, including control flow graph (CFG) to aid program complexity analysis. However, the representation of code with dasiawebpsila structures exploited in CFG incurs some difficulty to human comprehension. Referring to Granular computing recently emerging from cognitive theories, this research thus proposes a novel approach to representing source code with ldquogranular hierarchical structuresrdquo. Instead of representing a program with dasiawebpsila, the method uses multiple dasiatreespsila to promisingly obtain more understanding during source code analysis. Preliminary experiments showed that representing source code with granular hierarchical structures gained more competent analysis of program complexity. The results were evaluated by the invented complexity measure called SCIM that satisfies more ldquobasic needs of good software measuresrdquo, compared to McCabe's Cyclomatic complexity derived from control flow graph.
机译:质量因素(即可测试性,可靠性和可维护性)被认为容易受到软件复杂性的影响。但是,分析代码的复杂性很困难。已经发明了许多技术,包括控制流程图(CFG)以辅助程序复杂性分析。但是,在CFG中使用具有dasiawebpsila结构的代码表示会给人类理解带来一些困难。因此,参考认知理论中最近出现的粒度计算,这项研究提出了一种用“粒级层次结构”表示源代码的新颖方法。该方法不是使用dasiawebpsila表示程序,而是使用多个dasiatreepsipsila来有望在源代码分析期间获得更多了解。初步实验表明,用粒度层次结构表示源代码可以对程序复杂性进行更有力的分析。结果是通过发明的称为SCIM的复杂性度量进行评估的,相比于从控制流程图得出的McCabe的圈复杂性,该度量满足了良好软件度量的更多“基本需求”。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号