Cardinality of UDP Transmission Outcomes
Cardinality of UDP Transmission Outcomes
复制标题
UDP 传输结果的基数
DOI:
10.1007/978-3-319-25942-0_8
复制
发表时间:
2015
期刊:
影响因子:
--
通讯作者:
Mitsuharu Yamamoto
中科院分区:
文献类型:
--
作者:
Franz Weitl;Nazim Sebih;Cyrille Artho;Masami Hagiya;Yoshinori Tanabe;Yoriyuki Yamagata;Mitsuharu Yamamoto
This paper examines the cost of testing network applications using the User Datagram Protocol (UDP). Such applications must deal with packet loss, duplication, and reordering. Ideally, a UDP application should be tested against all possible outcomes of unreliable UDP transmissions. Their number, however, grows at least exponentially in the number of transmitted packets.To estimate the cost of the exhaustive testing of UDP applications, we determine the number of UDP transmission outcomes analytically. Based on this combinatorial analysis, we derive a sound, complete, and optimal algorithm for generating outcomes of unreliable UDP transmissions. The algorithm is implemented in the net-iocache extension of the software model checker Java Pathfinder (JPF).Experimental results confirm the consistency of the implementation with the analytical results. In addition, we found that JPF’s state matching reduces the explored state space significantly and ensures the practicability of the approach despite of its exponential complexity.