首页> 外文期刊>The Journal of Systems and Software >Fine-grain analysis of common coupling and its application to a Linux case study
【24h】

Fine-grain analysis of common coupling and its application to a Linux case study

机译:常见耦合的细粒度分析及其在Linux案例研究中的应用

获取原文
获取原文并翻译 | 示例
           

摘要

Common coupling (sharing global variables across modules) is widely accepted as a measure of software quality and maintainability; a low level of common coupling is necessary (but not sufficient) to ensure maintainability. But when the global variables in question are large multi-field data structures, one must decide whether to consider such data structures as single units, or examine each of their fields individually. We explore this issue by re-analyzing a case study based on the Linux operating system. We determine the common coupling at the level of granularity of the component fields of large, complex data structures, rather than at the level of the data structures themselves, as in previous work. We claim that this is the appropriate level of analysis based on how such data structures are used in practice, and also that such a study is required due to concern that coarse-grained analysis leads to false coupling. We find that, for this case study, the granularity does not have a decisive effect on the results. In particular, our results for coupling based on individual fields are similar in spirit to the results reported previously (by others) based on using complete data structures. In both cases, the coupling indicates that the system kernel is vulnerable to modifications in peripheral modules of the system.
机译:通用耦合(跨模块共享全局变量)已被广泛接受,作为衡量软件质量和可维护性的一种标准。为了确保可维护性,低水平的公共耦合是必要的(但不足)。但是,当所讨论的全局变量是大型的多字段数据结构时,必须决定是将此类数据结构视为单个单元,还是单独检查其每个字段。我们通过重新分析基于Linux操作系统的案例研究来探讨此问题。我们在大型,复杂数据结构的组件字段的粒度级别上确定公共耦合,而不是像以前的工作一样在数据结构本身的级别上确定公共耦合。我们声称这是基于实际使用这种数据结构的方式进行的适当分析,并且由于担心粗粒度分析会导致错误的耦合,因此需要进行此类研究。我们发现,对于此案例研究,粒度对结果没有决定性影响。特别是,我们基于单个字段进行耦合的结果在本质上与以前(由他人)基于使用完整数据结构报告的结果类似。在两种情况下,耦合都表明系统内核易受系统外围模块修改的影响。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号