首页> 外文会议>International Conference on Program Comprehension >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 'web' 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 "granular hierarchical structures". Instead of representing a program with 'web', the method uses multiple 'trees' 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 "basic needs of good software measures", compared to McCabe's Cyclomatic complexity derived from control flow graph.
机译:质量因素即可测试性,可靠性和可维护性被认为容易受到软件复杂性的影响。分析代码的复杂性很难。已经发明了许多技术,包括控制流程图(CFG),以帮助计划复杂性分析。然而,CFG中利用“Web”结构的代码的代表会引起人类理解的一些困难。参考最近从认知理论中出现的粒度计算,这项研究提出了一种具有“粒度分层结构”的源代码的新方法。该方法而不是代表具有“Web”的程序,而是在源代码分析期间承诺获得更多“树”。初步实验表明,代表具有粒度分层结构的源代码获得了对节目复杂性的更有能力分析。与McCabe的循环复杂性相比,通过称为SCIM的综合性措施来评估所发明的复杂性措施,这些措施与来自控制流程图的群体的循环复杂性相比,这些复杂性措施满足了更多“良好的软件措施的基本需求”。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号