国产欧美精品一区二区,中文字幕专区在线亚洲,国产精品美女网站在线观看,艾秋果冻传媒2021精品,在线免费一区二区,久久久久久青草大香综合精品,日韩美aaa特级毛片,欧美成人精品午夜免费影视

單元自動(dòng)化測試中類(lèi)的抽象內存模型研究
DOI:
CSTR:
作者:
作者單位:

北京郵電大學(xué)網(wǎng)絡(luò )與交換技術(shù)國家重點(diǎn)實(shí)驗室

作者簡(jiǎn)介:

通訊作者:

中圖分類(lèi)號:

基金項目:

國家自然科學(xué)基金(U1736110)


Research on Abstract Memory Model of Classes in Automated Unit Testing
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 圖/表
  • |
  • 訪(fǎng)問(wèn)統計
  • |
  • 參考文獻
  • |
  • 相似文獻
  • |
  • 引證文獻
  • |
  • 資源附件
  • |
  • 文章評論
    摘要:

    由于面向對象程序具有多態(tài)性等復雜特性,在軟件單元測試中僅憑靜態(tài)分析難以判斷指針和引用指向對象的具體類(lèi)型,為了解決這一問(wèn)題,對類(lèi)的抽象內存模型進(jìn)行研究,并提出類(lèi)的操作語(yǔ)義模擬算法。在路徑分析時(shí),通過(guò)構建和更新抽象內存模型,從而對變量所屬類(lèi)的范圍進(jìn)行限定。對于單元測試,對基于輸入域的隨機測試進(jìn)行優(yōu)化,提出基于路徑的隨機測試方法,得到輸入變量的類(lèi)型集合。實(shí)驗表明,類(lèi)的抽象內存模型結合操作語(yǔ)義模擬算法能夠有效提取出路徑中類(lèi)相關(guān)的約束,基于路徑的隨機測試方法比起基于輸入域的隨機測試方法能夠明顯提高測試效率。

    Abstract:

    Due to the polymorphism and other complex characteristics of object-oriented programs, it is difficult to judge the specific types of objects pointed by pointers and references only by static analysis in software unit testing. In order to solve this problem, the abstract memory model of classes is studied, and an operation semantic simulation algorithm of classes is proposed. During path analysis, the scope of the class to which the variable belongs is limited by constructing and updating the abstract memory model. For unit testing, the random testing based on input domain is optimized, and a path based random testing method is proposed to obtain the type set of input variables. Experiments show that the abstract memory model of classes combined with the operation semantic simulation algorithm can effectively extract the constraints related to classes in the path, and the path based random test method can significantly improve the efficiency of testing compared with the input domain based random test method.

    參考文獻
    相似文獻
    引證文獻
引用本文

杜婉瑩,王雅文.單元自動(dòng)化測試中類(lèi)的抽象內存模型研究計算機測量與控制[J].,2022,30(2):84-94.

復制
分享
文章指標
  • 點(diǎn)擊次數:
  • 下載次數:
  • HTML閱讀次數:
  • 引用次數:
歷史
  • 收稿日期:2021-11-23
  • 最后修改日期:2021-12-21
  • 錄用日期:2021-12-31
  • 在線(xiàn)發(fā)布日期: 2022-02-22
  • 出版日期:
文章二維碼
海兴县| 金坛市| 清丰县| 上杭县| 威信县| 渝北区| 凉城县| 浠水县| 湖北省| 永川市| 石阡县| 灵宝市| 靖安县| 呼图壁县| 资阳市| 常山县| 炉霍县| 吉林省| 新建县| 耒阳市| 泊头市| 旌德县| 林州市| 长沙县| 蓝山县| 沂源县| 扎兰屯市| 丰镇市| 天津市| 易门县| 喀喇沁旗| 沁阳市| 桂东县| 滁州市| 扶绥县| 门源| 宜兴市| 巴彦淖尔市| 大荔县| 锡林郭勒盟| 肥城市|