Aspect-oriented modularization of assertion crosscutting objects

Aspect-oriented modularization of assertion crosscutting objects
复制标题

断言横切对象的面向方面模块化

DOI:
10.1109/apsec.2005.43
复制
发表时间:
2005
期刊:
12th Asia-Pacific Software Engineering Conference (APSEC'05)
影响因子:
--
通讯作者:
Toshihiro Kamiya
Toshihiro Kamiya
中科院分区:
--
文献类型:
--
作者:
T. Ishio;S. Kusumoto;Katsuro Inoue;Toshihiro Kamiya

文献摘要

参考文献

被引文献

相似文献

断言检查是在调试,测试和维护过程中检测软件故障的强大工具。尽管断言记录了一个组件的行为,但由于这种断言语句分布在模块中,因此很难记录几个对象之间的关系和相互作用。因此,我们建议将这种主张作为一个方面进行模块化,以提高软件可维护性。在本文中,以观察者模式为例,我们指出,某些断言往往是在横切,并提出了以方面的语言对这种断言的模块化。我们通过案例研究展示了断言方面的传统主张和有效性的局限性,并讨论了对主张方面适用的各种情况。
Assertion checking is a powerful tool to detect software faults during debugging, testing and maintenance. Although assertion documents the behavior of one component, it is hard to document relations and interactions among several objects since such assertion statements are spread across the modules. Therefore, we propose to modularize such assertion as an aspect in order to improve software maintainability. In this paper, taking Observer pattern as an example, we point out that some assertions tend to be crosscutting, and propose a modularization of such assertion with aspect-oriented language. We show a limitation of traditional assertion and effectiveness of assertion aspect through the case study, and discuss various situations to which assertion aspects are applicable.
DOI: 10.1007/bfb0053381
发表时间: 1997-01-01
期刊: ECOOP'97: OBJECT-ORIENTED PROGRAMMING
影响因子: --
作者:
Kiczales, G;Lamping, J;Irwin, J
通讯作者: Irwin, J
DOI: --
发表时间: 2005
期刊: International Conference on Software Engineering
影响因子: --
作者:
Takako Nakatani;Masaaki Hashimoto;et al.;Kiyoshi Yamada
通讯作者: Kiyoshi Yamada
Moxa:一种面向方面的行为接口规范语言
DOI: --
发表时间: 2005
期刊: IPSJ Transactions on Programming(in Japanese) Vol.46, No.PRO46(in press)
影响因子: --
作者:
Kiyoshi Yamada;Takuo Watanabe
通讯作者: Takuo Watanabe