Machine-Learning Aided Analysis of Clone Evolution

来源 :Chinese Journal of Electronics | 被引量 : 0次 | 上传用户:spcheng
下载到本地 , 更方便阅读
声明 : 本文档内容版权归属内容提供方 , 如果您对本文有版权争议 , 可与客服联系进行内容授权或下架
论文部分内容阅读
Code clones are similar code fragments appearing in software. As software evolves, code clones may be subjected to changes as well; we term this clone evolution. There have not been many investigations into clone evolution characteristics. Therefore, we tackle this by exploring useful information associated with changes of clones during evolution. We focus on three perspectives of clone evolution, ranging from individual clone changes to characterization of clone genealogies. With the help Xmeans clustering, we establish associations between clone changes and life of clones. Our experimental results on two softwares show that clones are mostly stable throughout software evolution. For the relatively smaller group of “unstable” clones, changes usually happen after several versions, and consistent changes appear more frequently than inconsistent ones. We suggest that developers should pay more attention to relatively longer genealogies, and should consider applying changes consistently to clone group when a constituent clone fragment has undergone change. There are not many searched into clone evolution characteristics. Therefore, we tackle this by exploring useful information. [Edit] Code clones are similar code fragments appearing in software. associated with changes of clones during evolution. We focus on three perspectives of clone evolution, ranging from individual clone changes to characterization of clone genealogies. With the help of Xmeans clustering, we establish associations between clone changes and life of clones. Our experimental results on two softwares show that clones are mostly stable throughout software evolution. For the relatively smaller group of “unstable ” clones, changes usually happen after several versions, and consistent changes appear more frequently than inconsistent ones. We suggest that developers should pay more attention to more longer genealogies, and should consider applying changes consistently to clone group when a formed clone fragment has undergone change.
其他文献
该文从挂篮荷载计算、施工流程、支座及临时固结施工、挂篮安装及试验、合拢段施工、模板制作安装、钢筋安装、混凝土的浇筑及养生、测量监控等方面人手,介绍了S226海滨大桥
期刊
研究高游离脂肪酸(FFA)血症所致大鼠机体氧化应激及胰岛素抵抗之间的相互关系,以及其对机体抗氧化能力的影响,探讨胰岛素抵抗的病理生理机制.经研究证实大鼠高FFA血症不仅使组织活性氧簇生成增加[(886±105 vs 427±42)mmol/L,P<0.05],同时损伤机体抗氧化能力,细胞内还原捌谷胱甘肽生成减少[(272±47 vs 561±36)μmol/L,P<0.05],导致氧化应激,从而促
煤层气是近年来在国际上迅速兴起的一种新型优质洁净的能源和化工原料,开发利用这种能源能降低温室气体排放,减少煤矿瓦斯事故的发生,提高煤矿井下安全生产水平,具有广阔的发
Existing decompilers use rule-based algorithms to transform unstructured Control flow graph(CFG) into equivalent high-level programming language constructs with
该文从挂篮荷载计算、施工流程、支座及临时固结施工、挂篮安装及试验、合拢段施工、模板制作安装、钢筋安装、混凝土的浇筑及养生、测量监控等方面人手,介绍了S226海滨大桥
期刊
目的 探讨HBV感染人近端肾小管上皮细胞系HK-2后对其表达Toll样受体4(TLR4)的影响,并观察TLR4抗HBV感染的生物学作用。方法 收集HBVDNA拷贝在107~108/ml的患者血清,通过显微镜及免疫荧光法观察HBV阳性血清感染HK-2前、后细胞形态及α抗平滑肌抗体(α-SMA)的变化,应用MTT法检测不同浓度TLR4刺激因子(LPS)及TLR4抑制因子(CLI-095)对HK-2细胞
期刊
在进行重复频率脉冲下气体绝缘放电试验过程中,高压纳秒级的脉冲电压及电流信号的测量是分析气体绝缘特性的关键之一,同时重复频率下击穿所需时间也值得关注.利用TDS684A和TD
To solve the task of detecting and recounting events in videos with limited training examples, we propose a novel two-stage hybrid concept temporal pooling approach that is aware of potential concept
该文从挂篮荷载计算、施工流程、支座及临时固结施工、挂篮安装及试验、合拢段施工、模板制作安装、钢筋安装、混凝土的浇筑及养生、测量监控等方面人手,介绍了S226海滨大桥
期刊