What Code Implements Such Service? A Behavior Model Based Feature Location Approach

Guangtai Liang, Yabin Dang, Hao Chen, Lijun Mei, Shaochun Li, Yi-Min Chee
{"title":"What Code Implements Such Service? A Behavior Model Based Feature Location Approach","authors":"Guangtai Liang, Yabin Dang, Hao Chen, Lijun Mei, Shaochun Li, Yi-Min Chee","doi":"10.1109/SCC.2016.23","DOIUrl":null,"url":null,"abstract":"Enterprises today are keen to unlock new business values of their legacy services towards new trends (e.g., cloud and mobile). To accelerate such process, automatic feature location techniques can enable developers to rapidly locate/understand implementations of certain services (e.g., services to expose, transform or improve). Existing feature location techniques [1-3, 5-10, 32] provide a good foundation but have several key limitations: limited leverage of description sources, less considerations of internal behaviors, and ineffectiveness for the identification of service-relevant code entries. To address these limitations, we propose a behavior model based feature location approach and implement a tool named BMLocator. In the offline phase, BMLocator applies Natural Language Processing (NLP) techniques and static code analysis to extract “behavior models” of code units via considering multiple information sources. While in the online phase, given a service description, BMLocator first extracts its behavior model and then recommends service-relevant code units/entries by matching its behavior model with code units under analysis. Through evaluations with public service requests of open-source projects (e.g., Tomcat and Hadoop), we show that the approach is more effective in recommending service-relevant code entries (e.g., most of entries are prioritized as the first ones) than existing techniques (i.e., TopicXP[37], CVSSearch[6]).","PeriodicalId":115693,"journal":{"name":"2016 IEEE International Conference on Services Computing (SCC)","volume":"4 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2016-06-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2016 IEEE International Conference on Services Computing (SCC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/SCC.2016.23","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Enterprises today are keen to unlock new business values of their legacy services towards new trends (e.g., cloud and mobile). To accelerate such process, automatic feature location techniques can enable developers to rapidly locate/understand implementations of certain services (e.g., services to expose, transform or improve). Existing feature location techniques [1-3, 5-10, 32] provide a good foundation but have several key limitations: limited leverage of description sources, less considerations of internal behaviors, and ineffectiveness for the identification of service-relevant code entries. To address these limitations, we propose a behavior model based feature location approach and implement a tool named BMLocator. In the offline phase, BMLocator applies Natural Language Processing (NLP) techniques and static code analysis to extract “behavior models” of code units via considering multiple information sources. While in the online phase, given a service description, BMLocator first extracts its behavior model and then recommends service-relevant code units/entries by matching its behavior model with code units under analysis. Through evaluations with public service requests of open-source projects (e.g., Tomcat and Hadoop), we show that the approach is more effective in recommending service-relevant code entries (e.g., most of entries are prioritized as the first ones) than existing techniques (i.e., TopicXP[37], CVSSearch[6]).
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
什么代码实现这样的服务?基于行为模型的特征定位方法
今天的企业热衷于将其遗留服务的新业务价值释放给新的趋势(例如,云和移动)。为了加速这一过程,自动特性定位技术可以使开发人员快速定位/理解某些服务的实现(例如,要公开、转换或改进的服务)。现有的特征定位技术[1- 3,5 - 10,32]提供了一个良好的基础,但有几个关键的局限性:对描述源的利用有限,对内部行为的考虑较少,以及对服务相关代码条目的识别无效。为了解决这些限制,我们提出了一种基于行为模型的特征定位方法,并实现了一个名为BMLocator的工具。在离线阶段,BMLocator应用自然语言处理(NLP)技术和静态代码分析,通过考虑多个信息源,提取代码单元的“行为模型”。在联机阶段,给定一个服务描述,BMLocator首先提取其行为模型,然后通过将其行为模型与正在分析的代码单元相匹配,推荐与服务相关的代码单元/条目。通过对开源项目(例如Tomcat和Hadoop)的公共服务请求的评估,我们表明该方法在推荐与服务相关的代码条目(例如,大多数条目被优先考虑为第一个)方面比现有技术(例如,TopicXP[37], CVSSearch[6])更有效。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Implementing the Required Degree of Multitenancy Isolation: A Case Study of Cloud-Hosted Bug Tracking System Complexity Reduction: Local Activity Ranking by Resource Entropy for QoS-Aware Cloud Scheduling An Elasticity-Aware Governance Platform for Cloud Service Delivery An Approach for Modeling and Ranking Node-Level Stragglers in Cloud Datacenters Dynamic Selection for Service Composition Based on Temporal and QoS Constraints
×
引用
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