异常处理是一个可重用的方面吗?

Adauto Almeida, E. Barreiros, Juliana Saraiva, F. C. Filho, S. Soares
{"title":"异常处理是一个可重用的方面吗?","authors":"Adauto Almeida, E. Barreiros, Juliana Saraiva, F. C. Filho, S. Soares","doi":"10.1109/SBCARS.2014.17","DOIUrl":null,"url":null,"abstract":"A number of studies have evaluated the impact of modularizing the exception handling concern using aspect-oriented programming (AOP). Even though some of these studies have claimed that reuse through AOP is possible and advantageous in some cases, they have not focused specifically on reuse, often using the overall number of lines of code as a proxy for it. This has produced often contradictory results that are difficult to understand and extrapolate. In this paper we describe a study whose goal is to answer the question in the title of the paper. We have extracted exception handlers from 10 distinct applications to AspectJ aspects and, whenever possible, reused the handlers that were duplicated throughout each application. We have also collected a number of metrics from these systems and analyzed whether there is a relationship between the exception handling strategies that an application employs and the extent to which handlers implementing them are reusable. We discuss some scenarios and complicating factors related to reuse and present solutions that we have found to circumvent these complications. We also analyze limitations of current AspectJ constructs.","PeriodicalId":148912,"journal":{"name":"2014 Eighth Brazilian Symposium on Software Components, Architectures and Reuse","volume":"92 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2014-09-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":"{\"title\":\"Is Exception Handling a Reusable Aspect?\",\"authors\":\"Adauto Almeida, E. Barreiros, Juliana Saraiva, F. C. Filho, S. Soares\",\"doi\":\"10.1109/SBCARS.2014.17\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"A number of studies have evaluated the impact of modularizing the exception handling concern using aspect-oriented programming (AOP). Even though some of these studies have claimed that reuse through AOP is possible and advantageous in some cases, they have not focused specifically on reuse, often using the overall number of lines of code as a proxy for it. This has produced often contradictory results that are difficult to understand and extrapolate. In this paper we describe a study whose goal is to answer the question in the title of the paper. We have extracted exception handlers from 10 distinct applications to AspectJ aspects and, whenever possible, reused the handlers that were duplicated throughout each application. We have also collected a number of metrics from these systems and analyzed whether there is a relationship between the exception handling strategies that an application employs and the extent to which handlers implementing them are reusable. We discuss some scenarios and complicating factors related to reuse and present solutions that we have found to circumvent these complications. We also analyze limitations of current AspectJ constructs.\",\"PeriodicalId\":148912,\"journal\":{\"name\":\"2014 Eighth Brazilian Symposium on Software Components, Architectures and Reuse\",\"volume\":\"92 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2014-09-29\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"2\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2014 Eighth Brazilian Symposium on Software Components, Architectures and Reuse\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/SBCARS.2014.17\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2014 Eighth Brazilian Symposium on Software Components, Architectures and Reuse","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/SBCARS.2014.17","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

摘要

许多研究已经评估了使用面向方面编程(AOP)模块化异常处理关注点的影响。尽管其中一些研究声称通过AOP进行重用在某些情况下是可能的和有利的,但它们并没有特别关注重用,而是经常使用代码的总行数作为它的代理。这往往产生了相互矛盾的结果,难以理解和推断。在本文中,我们描述了一项研究,其目的是回答论文标题中的问题。我们已经从10个不同的应用程序中提取了异常处理程序到AspectJ方面,并且只要有可能,重用了在每个应用程序中重复的处理程序。我们还从这些系统中收集了许多指标,并分析了应用程序采用的异常处理策略与实现这些策略的处理程序可重用的程度之间是否存在关系。我们将讨论与重用相关的一些场景和复杂因素,并介绍我们发现的解决方案,以避免这些复杂因素。我们还分析了当前AspectJ构造的局限性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
Is Exception Handling a Reusable Aspect?
A number of studies have evaluated the impact of modularizing the exception handling concern using aspect-oriented programming (AOP). Even though some of these studies have claimed that reuse through AOP is possible and advantageous in some cases, they have not focused specifically on reuse, often using the overall number of lines of code as a proxy for it. This has produced often contradictory results that are difficult to understand and extrapolate. In this paper we describe a study whose goal is to answer the question in the title of the paper. We have extracted exception handlers from 10 distinct applications to AspectJ aspects and, whenever possible, reused the handlers that were duplicated throughout each application. We have also collected a number of metrics from these systems and analyzed whether there is a relationship between the exception handling strategies that an application employs and the extent to which handlers implementing them are reusable. We discuss some scenarios and complicating factors related to reuse and present solutions that we have found to circumvent these complications. We also analyze limitations of current AspectJ constructs.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Is Exception Handling a Reusable Aspect? An Approach for Managing Quality Attributes at Runtime Using Feature Models Reference Architectures for Self-Managed Software Systems: A Systematic Literature Review Domain Engineering: A Practical Application in Analysis and Design of a Generative Query Language How to Describe SPL Variabilities in Textual Use Cases: A Systematic Mapping Study
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1