,An oversampling approach for mining program specifications

来源 :信息与电子工程前沿(英文版) | 被引量 : 0次 | 上传用户:chaowei619
下载到本地 , 更方便阅读
声明 : 本文档内容版权归属内容提供方 , 如果您对本文有版权争议 , 可与客服联系进行内容授权或下架
论文部分内容阅读
Automatic protocol mining is a promising approach for inferring accurate and complete API protocols.However,just as with any data-mining technique,this approach requires sufficient training data (object usage scenarios).Existing approaches resolve the problem by analyzing more programs,which may cause significant runtime overhead.In this paper,we propose an inheritance-based oversampling approach for object usage scenarios (OUSs).Our technique is based on the inheritance relationship in object-oriented programs.Given an object-oriented programp,generally,the OUSs that can be collected from a run ofp are not more than the objects used during the run.With our technique,a maximum of n times more OUSs can be achieved,where n is the average number of super-classes of all general OUSs.To investigate the effect of our technique,we implement it in our previous prototype tool,ISpecMiner,and use the tool to mine protocols from several real-world programs.Experimental results show that our technique can collect 1.95 times more OUSs than general approaches.Additionally,accurate and complete API protocols are more likely to be achieved.Furthermore,our technique can mine API protocols for classes never even used in programs,which are valuable for validating software architectures,program documentation,and understanding.Although our technique will introduce some runtime overhead,it is trivial and acceptable.
其他文献
We propose a nonvolatile resistive random access memory device by employing nanodispersion of zirconia (ZrOz) quantum dots (QDs) for the formation of an active
植物病害一直是限制作物高产、稳产的重要因素之一。长期以来,化学农药在病害防治中起到了关键的作用,但随着人们对环境问题的逐渐重视,可以减少或部分替代化学制剂的生防制
Driven by the huge demand to explore oceans,underwater wireless communications have been rapidly developed in the past few decades.Due to the complex physical c
随着我国社会经济发展和居民生活水平的提高,优质稻米的需求和消费量与日俱增。稻米品质的遗传改良和栽培调优已成为当前我国稻作科学研究的热点。本研究以粳稻品种越光(Koshihikari)作为供体亲本,籼稻品种9311(扬稻6号)作为受体亲本,结合分子标记辅助选择构建置换片段能覆盖水稻全基因组的染色体片段置换系。以此开展稻米品质性状尤其是蒸煮食味品质性状的QTL定位研究。主要结果如下:1)参照已发表的S
该文以代表山西不同生态类型的种质资源为材料,从农艺性状、细胞水平、生化遗传水平三个方面对山西不同进化类型间以及栽培种品种间大豆的遗传分化进行了初步研究.结果表明:对
<正>2015年,VC/PE行业整体回暖,投资金额和案例数均远超2014年全年总量,市场活跃度已创新高。据清科研究中心统计,2015年前11月,VC/PE市场共发生5682起投资案例,披露的总投资
With the goal of achieving high stability and reliability to support underwater point-to-point communications and code division multiple access (CDMA) based und
本文利用明恢63与D297A建成的近等基因系对D型杂交水稻恢复系主效恢复基因进行了的研究,其主要结果如下: 1.主效恢复基因的剖分及验证 利用不育系D297A与恢复系明恢63杂种F2代与不育系D297A连续回交,再经测交筛选法并结合分子标记辅助选择将明恢63的主效恢复基因剖分到D297A的近等基因系818中,该近等基因系与D297A侧交分离比例为1:1而遗传背与297A相似(SSR差异
该系统以农三师45团为研究对象,在土壤和植株养分测试结合肥料试验的基础上研制开发而成,研究内容较为新颖,生产实用性较强,推荐效果良好.棉花平衡施肥宏观决策意见对于合理