国产欧美精品一区二区,中文字幕专区在线亚洲,国产精品美女网站在线观看,艾秋果冻传媒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
  • 出版日期:
文章二維碼
内乡县| 资中县| 京山县| 老河口市| 宣恩县| 淮安市| 北川| 保靖县| 义乌市| 贵港市| 霍山县| 北海市| 怀化市| 阜南县| 介休市| 连云港市| 新河县| 栾城县| 雷州市| 乌拉特前旗| 普洱| 凤阳县| 尼勒克县| 泰宁县| 白玉县| 繁峙县| 彰化市| 黄大仙区| 浪卡子县| 电白县| 尤溪县| 理塘县| 镇平县| 普陀区| 民勤县| 焦作市| 灵寿县| 平陆县| 闵行区| 永平县| 太谷县|