天堂国产午夜亚洲专区-少妇人妻综合久久蜜臀-国产成人户外露出视频在线-国产91传媒一区二区三区

當前位置:主頁 > 科技論文 > 軟件論文 >

Java類和包的易替換性度量與影響因素分析

發(fā)布時間:2018-04-05 18:51

  本文選題:類的易替換性 切入點:包的易替換性 出處:《電子學報》2017年09期


【摘要】:按照ISO25010標準中代碼易替換性定性描述,人們很難從被替換軟件產(chǎn)品的代碼出發(fā),定量地刻畫其易替換性.為了自動化地度量代碼的易替換性,本文充分考慮Java類/包的耦合關系和本身的復雜度,定義了一個類/包的易替換性度量公式.然后,在100個開源項目上進行實驗,結果表明:(1)不同構造型的類的易替換性差異較大,其差異性與類承擔的交互職責的多少有關;(2)包的易替換性與包中類個數(shù)沒有顯著的線性相關性;(3)與按層次劃分的包相比,按功能特性劃分的包具有更高的易替換性.從代碼易替換性角度來看,在設計類和包時,本文的經(jīng)驗研究為開發(fā)者提供了有益的建議.
[Abstract]:According to the qualitative description of code substitutability in ISO25010 standard, it is difficult to quantitatively describe the substitutability from the code of replaced software products.In order to automatically measure the substitutability of code, this paper fully considers the coupling relation of Java class / package and its complexity, and defines a measure formula of class / package's substitutability.Then, on 100 open source projects, the results show that there are significant differences in the substitutability of different stereotype classes.The difference is related to the number of interaction duties undertaken by classes, which is related to the substitutability of packets and the fact that there is no significant linear correlation between the number of classes in the packets and the number of classes in the packets. Compared with the packets divided by hierarchy, the packets classified by their functional characteristics have higher substitutability.From the point of view of code substitutability, the empirical study of this paper provides useful suggestions for developers when designing classes and packages.
【作者單位】: 東南大學計算機科學與工程學院;
【基金】:國家自然科學基金(No.61572126,No.61402103) 華為技術有限公司項目(No.YBN2016020009)
【分類號】:TP312.2

【相似文獻】

相關期刊論文 前2條

1 蔡家楣;;基于元設計模式的構造型說明語義[J];計算機科學;2004年08期

2 張賢驥;王倫文;;基于構造型神經(jīng)網(wǎng)絡的異常模式發(fā)現(xiàn)方法[J];計算機科學;2014年07期

,

本文編號:1716015

資料下載
論文發(fā)表

本文鏈接:http://www.sikaile.net/kejilunwen/ruanjiangongchenglunwen/1716015.html


Copyright(c)文論論文網(wǎng)All Rights Reserved | 網(wǎng)站地圖 |

版權申明:資料由用戶e7a31***提供,本站僅收錄摘要或目錄,作者需要刪除請E-mail郵箱bigeng88@qq.com