Interpolated N-Grams for Model Based Testing

被引:16
|
作者
Tonella, Paolo [1 ]
Tiella, Roberto [1 ]
Cu Duy Nguyen [2 ]
机构
[1] Fdn Bruno Kessler, Trento, Italy
[2] Univ Luxembourg, Luxembourg, Luxembourg
关键词
Model based testing; test case generation; N-gram statistics;
D O I
10.1145/2568225.2568242
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Models - in particular finite state machine models - provide an invaluable source of information for the derivation of effective test cases. However, models usually approximate part of the program semantics and capture only some of the relevant dependencies and constraints. As a consequence, some of the test cases that are derived from models are infeasible. In this paper, we propose a method, based on the computation of the N-gram statistics, to increase the likelihood of deriving feasible test cases from a model. Correspondingly, the level of model coverage is also expected to increase, because infeasible test cases do not contribute to coverage. While N-grams do improve existing test case derivation methods, they show limitations when the N-gram statistics is incomplete, which is expected to necessarily occur as N increases. Interpolated N-grams overcome such limitation and show the highest performance of all test case derivation methods compared in this work.
引用
收藏
页码:562 / 572
页数:11
相关论文
共 50 条
  • [21] Malware Detection and Classification Based on n-grams Attribute Similarity
    Zhang Fuyong
    Zhao Tiezhou
    [J]. 2017 IEEE INTERNATIONAL CONFERENCE ON COMPUTATIONAL SCIENCE AND ENGINEERING (CSE) AND IEEE/IFIP INTERNATIONAL CONFERENCE ON EMBEDDED AND UBIQUITOUS COMPUTING (EUC), VOL 1, 2017, : 793 - 796
  • [22] Implicit N-grams Induced by Recurrence
    Sun, Xiaobing
    Lu, Wei
    [J]. NAACL 2022: THE 2022 CONFERENCE OF THE NORTH AMERICAN CHAPTER OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS: HUMAN LANGUAGE TECHNOLOGIES, 2022, : 1624 - 1639
  • [23] Anatomy of Building Marathi N-Grams
    Gajendragadkar, Uma
    Joshi, Sarang
    [J]. 2016 INTERNATIONAL CONFERENCE ON COMPUTING, ANALYTICS AND SECURITY TRENDS (CAST), 2016, : 362 - 365
  • [24] Variable word rate n-grams
    Gotoh, Y
    Renals, S
    [J]. 2000 IEEE INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH, AND SIGNAL PROCESSING, PROCEEDINGS, VOLS I-VI, 2000, : 1591 - 1594
  • [25] Anomaly Detection for Automotive Diagnostic Applications based on N-grams
    Rumez, Marcel
    Lin, Jinghua
    FuchB, Thomas
    Kriesten, Reiner
    Sax, Eric
    [J]. 2020 IEEE 44TH ANNUAL COMPUTERS, SOFTWARE, AND APPLICATIONS CONFERENCE (COMPSAC 2020), 2020, : 1423 - 1429
  • [26] N-grams Based Features for Indonesian Tweets Classification Problems
    Abidin, Taufik Fuadi
    Hasanuddin, Mauliana
    Mutiawani, Viska
    [J]. 2017 INTERNATIONAL CONFERENCE ON ELECTRICAL ENGINEERING AND INFORMATICS (ICELTICS), 2017, : 307 - 310
  • [27] Chunked N-Grams for Sentence Validation
    Jain, Kush
    Khatri, Priya
    Indolia, Garima
    [J]. 3RD INTERNATIONAL CONFERENCE ON RECENT TRENDS IN COMPUTING 2015 (ICRTC-2015), 2015, 57 : 209 - 213
  • [28] Recursive hashing functions for n-grams
    Cohen, JD
    [J]. ACM TRANSACTIONS ON INFORMATION SYSTEMS, 1997, 15 (03) : 291 - 320
  • [29] Improvement of Imperfect String Matching Based on Asymmetric n-Grams
    Szymanski, Julian
    Boinski, Tomasz
    [J]. COMPUTATIONAL COLLECTIVE INTELLIGENCE: TECHNOLOGIES AND APPLICATIONS, 2013, 8083 : 306 - 315
  • [30] Corpus-Based Arabic Stemming Using N-Grams
    Zitouni, Abdelaziz
    Damankesh, Asma
    Barakati, Foroogh
    Atari, Maha
    Watfa, Mohamed
    Oroumchian, Farhad
    [J]. INFORMATION RETRIEVAL TECHNOLOGY, 2010, 6458 : 280 - 289