Results 1 -
3 of
3
3 1Metamorphic Testing: A Literature Review
, 2015
"... Copyright c©2015 by ISA Research Group. Permission to reproduce this document and to prepare derivative works from this docu-ment for internal use is granted, provided the copyright and ’No Warranty ’ statements are included with all reproductions and derivative works. ..."
Abstract
- Add to MetaCart
(Show Context)
Copyright c©2015 by ISA Research Group. Permission to reproduce this document and to prepare derivative works from this docu-ment for internal use is granted, provided the copyright and ’No Warranty ’ statements are included with all reproductions and derivative works.
A Genetic Algorithm for Detecting Significant Floating-Point Inaccuracies
"... Abstract—It is well-known that using floating-point numbers may inevitably result in inaccurate results and sometimes even cause serious software failures. Safety-critical software often has strict requirements on the upper bound of inaccuracy, and a crucial task in testing is to check whether signi ..."
Abstract
- Add to MetaCart
(Show Context)
Abstract—It is well-known that using floating-point numbers may inevitably result in inaccurate results and sometimes even cause serious software failures. Safety-critical software often has strict requirements on the upper bound of inaccuracy, and a crucial task in testing is to check whether significant inaccuracies may be produced. The main existing approach to the floating-point inaccuracy problem is error analysis, which produces an upper bound of inaccuracies that may occur. However, a high upper bound does not guarantee the existence of inaccuracy defects, nor does it give developers any concrete test inputs for debugging. In this paper, we propose the first metaheuristic search-based approach to automatically generating test inputs that aim to trigger significant inaccuracies in floating-point programs. Our approach is based on the following two insights: (1) with FPDebug, a recently proposed dynamic analysis approach, we can build a reliable fitness function to guide the search; (2) two main factors — the scales of exponents and the bit formations of significands — may have significant impact on the accuracy of the output, but in largely different ways. We have implemented and evaluated our approach over 154 real-world floating-point functions. The results show that our approach can detect significant inaccuracies in the subjects. I.
A Genetic Algorithm for Detecting Significant Floating-Point Inaccuracies
"... Abstract—It is well-known that using floating-point numbers may inevitably result in inaccurate results and sometimes even cause serious software failures. Safety-critical software often has strict requirements on the upper bound of inaccuracy, and a crucial task in testing is to check whether signi ..."
Abstract
- Add to MetaCart
(Show Context)
Abstract—It is well-known that using floating-point numbers may inevitably result in inaccurate results and sometimes even cause serious software failures. Safety-critical software often has strict requirements on the upper bound of inaccuracy, and a crucial task in testing is to check whether significant inaccuracies may be produced. The main existing approach to the floating-point inaccuracy problem is error analysis, which produces an upper bound of inaccuracies that may occur. However, a high upper bound does not guarantee the existence of inaccuracy defects, nor does it give developers any concrete test inputs for debugging. In this paper, we propose the first metaheuristic search-based approach to automatically generating test inputs that aim to trigger significant inaccuracies in floating-point programs. Our approach is based on the following two insights: (1) with FPDebug, a recently proposed dynamic analysis approach, we can build a reliable fitness function to guide the search; (2) two main factors — the scales of exponents and the bit formations of significands — may have significant impact on the accuracy of the output, but in largely different ways. We have implemented and evaluated our approach over 154 real-world floating-point functions. The results show that our approach can detect significant inaccuracies in the subjects. I.