Using Squeeziness to test from Finite State Machines
Abstract
Squeeziness is an information theoretic measure designed to quantify the likelihood of a form of fault masking called failed error propagation. It has been shown that Squeeziness correlates strongly with failed error propagation in white-box scenarios. In this thesis, we adapt Squeeziness to a black-box scenario and show how it can be used to estimate the likelihood of failed error propagation.
Full text
Using Squeeziness to test from Finite State Machines Trabajo de fin de grado del Doble Grado en Ingeniería Informática - Matemáticas Alfredo Ibias Martínez Departamento de Sistemas Informáticos y Computación Facultad de Informática Universidad Complutense de Madrid 2017 - 2018
Document layout with T EXiS v.1.0+. This document is prepared to be printed double-sided.
Using Squeeziness to test from Finite State Machines Trabajo de fin de grado Doble Grado en Ingeniería Informática - Matemáticas Universidad Complutense de Madrid Directed by Manuel Núñez García Departamento de Sistemas Informáticos y Computación Facultad de Informática Universidad Complutense de Madrid 2017 - 2018
Copyright c Alfredo Ibias Martínez
v To my family and my supervisor, for their invaluable help.
Acknowledgements If I have seen further it is by standing on the shoulders of Giants. Isaac Newton I would like to thank my thesis supervisor for his invaluable help and advice and for all the work he did to help me during this thesis. I would also like to thank Professor Robert M. Hierons for his support and his revisions of the work. Finally, I would like to thank my family for his moral and economical support. vii
Abstract The art and science of asking questions is the source of all knowledge. Thomas Berger Squeeziness is an information theoretic measure designed to quantify the likelihood of a form of fault masking called failed error propagation. It has been shown that Squeeziness correlates strongly with failed error propagation in white-box scenarios. In this thesis, we adapt Squeeziness to a black-box scenario and show how it can be used to estimate the likelihood of failed error propagation. Key Words: Squeeziness, Failed Error Propagation (FEP), Fault Masking, Testing, Correction, Black-box, Finite State Machine (FSM), Information Theory. ix
List of Tables 4.1 Table with some results from the first experiment. . . . . . . 28 4.2 Table with some results from the second experiment. . . . . . 29 4.3 Table with some results from the third experiment. . . . . . . 30 4.4 Table with the most interesting results from the scope experiment. 33 A.1 Table with the first part of the results from the simulation. . 42 A.2 Table with the second part of the results from the simulation. 43 A.3 Table with the third part of the results from the simulation. . 44 A.4 Table with the fourth part of the results from the simulation. 45 A.5 Table with the fifth part of the results from the simulation. . 46 A.6 Table with the sixth part of the results from the simulation. . 47 A.7 Table with the seventh part of the results from the simulation. 48 A.8 Table with the last part of the results from the simulation. . . 49 A.9 Table with the first part of the results from the fourth experiment. 51 A.10 Table with the second part of the results from the fourth experiment. 52 A.11 Table with the last part of the results from the fourth experiment. 53 A.12 Table with the first part of the results from the scope experiment. 55 A.13 Table with the second part of the results from the scope experiment. 56 A.14 Table with the third part of the results from the scope experiment. 57 A.15 Table with the fourth part of the results from the scope experiment. 58 A.16 Table with the fifth part of the results from the scope experiment. 59 A.17 Table with the sixth part of the results from the scope experiment. 60 A.18 Table with the seventh part of the results from the scope experiment. 61 A.19 Table with the eight part of the results from the scope experiment. 62 A.20 Table with the ninth part of the results from the scope experiment. 63 A.21 Table with the tenth part of the results from the scope experiment. 64 A.22 Table with the eleventh part of the results from the scope experiment. 65 A.23 Table with the twelfth part of the results from the scope experiment. 66 A.24 Table with the thirteenth part of the results from the scope experiment. 67 A.25 Table with the fourteenth part of the results from the scope experiment. 68 A.26 Table with the fifteenth part of the results from the scope experiment. 69 xvii
xviii List of Tables A.27 Table with the sixteenth part of the results from the scope experiment. 70 A.28 Table with the seventeenth part of the results from the scope experiment. 71 A.29 Table with the eighteenth part of the results from the scope experiment. 72 A.30 Table with the nineteenth part of the results from the scope experiment. 73 A.31 Table with the twentieth part of the results from the scope experiment. 74
Part I Thesis This first part of the document presents the work performed during the thesis, the methodology, the obtained results and our conclusions.
Chapter 1 Introduction Every story has a beginning, a middle, and an end. Not necessarily in that order. Tim Burton This chapter presents an introduction to our work and briefly sketches our design decisions during the development of the thesis. The idea of this thesis comes from previous work (Clark and Hierons, 2012) showing the application of elements from Information Theory to the detection of FEP (Failed Error Propagation) in software testing. The authors proposed a measure of FEP called Squeeziness. They developed and tested the usefulness of the work in a white box scenario. In our work, we start with the theoretical development of the Squeeziness measure adapted to a black box scenario and test it over both simulated and real cases. In the theoretical development, in addition to define Squeeziness in a black box scenario, we prove several properties of this measure. In the practical part, we develop a simulation and four real case testing, which give us different insights about what this measure is capable of. The rest of the chapter is structured as follows. Section 1.1 presents an explanation of the motivations that lead us to the development of this work. Section 1.2 enumerates our goals. Finally, in Section 1.3 we review the structure of the rest of the document. 1.1 Motivation Software testing (Ammann and Offutt, 2017; Myers et al., 2011) is the main validation technique used to increase the reliability of complex software systems. Software testing has traditionally been considered to be an informal technique (Gaudel, 1995). However, it is now known that testing activ- 3
4Chapter 1. Introduction ities can have a formal basis. Formal testing is an active research area (Binder et al., 2015; Cavalli et al., 2015; Hierons et al., 2009) and the existence of several tools that support formal testing has led to the recognition that the combination of formal methods and testing facilitates test automation (Shafique and Labiche, 2015). FEP is the situation in which a faulty statement in the SUT (System Under Test) is executed during testing, the fault corrupts the internal state of the SUT, but the expected output is observed. Naturally, in order for a statement to be a fault there must be at least one input under which FEP does not occur. FEP is a form of fault masking and can reduce the effectiveness of testing: we might fail to find a fault despite executing the faulty statement in testing. Empirical studies have shown that many systems suffer from FEP (Androutsopoulos et al., 2014; Masri et al., 2009). For example, Masri et al. (2009) found that in 13% of the programs that they examined, a total of 60% or more of tests suffered from FEP. Previous work introduced the notion of Squeeziness (Androutsopoulos et al., 2014; Clark and Hierons, 2012) to capture this FEP, with Squeeziness being a measure of the information (entropy) lost by a channel (the SUT) that takes input and returns output. In experiments, there was a rank correlation of close to 0.95 between measures of Squeeziness and the likelihood of FEP (Androutsopoulos et al., 2014). In addition, it has been found that the likelihood of FEP more strongly correlates with Squeeziness than with the DRR (Domain to Range Ratio) (Clark and Hierons, 2012). There are two practical reasons for the interest in measures associated with FEP. First, such measures might be used to estimate testability; we might expect it to be particularly difficult for testing to find a fault in an SUT with high Squeeziness. Second, there may be potential to generate test cases that achieve a given test purpose, such as covering part of the SUT or a model, and that have a low probability of FEP. There is a significant body of work on FEP and fault masking for whitebox testing (Apiwattanapong et al., 2006; Masri et al., 2009; Woodward and Al-Khanjari, 2000; Wang et al., 2009a) and black-box testing (Guo et al., 2006; Petrenko, 2001; Petrenko et al., 2004; Wang et al., 2009b). As mentioned, previous work has also defined Squeeziness in a white-box scenario (Androutsopoulos et al., 2014; Clark and Hierons, 2012). However, we are not aware of any work that uses an information theory foundation for addressing FEP in a black-box context, so we decided to explore this way. 1.2 Goals The main goal of our work is to adapt the notion of Squeeziness to a black box testing scenario and using FSMs (Finite State Machines). Although the FSM (Finite State Machine) formalism is relatively simple, we establish
1.3. Workplan 5 the basis of a framework to test in more complex black-box contexts because the basis of testing is similar: we apply a sequence of inputs and decide whether the observed sequence of outputs is consistent with the specification of the system. In addition to extending the notion of Squeeziness to a black box scenario, we evaluated its usefulness through experiments. Importantly, we found that there was an extremely high rank correlation between our proposed measures and the probability of FEP. As a result, the proposed measures could act as testability measures for state-based testing and have the potential to help direct testing. There are several differences between the original scenario (Clark and Hierons, 2012) and ours. First, we have to reshape the actual definition of Squeeziness because inputs and outputs have a different treatment in each scenario. In the previously considered white-box case, a program receives an input (a tuple of values) and returns an output (again, a tuple of values). In the scenario that we consider in our work, an input is a sequence of input actions while an output is also a sequence, in this case of output actions. Therefore, the first adaption is that a uniform distribution over the sets of inputs and outputs is not suitable because, for example, a prefix of a sequence should have a higher probability than the whole sequence. Second, in white-box testing we can follow the path that a specific execution of the program is traversing. In black box testing we do not know the internal structure of the SUT and, therefore, we cannot take advantage of it to guide the testing process. Other side goals that we pursue in this work are: •Show that Squeeziness still holds its characteristics in this new black box testing scenario (and look for potential new characteristics). •Show that Squeeziness is still better than other measures in this new black box testing scenario. •Look for a normalization of Squeeziness that can help us to use it as a measure. •Determine if Squeeziness can be used over the FSM specification or it only works over the SUT. •Suggest how we can use Squeeziness to test and how we cannot use it. 1.3 Workplan Our workplan tries to mimic the steps that Professors David Clark and Robert M. Hierons followed in their work (Clark and Hierons, 2012). We can divide the work into two main parts: a theoretical one and a practical one.
6Chapter 1. Introduction 1.3.1 Theoretical workplan The theoretical part consists in developing the theory around FEP detection, using techniques from Information Theory in a black box testing scenario, starting with the tools we will use to model systems and ending with the proposed measure applied to this new scenario. All of this is addressed in Chapter 2, which is divided into the following sections: •Section 2.1: a definition of the version of FSM that we use in this work. •Section 2.2: a definition of our main measure, Squeeziness, and some of its properties. Here we also explain some useful cases. •Section 2.3: a definition of our alternative measure, Probabilistic Squeeziness. 1.3.2 Practical workplan The practical part of our work consists in testing the proposed measures. We can distinguish two parts. First, we use simulation to test if we have a good measure. Next, we perform experiments to test the use of the measures in real FSMs. 1.3.2.1 Simulation In Chapter 3 we explain the simulation that we performed to test how well our measures work. The chapter is divided into the following sections: •Section 3.1: a definition of DRR, a previous measure of the probability of FEP, and a comparison with our measures. •Section 3.2: a definition of a formal measure of FEP and a comparison with our measures. •Section 3.3: an explanation of the simulation, how it was done, our conclusions and a comparison between results. 1.3.2.2 Experiments In Chapter 4 we explain the different experiments that we performed and what we conclude from their results. The chapter is divided into the following sections: •Section 4.1: an explanation of our tool to generate random FSMs. •Section 4.2: an explanation of the first experiment, what we wanted to prove, what results we got, and what we concluded.
1.3. Workplan 7 •Section 4.3: an explanation of the second experiment, what we wanted to prove, what results we got, and what we concluded. •Section 4.4: an explanation of the third experiment, what we wanted to prove, what results we got, and what we concluded. •Section 4.5: an explanation of the fourth experiment, what we wanted to prove, what results we got, and what we concluded. •Section 4.6: an overview of the results of the experiments. The code used to perform the experiments in this work has been developed from scratch and can be found at https://github.com/Colosu/Bachelor-Thesis. 1.3.3 Conclusions Finally, in Chapter 5 we discuss the conclusions from our work and the practical uses of our measures. The chapter is divided in the following sections: •Section 5.1: a discussion about the results of the experiments and what they imply. •Section 5.2: a discussion about the practical uses of our measures, once we saw the results from the experiments. •Section 5.3: an overview of our work and possible lines of future work.
14 Chapter 2. Theoretical Framework q0q2q5 q3q1q4q6 i1/o1 i2/o1 i1/o1i2/o2 i1/o3 i2/o4 Figure 2.1: Machine M Example 1 Consider the machine Mfrom Figure 2.1 where q0is the initial state. We have that Squeeziness for k= 1 is equal to log2(2) = 1 while for k= 2 is equal to 0. An important remark concerning random variables associated with inputs and outputs is that given an FSM M,k > 0and a random variable ξdomM,k we have that the probability distribution of the random variable ξimageM,k is completely determined. This is so because for each element β∈imageM,k we have that σξimageM,k (β) = X α∈f−1 M(β) σξdomM,k (α) The following result is immediate from the definition of entropy and the previous explanation concerning how the random variable associated with outputs is determined by the one corresponding to inputs. Lemma 1 Let M= (Q, qin, I, O, T)be an FSM and k > 0. If fM,k is bijective then Sqk(M) = 0. Next, we present an alternative formulation of Squeeziness. The proof of the following result follows from the partition property of entropy (Cover and Thomas, 2006) and the definition of σξimageM,k in terms of σξdomM,k . First, we give an auxiliary result concerning conditional distributions of random variables. In the following, ξ1|ξ2denotes the conditional random variable ξ1given ξ2. Lemma 2 Let M= (Q, qin, I, O, T)be an FSM and k > 0. Let us consider two random variables ξdomM,k and ξimageM,k ranging, respectively, over the domain and image of fM,k. We have that H(ξimageM,k |ξdomM,k ) = 0. Proof Consider the entropy of the conditional random variable ξimageM,k |ξdomM,k , that is, H(ξimageM,k |ξdomM,k ) = X α∈domM,k σξdomM,k (α)· H(ξimageM,k |ξdomM,k =α)
2.2. Squeeziness 15 If we unfold the second term of the sum we have that the previous expression is equal to X α∈domM,k σξdomM,k (α)· X β∈imageM,k σ(ξimageM,k |ξdomM,k )(β|α)·log2(σ(ξimageM,k |ξdomM,k )(β|α)) We will prove that all the summands of the previous expression are equal to zero. Considering that Mis deterministic we have that σ(ξimageM,k |ξdomM,k ) can be either 0or 1. Using this fact in the previous expression, we have two cases: •If σ(ξimageM,k |ξdomM,k )(β|α) = 0 then the result obviously holds. •If σ(ξimageM,k |ξdomM,k )(β|α) = 1 then log2(σ(ξimageM,k |ξdomM,k )(β|α)) = 0 and, again, the result holds. We finally conclude that H(ξimageM,k |ξdomM,k ) = 0. Proposition 1 Let M= (Q, qin, I, O, T)be an FSM and k > 0. Let us consider two random variables ξdomM,k and ξimageM,k ranging, respectively, over the domain and image of fM,k. We have that H(ξdomM,k ) = H(ξimageM,k )−X β∈imageM,k σξimageM,k (β)· X α∈f−1 M(β) σξf−1 M(β)(α)·log2(σξf−1 M(β)(α)) Proof By the definition of conditional entropy (Cover and Thomas, 2006) we have that H(ξdomM,k |ξimageM,k ) = X β∈imageM,k σξimageM,k (β)· H(ξdomM,k |ξimageM,k =β) Next, we apply the notion of conditional probability and consider that ξdomM,k restricted to ξimageM,k =βis the random variable ξf−1 M(β)ranging over f−1 M(β)and whose probabilities are equal to σξdomM,k (β) σξdomM,k (f−1 M(β)) Therefore, we have that H(ξdomM,k |ξimageM,k =β) = H(ξf−1 M(β)) =−X α∈f−1 M(β) σξf−1 M(β)(α)·log2(σξf−1 M(β)(α)) =−X α∈f−1 M(β) σξdomM,k (α) σξdomM,k (f−1 M(β)) ·log2(σξdomM,k (α) σξdomM,k (f−1 M(β)) )
16 Chapter 2. Theoretical Framework Therefore, the term H(ξdomM,k |ξimageM,k )is equal to −X β∈imageM,k σξimageM,k (β)· X α∈f−1 M(β) σξf−1 M(β)(α)·log2(σξf−1 M(β)(α)) (2.1) If we apply the Chain rule then we have H(ξimageM,k , ξdomM,k ) = H(ξimageM,k ) + H(ξdomM,k |ξimageM,k ) where H(ξimageM,k , ξdomM,k )is the joint probability of the two random variables. Considering that, applying again the Chain rule, we also have H(ξimageM,k , ξdomM,k ) = H(ξdomM,k ) + H(ξimageM,k |ξdomM,k ) then we obtain H(ξimageM,k ) + H(ξdomM,k |ξimageM,k ) = H(ξdomM,k ) + H(ξimageM,k |ξdomM,k ) Finally, given that by Lemma 2 we have H(ξimageM,k |ξdomM,k ) = 0 and given the value of H(ξdomM,k |ξimageM,k )from equation (2.1), we obtain the desired reformulation of H(ξdomM,k ). A trivial corollary of the previous result provides an alternative definition of Squeeziness where the value is computed in terms of the inverse images partition of the input space considering, as previously explained, that we have σξimageM,k (β) = X α∈f−1 M(β) σξdomM,k (α) Therefore, we only use the probability distribution on inputs given by ξdomM,k . Corollary 1 Let M= (Q, qin, I, O, T)be an FSM and k > 0. Let us consider a random variable ξdomM,k ranging over the domain of fM,k. We have that Sqk(M) = −X β∈imageM,k X α∈f−1 M(β) σξdomM,k (α) · X α∈f−1 M(β) σξdomM,k (α) σξdomM,k (f−1 M(β)) ·log2 σξdomM,k (α) σξdomM,k (f−1 M(β))! 2.2.1 Useful Implementations In general, it is not possible to know the probability distribution that ranges over the inputs. Therefore, if we want to have an estimation of the different
2.2. Squeeziness 17 values of Squeeziness for a given FSM we need to make an assumption about this distribution. There are different possibilities. For example, we can assume maximum entropy, that is, we choose a probability distribution that maximizes the entropy. Another strategy considers the worst case scenario, that is, we may suppose that the chosen probability distribution induces the maximum loss of information, i.e., we look for a probability distribution that maximises Squeeziness. 2.2.1.1 Maximum entropy principle In order to consider maximum entropy, and assuming no further restrictions, we need to use a uniform distribution (Cover and Thomas, 2006). In this case, the weight of a single element of σξdomM,k is 1 |domM,k|. Thus, the weight of the inverse image of an output β∈imageM,k is equal to |f−1 M(β)| |domM,k|. Finally, Squeeziness under the assumption of having a uniform distribution over inputs is equal to Sqk(M) = −X β∈imageM,k X α∈f−1 M(β) 1 |domM,k| · X α∈f−1 M(β) 1 |domM,k| |f−1 M(β)| |domM,k| ·log2 1 |domM,k| |f−1 M(β)| |domM,k| =−X β∈imageM,k |f−1 M(β)| |domM,k|· |f−1 M(β)| |f−1 M(β)|·log2 1 |f−1 M(β)|!! =−X β∈imageM,k |f−1 M(β)| |domM,k|·log2 1 |f−1 M(β)|! =1 |domM,k|·X β∈imageM,k |f−1 M(β)| · log2(|f−1 M(β)|) 2.2.1.2 Maximum loss of information If we want to consider maximum loss of information, then we need to consider a probability distribution such that it is uniformly distributed in the bigger inverse image of an element of the outputs and zero elsewhere (Clark and Hierons, 2012). Formally, consider β′∈imageM,k such that for all β∈imageM,k we have |f−1 M(β′)| ≥ |f−1 M(β)|. Then, σξdomM,k (α) = 1 |f−1 M(β′)|if α∈f−1 M(β′) 0 otherwise
18 Chapter 2. Theoretical Framework Using this probability distribution, Squeeziness is defined as follows: Sqk(M) = − X α∈f−1 M(β′) 1 |f−1 M(β′)| · X α∈f−1 M(β′) 1 |f−1 M(β′)|·log2 1 |f−1 M(β′)|! =−|f−1 M(β′)| |f−1 M(β′)|·|f−1 M(β′)| |f−1 M(β′)|·log21 |f−1 M(β′)| =−log21 |f−1 M(β′)| = log2(|f−1 M(β′)|) Let us remark that this probability distribution maximises Squeeziness because for any other distribution ξdomM,k we have Sqk(M)≤log2(|f−1 M(β′)|). This result is an immediate consequence of the following result (Clark and Hierons, 2012). Lemma 3 Let us consider non-negative real numbers a1,...,an, p1,...,pn∈ IR+. If for all 1≤i≤nwe have that a1≥aiand Pipi≤1, then Pi(pi·ai)≤a1. 2.3 Probabilistic Squeeziness Now that we have an upper bound for Squeeziness, we can develop a probability measure based on this notion. The idea is that Probabilistic Squeeziness will provide a value between 0and 1(and therefore, similar to a probability) associated with the probability of having FEP for a certain input. Definition 6 Let M= (Q, qin, I, O, T )be an FSM and k > 0. Let us consider two random variables ξdomM,k and ξimageM,k ranging, respectively, over the domain and image of fM,k. Let us consider β′∈imageM,k such that for all β∈imageM,k we have that |f−1 M(β′)| ≥ |f−1 M(β)|. The Probabilistic Squeeziness of Mat length kis defined as PSqk(M) = H(ξdomM,k )− H(ξimageM,k ) log2(|f−1 M(β′)|) Although these values are more complicated to compute, they might be more useful at the time of comparing results and automate their use because they can be treated as probabilities. It is immediate to reformulate Probabilistic Squeeziness as follows: PSqk(M) = −X β∈imageM,k X α∈f−1 M(β) σξdomM,k (α) · X α∈f−1 M(β) σξdomM,k (α) σξdomM,k (f−1 M(β)) ·log2 σξdomM,k (α) σξdomM,k (f−1 M(β))! log2(|f−1 M(β′)|)
Chapter 3 Simulation In theory there is no difference between theory and practice. In practice there is. Yogi Berra In this chapter we explain why we decided to do a simulation, present the tools needed to make the simulation, and explain how we did the simulation and what were the results. In order to test the goodness of our proposed measures, we decided to make a first step simulating the results. By simulation we mean that instead of using real FSMs we generate input/output pairs (that is, a sequence of input actions and a corresponding sequence of output actions). These pairs are appropriately encoded as a pair of natural numbers. Using this trick we can work with very long, randomly generated sequences. We compare the results from Squeeziness and Probabilistic Squeeziness with the results from DRR, another measure that has been proposed before to address this problem. In order to do the comparison, we will start by adapting DRR to our scenario and compare its properties to our measures. Also, we need a measure that works as a formal reference, that is, a measure returning the real probability of having FEP. This measure is the probability of collisions: we will define it and we will compare its properties to our measures. Finally, once we have defined all our measures, we can proceed with the simulation and analyse the results. The rest of the chapter is structured as follows. In Section 3.1 we define DRR and compare it with our measures. Section 3.2 presents the definition of a formal measure of FEP and a comparison with our measures. Section 3.3 provides an explanation of our simulation and an overview of the obtained results. 19
20 Chapter 3. Simulation q8q7q0q3q4 q9q2q1q6q5 i1/o1 i1/o1 i2/o2i1/o2 i2/o2 i3/o2 i3/o2 i1/o2 i2/o2 q8q5q0q1q2 q6q7q4q3 i1/o1i1/o1 i2/o1 i3/o1 i2/o2 i1/o2 i2/o2i3/o2 Figure 3.1: Machines M1(up) and M2(down) 3.1 Domain to Range Ratio It is difficult to compare Squeeziness with other notions that can compute fault masking because the literature is very scarce. One of the few notions in this line is DRR (Woodward and Al-Khanjari, 2000). First we will give the original definition of DRR. Definition 7 Let f:I−→ Obe a total and surjective function. We define the Domain to Range Ratio of f, denoted by DRR(f), as |I| |O|. Next, we adapt this notion to our framework. Actually, our functions are total and surjective because we restrict ourselves to domain and range. Definition 8 Let M= (Q, qin, I, O, T )be an FSM and k > 0. Let us consider fM,k :domM,k −→ imageM,k. We define the Domain to Range Ratio for Mand k, denoted by DRR(fM,k), as |domM,k| |imageM,k|. The next result shows that this measure is inconsistent with Probabilistic Squeeziness (the proof that this measure is inconsistent with Squeeziness can be found in the original work on Squeeziness Clark and Hierons (2012)). Lemma 4 There exist FSMs M1and M2and k > 0such that DRR(fM1,k) = DRR(fM2,k)but PSqk(M1)6=PSqk(M2). There exist FSMs M1and M2and k > 0such that DRR(fM1,k)< DRR(fM2,k)but PSqk(M1)>PSqk(M2).
3.1. Domain to Range Ratio 21 q8q1q2q9 q7q0q3 q6q5q4 i0, i1/o0 i2, i3/o1 i4, i5/o2 i6, i7/o3 i8, i9/o4 i10, i11/o5 i12, i13/o6 i14/o7i15/o8 q8q1q2 q7q0q3 q6q5q4 i15/o7 i13/o5 i0, ..., i4/o0 i12/o4 i10/o2 i11/o3 i5, ..., i9/o1 i14/o6 Figure 3.2: Machines M3(up) and M4(down) Proof First, let us note that in this proof we assume uniform distributions over inputs (and outputs) of the FSMs. However, the result holds for any probability distribution: we would only need to slightly modify the definition of the given machines. In order to prove the first part of the result, we define two machines M1 and M2, both with initial state q0, fulfilling the conditions. Let M1be the machine from Figure 3.1 (up). We have domM1,2={(i1, i1),(i2, i1),(i2, i2),(i2, i3),(i3, i1),(i3, i2)} and imageM1,2={(o1, o1),(o2, o2)} On the one hand we have DRR(fM1,2) = 6/2 = 3 while, on the other hand, we have PSq2(M1) = (5·log2(5)+1·log2(1))/6 log2(5) ≈0.833. Now, let M2be the machine from Figure 3.1 (down). We have domM2,2={(i1, i1),(i1, i2),(i1, i3),(i2, i1),(i2, i2),(i2, i3)}
22 Chapter 3. Simulation and imageM2,2={(o1, o1),(o2, o2)} We have, on the one hand, that DRR(fM2,2) = 6/2 = 3 while, on the other hand, PSq2(M2) = (2·3·log2(3))/6 log2(3) = 1. In order to prove the second part of the result, let us consider again two machines M3and M4, with initial state q0, and we will show that they fulfil the required conditions. In these machines, we consider that x1,...,xn/y is a shorthand for ndifferent transitions labelled, respectively, by x1/y, x2/y, . . . , xn/y. Let M3be the machine from Figure 3.2 (up). We have domM3,1={i0, ..., i15}and imageM3,1={o0, ..., o8}. Therefore, DRR(fM3,1) = 16/9≈1.778 while PSq1(M3) = (7·2·log2(2)+2·1·log2(1))/16 log2(2) = 0.875. Finally, let M4be the machine from Figure 3.2 (down). We have domM4,1={i0, ..., i15}and imageM4,1={o0, ..., o7}, so |imageM4,1|= 8 and DRR(fM4,1) = 16/8 = 2,PSq1(M4) = (2·5·log2(5)+6·1·log2(1))/16 log2(5) = 0.625. Finally, note that the results in this section are independent of the actual value of k. We have used functions over inputs of different lengths to show that the length of the sequences do not influence the computations. The idea is that each sequence of input actions works as a single input and the computations consider only the number of inputs of the same length. 3.2 Probability of Collisions In order to have a reference measure for our experiments, we need to define the probability of collisions. In our context, fault masking (FEP) happens when the expected and faulty input sequences produce the same sequence β of output actions. Besides, if given an FSM Mand k > 0we have that there exist β∈imageM,k such that α, α′∈f−1 M,k(β), with α6=α′, then there is a collision and this might hide a fault. Next we provide a notion to compute the probability of having a collision. Definition 9 Let Mbe an FSM and k > 0. Let imageM,k ={β1, ..., βn} and for all 1≤i≤nlet Ii=f−1 M,k(βi)and mi=|f−1 M,k(βi)|. We have that d=Pn i=1 miis the size of the input space. Given a uniform distribution over the inputs, the probability of αand α′ belonging to the same set Iiis equal to pi=mi·(mi−1) d·(d−1) . We have that the probability of having a collision in Mfor sequences of length k, denoted by PCollk(M), is given by PCollk(M) = n X i=1 mi·(mi−1) d·(d−1) The original work (Clark and Hierons, 2012) states that this can be seen as a probability of collisions when the probability distribution over the inputs
3.3. The Simulation 23 q0q1q2q3 q7q5q6q4 i1/o1i1/o1i1/o1 i2/o1i2/o1 i1/o1i2/o2 q9q8q0q1q2q3 q10 q11 q7q5q6q4 i1/o1i1/o1i1/o1 i2/o1i2/o1 i1/o1i2/o2 i2/o1 i1/o1 i1/o2i2/o2 Figure 3.3: Machines M5(up) and M6(down) is uniform, but the relationship between PCollk(M)and PSqk(M)is not, in general, monotonic, and thus it is neither between PCollk(M)and Sqk(M) (the proof that the relationship between PCollk(M)and Sqk(M)is not, in general, monotonic is in the original work Clark and Hierons (2012)). Lemma 5 There exist FSMs M1and M2and k > 0such that PSqk(M1)< PSqk(M2)but PCollk(M1)>PCollk(M2). Proof First, let us note again that, similar to the proof of Lemma 4, in this proof we assume uniform distributions over inputs (and outputs) of the FSMs. Again, if we have a different probability distribution then we only need to adapt the definition of the machines so that the result still holds. First, we consider M5with initial state q0, the machine from the Figure 3.3 (up). Second, let M6, again with initial state q0, be the machine from Figure 3.3 (down). On one hand we have PColl3(M5) = 0.5and PColl3(M6) = 0.4while, on the other hand, we have PSq3(M5) = 0.75 and PSq3(M6) = 1. 3.3 The Simulation In order to compare PColl,PSq,Sq and DRR we made a simulation. We defined the four measures assuming uniform distributions over the inputs, in terms of the sizes of the subdomains (f−1 M,k(β)). Our methodology to perform simulations followed the approach used in the original work on
30 Chapter 4. Experiments (and outputs) and counted how many did/did not detect the mutation. We used the following formula (Androutsopoulos et al., 2014): p(FEP) = # tests reaching the wrong state but generating the correct output # tests reaching the wrong state Again, we got almost no correlation between both measures and the probability of FEP, what leads us to think about the measure we are comparing to. In Table 4.3 we present the results for four FSMs showing the announced lack of correlation. The data shows both runs of the experiment. Similar values are obtained for the 50 FSMs. FSM Numberof Pearson Spearman Pearson Spearman States PSq PSq Sq Sq M143 0.327585 0.223298 0.256473 0.223298 M143 −0.278164 −0.190777 −0.227735 −0.276935 M17 40 0.593344 0.69765 0.332521 0.555651 M17 40 −0.415348 −0.0747667 −0.400539 −0.0747667 M21 28 −0.121012 0.205656 −0.286948 −0.0311601 M21 28 −0.512128 −0.596973 −0.417908 −0.596973 M47 25 0.340424 0.237809 0.411806 0.310981 M47 25 −0.525826 −0.647114 −0.0576659 −0.241851 Table 4.3: Table with some results from the third experiment. 4.5 Fourth Experiment: Squeeziness vs. Probability of Collisions For our last experiment, we analysed what we were comparing in our previous experiments. In those experiments we compared two measures. The first one was related to Squeeziness and it was computed on one FSM (in some experiments it was the SUT while in others was the specification). The other measure was the probability of FEP. This measure computes a certain relation between the specification and the SUT, using the following formula Androutsopoulos et al. (2014): p(FEP) = # tests reaching the wrong state but generating the correct output # tests reaching the wrong state The problem is that we were comparing a measure obtained from one FSM with another measure obtained from two. Consider, for example, that we have one specification and nmutants. Our previous experiments were trying to correlate one value with different values and the results were bad, showing a low correlation. Therefore, we thought that we should compare Squeeziness and a value that depends only on the FSM that we are using to
4.5. Fourth Experiment: Squeeziness vs. Probability of Collisions 31 compute Squeeziness. The other option would be to compare to probability of FEP, but computing it over all the possible SUTs, for a given specification, what is only feasible for small specifications, even assuming that each faulty SUT has at most one error. We concluded that we might consider the same measure that we used in Chapter 3: PCollk(M) = n X j=1 mj·(mj−1) d·(d−1) where mjis the cardinal of the inverse image of the j-th output (i.e. the number of inputs that lead to this output) and dis the cardinal of the inputs (i.e. the total number of inputs). The only drawback of this measure is that it can be applied only to input-enabled FSMs. Therefore, the first step is to generate a new set of (input-enabled) FSMs. We generated 500 machines with 25 states and 5outgoing transitions from each state (making them input-enabled). Then, we computed Squeeziness, Probabilistic Squeeziness and PColl for each FSM. The next step was to compute the correlation between the results for 10 different machines for Squeeziness and PColl, and Probabilistic Squeeziness and PColl. Due to memory limits, we computed these measures for input sequences of length 8. This number is certainly low for a proper experiment, but it is the highest that we could achieve with our current computation setting. We repeat this experiment twice for each block of 10 FSMs. This time we obtain positive results concerning correlation but there are some downsides. The results show a correlation between 0.7and 1for most of the cases of Squeeziness vs. PColl, with similar values for Pearson and Spearman correlations (again, in most of the cases). This shows that our simulation was not only useful as a theory reinforcement, but also that it is close to the results for real FSMs. Actually, we observe a similar pattern between the results of this experiment and the experiments reported in Chapter 3. So, it is safe to assume that the correlations will increase for bigger FSMs and that the bad correlation results are due to the limited size of the input sequences length (what limits the total number of considered inputs). Unfortunately, the results for Probabilistic Squeeziness are really bad, showing a lack of correlation. However, due to the relative correspondence between the results of this experiment and the ones in Chapter 3, we can also assume that these bad results are due to the small size of the experiment. We expect that the correlation will increase for bigger FSMs. After all, for this small experiment we obtained good correlation for a reduced number of cases. The results of our fourth experiment can be found in three tables given in Appendix A.2.
32 Chapter 4. Experiments 4.5.1 Application Scope The previous measures were computed on the same FSM and this fact raised another research question. Specifically, what does happen if we compute these values on the specification and on a slightly different SUT? In order to reach a conclusion, we developed the following additional experiment: 1. Consider an FSM (the specification). 2. Generate 10 valid mutants and compute Squeeziness, Probabilistic Squeeziness and PColl for each of them. We obtain three vectors −→ Sq, −−→ PSq and −−−−→ PColl. 3. Compute the means of the values in each vector: Sq,PSq and PColl. 4. Subtract from each value of the vectors their corresponding mean and obtain new vectors −→ Sq1,−−−→ PSq1and −−−−→ PColl1. 5. Compute the norm of the new vectors and divide by the mean of the measure. −→ Sq1 Sq , −−−→ PSq1 PSq and −−−−→ PColl1 PColl This value comprises the deviation among the different values of the measures of each set of mutants. We did this twice with all the FSMs that we used in the fourth experiment and although most of the results were around 10% or less, some of them were up to 60% for PColl and up to 20% for Squeeziness and Probabilistic Squeeziness. These results lead us to reinforce the idea, already deduced from the first experiments, that a small deviation from the specification in the SUT can lead to totally different values for Squeeziness and the other measures. In Table 4.4 we present the most interesting results (the highest and lowest ones). The notation My xdenotes the y-th experiment on the x-th machine of the set. The complete 1000 results (2 for each FSM) of this experiment can be found in Appendix A.3. 4.6 Concluding remarks Our experiments show that Squeezines and Probabilistic Squeeziness correlate with the probability of having a collision (and therefore of having a case of FEP) when testing from an FSM. However, and this is an interesting (unfortunately negative) result, these measures are not useful when computed over the FSM specification. In this case they are useless because the potential differences between the specification and the SUT can lead to
4.6. Concluding remarks 33 FSM PColl deviation PSq deviation Sq deviation M1 19 0.330245 0.0437058 0.143475 M2 19 0.092328 0.0567495 0.0497149 M1 54 0.154943 0.0929899 0.0425949 M2 54 0.512515 0.0997374 0.204219 M1 178 0.502121 0.133631 0.206008 M2 178 0.0501833 0.0805334 0.0581454 M1 193 0.11518 0.050467 0.0379082 M2 193 0.319289 0.210992 0.0788463 M1 195 0.615883 0.0610384 0.191272 M2 195 0.171396 0.0678891 0.0736381 M1 217 0.0730744 0.12794 0.0280366 M2 217 0.0332924 0.00887374 0.00887374 M1 307 0.369638 0.240243 0.155753 M2 307 0.322205 0.154143 0.130664 M1 351 0.0836284 0.0349514 0.0481058 M2 351 0.550097 0.048125 0.212203 M1 373 0.331589 0.103725 0.106278 M2 373 0.531864 0.212388 0.186662 M1 411 0.113319 0.00985007 0.00705992 M2 411 0.0943745 0.0301996 0.0301996 M1 435 0.391234 0.106289 0.0983797 M2 435 0.619814 0.0821379 0.144467 M1 447 0.129423 0.0995404 0.0684297 M2 447 0.179715 0.202542 0.0483879 Table 4.4: Table with the most interesting results from the scope experiment. different values for our two measures. Therefore, our experiments show that our measures are valid only if computed over the SUT that we want to test. Actually, this is a good result because we only need to apply sequences of inputs to the SUT, observe the produced sequences of outputs, and compute our measures. Note that despite the fact the SUT is a black box, and therefore we do not have access to its internal structure, we can always apply inputs and observe outputs. The specification will be used, during this process, to provide the input domain that we will use to compute our measures. In addition, the specification will be used, as usual, as an oracle to decide whether the observed outputs are the expected ones.
Chapter 5 Conclusions Every story has an end, but in life every end is just a new beginning. Annonymous In this chapter we summarize the obtained results and discuss how we can use our measures to test from systems whose underlying structure can be given by an FSM. The rest of the chapter is structured as follows. In Section 5.1 we discuss the results of the experiments and what they imply. In Section 5.2 we discuss the practical uses of our measures after considering the results of the experiments. Finally, in Section 5.3 we overview our contribution and suggest some lines for future work. 5.1 Results Our experiments have validated only one of our hypothesis: Squeeziness and Probabilistic Squeeziness give us an estimation of the probability of having a collision in a given SUT, indicating a probability of having a case of FEP. Unfortunately, these measures cannot give us direct information about the location of an FEP (what we wanted to check with our first experiment). This negative result makes sense because the measures are not monotonous with respect to k(the length of the sequence of inputs that we exercise). Therefore, due to this property, one can find really high values for one fixed length k(this is supposed to tell us that FEP is very likely) but lower values can appear when testing with sequences of length k+ 1. Another conclusion that we obtain from the results is that the specification of the SUT is not useful when talking about Squeeziness and Probabilistic Squeeziness. This is so because any change in the input/output behaviour of the specification changes the correlation between the measures and the real 35
36 Chapter 5. Conclusions probability of having FEP in the SUT. This implies that these measures have to be computed over the SUT itself. Actually, this makes sense given that the measures basically rely on the input/output behaviour of an FSM. Therefore, changes over the FSM, even the smallest ones, modify the values of the measures. This will decorrelate the values measured over the specification FSM and the real probability of having an FEP in the SUT. Finally, we get a positive result when we consider the correlation between the probability of having an FEP in a SUT and the Squeeziness and Probabilistic Squeeziness over this SUT. This implies that, although the three initial hypothesis do not hold, our measures do not only work in the theoretical plane (as the simulation performed in Chapter 3 suggests) but also work in the practical plane, when we use them to determine the likelihood of having FEP in an SUT whose underlying internal structure is given by an FSM. Our experiments also show that our measures are useful to decide how testable the SUT is. This fact reinforces the idea that it makes sense to compute these measures over the SUT itself. Note that after the use of our measures to obtain an estimation of the likelihood of FEP, the black-box testing process should make a proper testing that involves the specification, in particular, to use it as an oracle (as we have already said, the specification also plays a role in the computation of our measures because it provides the input domain). 5.2 Practical Uses Next we briefly discuss the practical use of our measures. In order to avoid redundancy, we will focus on Probabilistic Squeeziness (a similar discussion applies to Squeeziness, although it has the drawback of not being a probability measure). One possible use of Probabilistic Squeeziness is to guide the process of finding good input sequence lengths. Specifically, before running tests one might calculate the Probabilistic Squeeziness for input sequences of length k, varying kin a certain range. The resultant values could then be used to choose a length that has a relatively low Probabilistic Squeeziness value over the range of acceptable lengths. This makes it less likely that FEP will affect testing. A special case appears when we find a length for which Probabilistic Squeeziness is equal to zero: we can use this length as a checkpoint. The idea is that we should use all the possible input sequences of this length to test the SUT in order to know whether there are faults in this part of the program. Note, however, that Probabilistic Squeeziness is not monotonic (and, therefore, we might consider multiple checkpoints). Another possible use, but this needs further work from the theoretical point of view and experimentation to validate the hypothesis, is to use our measures when defining the specification of the system. Intuitively,
5.3. Final Considerations 37 if we compute Probabilistic Squeeziness on the specification, then we can (re)define it in a way that we get the lowest Probabilistic Squeeziness possible, ideally 0, without drastically modifying its expected behaviour. Therefore, any correct SUT should have almost no FEP. Although for simpler cases it is easier to just make a 1to 1correspondence between inputs and outputs, for complex cases this might not be easily achieved. Thus, producing specifications with low Probabilistic Squeeziness values can be a good way to assure a low number of FEP in the implementation. Finally,note that Probabilistic Squeeziness is a probability measure that aims to estimate the probability of FEP when testing over the FSM with input sequences of a certain length k. Since this is a probability measure, so is its inverse: 1−PSq. This derived measure is interesting because it gives us the reliability of a test in the sense that it represents the probability that a correct output denotes that no fault has being executed. 5.3 Final Considerations It is known that failed error propagation (FEP) can have a significant effect on testing and recent work has shown that an Information Theoretic measure (called Squeeziness) strongly correlates with the likelihood of FEP. This work considered a white-box scenario in which the SUT simply receives input and returns output; there is no persistent state. In our work we have adapted Squeeziness to work with black-box scenarios in which we are interested in fault masking. Having devised new notions of Squeeziness, for black-box state-based systems, we carried out experiments in order to evaluate these measures. We found that there is a strong correlation between the likelihood of collisions (and therefore the likelihood of having a case of FEP) and our two measures (Squeeziness and Probabilistic Squeeziness). The results in this thesis have two potential uses. First, our measures might be used as measures of testability, allowing one to assess how easy it is to test a system or part of a system. This might be used as part of the process of deciding how much testing is required. In addition, there is potential to use these measures to direct testing. For example, we might want to execute a part of the system with a test case where the probability of FEP (following this component) is relatively low. Future work will have to explore these potential uses, develop tools, and evaluate these on case studies. Also it will have to generalise the framework and measures to introduce data into the models.
Part II Appendices
46 Appendix A. Results Input set Maximum Correlation of Correlation of Correlation of lenght size PSq Sq DRR 1000000 100 0.976936 0.976936 0.811867 1000000 100 0.971048 0.971048 0.775681 1000000 200 0.970973 0.970973 0.782711 1000000 200 0.977552 0.977552 0.839242 1000000 500 0.972066 0.972066 0.783899 1000000 500 0.974367 0.974367 0.770392 1000000 1000 0.973512 0.973926 0.79526 1000000 1000 0.97265 0.974027 0.830407 1000000 2000 0.967017 0.969736 0.780849 1000000 2000 0.972468 0.97408 0.805192 1000000 5000 0.964892 0.970854 0.809975 1000000 5000 0.959633 0.970388 0.787131 1000000 10000 0.948137 0.967924 0.778203 1000000 10000 0.953897 0.970411 0.769844 2000000 100 0.975097 0.975097 0.814434 2000000 100 0.968371 0.968371 0.768775 2000000 200 0.974395 0.974395 0.809679 2000000 200 0.97463 0.97463 0.800698 2000000 500 0.97177 0.97177 0.790358 2000000 500 0.970945 0.970945 0.809109 2000000 1000 0.978243 0.978102 0.826712 2000000 1000 0.971267 0.971722 0.810432 2000000 2000 0.967518 0.969418 0.755382 2000000 2000 0.968874 0.970523 0.779241 2000000 5000 0.971917 0.978818 0.810967 2000000 5000 0.958095 0.964455 0.698505 2000000 10000 0.962677 0.96991 0.776906 2000000 10000 0.9506 0.963563 0.781282 5000000 100 0.971105 0.971105 0.801428 5000000 100 0.975811 0.975811 0.806359 5000000 200 0.965705 0.965705 0.734183 5000000 200 0.975194 0.975194 0.787636 5000000 500 0.965762 0.965762 0.78538 5000000 500 0.977868 0.977868 0.816896 5000000 1000 0.970797 0.970797 0.782857 5000000 1000 0.974245 0.974245 0.807752 5000000 2000 0.973331 0.973636 0.783586 5000000 2000 0.973119 0.972639 0.782383 5000000 5000 0.976515 0.977712 0.793327 5000000 5000 0.961413 0.963994 0.708333 5000000 10000 0.97076 0.972559 0.773815 5000000 10000 0.972016 0.975021 0.788634 Table A.5: Table with the fifth part of the results from the simulation.
A.1. Simulation Results 47 Input set Maximum Correlation of Correlation of Correlation of lenght size PSq Sq DRR 10000000 100 0.972085 0.972085 0.801643 10000000 100 0.96267 0.96267 0.74051 10000000 200 0.973476 0.973476 0.814127 10000000 200 0.978724 0.978724 0.817254 10000000 500 0.968369 0.968369 0.755809 10000000 500 0.976646 0.976646 0.784194 10000000 1000 0.97411 0.97411 0.792697 10000000 1000 0.970658 0.970658 0.782375 10000000 2000 0.973721 0.973856 0.793005 10000000 2000 0.974843 0.974945 0.782697 10000000 5000 0.975044 0.975649 0.814614 10000000 5000 0.965039 0.9663 0.780145 10000000 10000 0.97379 0.974921 0.808942 10000000 10000 0.973747 0.974783 0.821714 20000000 100 0.976361 0.976361 0.816832 20000000 100 0.969996 0.969996 0.785402 20000000 200 0.966911 0.966911 0.773231 20000000 200 0.975891 0.975891 0.830111 20000000 500 0.975834 0.975834 0.80509 20000000 500 0.971753 0.971753 0.761665 20000000 1000 0.970692 0.970692 0.800126 20000000 1000 0.972765 0.972765 0.780929 20000000 2000 0.975548 0.975548 0.79739 20000000 2000 0.97661 0.97661 0.790627 20000000 5000 0.975629 0.975512 0.81321 20000000 5000 0.969195 0.969801 0.778989 20000000 10000 0.969188 0.97061 0.79285 20000000 10000 0.974001 0.974807 0.823849 50000000 100 0.972157 0.972157 0.775908 50000000 100 0.97394 0.97394 0.744055 50000000 200 0.977712 0.977712 0.825954 50000000 200 0.964124 0.964124 0.754767 50000000 500 0.976058 0.976058 0.824369 50000000 500 0.971696 0.971696 0.792425 50000000 1000 0.968602 0.968602 0.773925 50000000 1000 0.975643 0.975643 0.813831 50000000 2000 0.972101 0.972101 0.80533 50000000 2000 0.96896 0.96896 0.763188 50000000 5000 0.967291 0.967312 0.733459 50000000 5000 0.971166 0.970914 0.792814 50000000 10000 0.973592 0.974186 0.831489 50000000 10000 0.970302 0.97075 0.794533 Table A.6: Table with the sixth part of the results from the simulation.
48 Appendix A. Results Input set Maximum Correlation of Correlation of Correlation of lenght size PSq Sq DRR 100000000 100 0.967785 0.967785 0.791843 100000000 100 0.973939 0.973939 0.79906 100000000 200 0.970936 0.970936 0.797435 100000000 200 0.971179 0.971179 0.792618 100000000 500 0.965457 0.965457 0.764338 100000000 500 0.967388 0.967388 0.749111 100000000 1000 0.967278 0.967278 0.762974 100000000 1000 0.975128 0.975128 0.816993 100000000 2000 0.976852 0.976852 0.809661 100000000 2000 0.973916 0.973916 0.811798 100000000 5000 0.964856 0.964856 0.752126 100000000 5000 0.975177 0.975177 0.804654 100000000 10000 0.973117 0.97333 0.797859 100000000 10000 0.979059 0.979012 0.839706 200000000 100 0.974298 0.974298 0.793441 200000000 100 0.974201 0.974201 0.817327 200000000 200 0.973198 0.973198 0.79773 200000000 200 0.969628 0.969628 0.752662 200000000 500 0.979169 0.979169 0.843415 200000000 500 0.975039 0.975039 0.830218 200000000 1000 0.975452 0.975452 0.842656 200000000 1000 0.973656 0.973656 0.81612 200000000 2000 0.974498 0.974498 0.799512 200000000 2000 0.980097 0.980097 0.843219 200000000 5000 0.97596 0.97596 0.81765 200000000 5000 0.973072 0.973072 0.794025 200000000 10000 0.972613 0.972525 0.790124 200000000 10000 0.975172 0.975228 0.812101 500000000 100 0.97099 0.97099 0.788888 500000000 100 0.971083 0.971083 0.798639 500000000 200 0.967438 0.967438 0.779869 500000000 200 0.977179 0.977179 0.832308 500000000 500 0.965965 0.965965 0.778361 500000000 500 0.968144 0.968144 0.764191 500000000 1000 0.974112 0.974112 0.800833 500000000 1000 0.973997 0.973997 0.779971 500000000 2000 0.971501 0.971501 0.782711 500000000 2000 0.970228 0.970228 0.743784 500000000 5000 0.976165 0.976165 0.825479 500000000 5000 0.973031 0.973031 0.779755 500000000 10000 0.969547 0.969547 0.772517 500000000 10000 0.966348 0.966348 0.773234 Table A.7: Table with the seventh part of the results from the simulation.
A.1. Simulation Results 49 Input set Maximum Correlation of Correlation of Correlation of lenght size PSq Sq DRR 1000000000 100 0.96974 0.96974 0.779927 1000000000 100 0.974667 0.974667 0.824957 1000000000 200 0.978771 0.978771 0.859822 1000000000 200 0.968844 0.968844 0.759952 1000000000 500 0.975528 0.975528 0.799788 1000000000 500 0.972865 0.972865 0.806221 1000000000 1000 0.966998 0.966998 0.742382 1000000000 1000 0.970395 0.970395 0.795114 1000000000 2000 0.96474 0.96474 0.784384 1000000000 2000 0.966843 0.966843 0.768588 1000000000 5000 0.966975 0.966975 0.753142 1000000000 5000 0.969392 0.969392 0.777797 1000000000 10000 0.970387 0.970387 0.78255 1000000000 10000 0.966483 0.966483 0.741448 2000000000 100 0.968286 0.968286 0.797514 2000000000 100 0.974423 0.974423 0.78976 2000000000 200 0.97463 0.97463 0.779878 2000000000 200 0.969308 0.969308 0.776731 2000000000 500 0.97068 0.97068 0.77233 2000000000 500 0.964814 0.964814 0.741365 2000000000 1000 0.977148 0.977148 0.802956 2000000000 1000 0.972999 0.972999 0.824011 2000000000 2000 0.966897 0.966897 0.756296 2000000000 2000 0.967144 0.967144 0.731439 2000000000 5000 0.970575 0.970575 0.807333 2000000000 5000 0.965495 0.965495 0.781112 2000000000 10000 0.969172 0.969172 0.79843 2000000000 10000 0.972477 0.972477 0.783512 Table A.8: Table with the last part of the results from the simulation.
50 Appendix A. Results A.2 Fourth experiment Results Here are the raw results from the experiment explained in Section 4.5.
A.2. Fourth experiment Results 51 Test Number Pearson PSq Spearman PSq Pearson Sq Spearman Sq 110.410929 0.187879 0.776577 0.236364 120.410929 0.187879 0.776577 0.236364 21−0.463929 −0.490909 0.828186 0.69697 22−0.463929 −0.490909 0.828186 0.69697 310.205106 0.0909091 0.904021 0.939394 320.205106 0.0909091 0.904021 0.939394 41−0.00317279 −0.0909091 0.824818 0.806061 42−0.00317279 −0.0909091 0.824818 0.806061 510.169992 0.139394 0.758513 0.721212 520.169992 0.139394 0.758513 0.721212 610.172371 0.0545455 0.806167 0.818182 620.172371 0.0545455 0.806167 0.818182 710.601034 0.733333 0.81336 0.769697 720.601034 0.733333 0.81336 0.769697 810.563977 0.50303 0.850133 0.878788 820.563977 0.50303 0.850133 0.878788 91−0.33581 0.139394 0.805305 0.854545 92−0.33581 0.139394 0.805305 0.854545 1010.351802 0.357576 0.645551 0.515152 1020.351802 0.357576 0.645551 0.515152 111−0.434417 −0.175758 0.863196 0.806061 112−0.434417 −0.175758 0.863196 0.806061 121−0.0330206 0.260606 0.935489 0.709091 122−0.0330206 0.260606 0.935489 0.709091 1310.195111 0.115152 0.658232 0.612121 1320.195111 0.115152 0.658232 0.612121 141−0.230077 −0.187879 0.487063 0.29697 142−0.230077 −0.187879 0.487063 0.29697 1510.553214 0.381818 0.935108 0.806061 1520.553214 0.381818 0.935108 0.806061 1610.17371 0.127273 0.875405 0.842424 1620.17371 0.127273 0.875405 0.842424 171−0.066248 0.030303 0.788795 0.806061 172−0.066248 0.030303 0.788795 0.806061 1810.110038 0.115152 0.778921 0.733333 1820.110038 0.115152 0.778921 0.733333 1910.433426 0.0181818 0.940802 0.915152 1920.433426 0.0181818 0.940802 0.915152 2010.614432 0.551515 0.715185 0.672727 2020.614432 0.551515 0.715185 0.672727 Table A.9: Table with the first part of the results from the fourth experiment.
52 Appendix A. Results Test Number Pearson PSq Spearman PSq Pearson Sq Spearman Sq 211−0.00559347 0.0181818 0.931591 0.975758 212−0.00559347 0.0181818 0.931591 0.975758 2210.616079 0.393939 0.853011 0.90303 2220.616079 0.393939 0.853011 0.90303 2310.0015574 0.163636 0.837655 0.830303 2320.0015574 0.163636 0.837655 0.830303 2410.478062 0.345455 0.801985 0.684848 2420.478062 0.345455 0.801985 0.684848 2510.45871 0.29697 0.952795 0.939394 2520.45871 0.29697 0.952795 0.939394 2610.289878 0.430303 0.802949 0.830303 2620.289878 0.430303 0.802949 0.830303 2710.641054 0.490909 0.885834 0.915152 2720.641054 0.490909 0.885834 0.915152 2810.686382 0.660606 0.801872 0.854545 2820.686382 0.660606 0.801872 0.854545 2910.644446 0.624242 0.969037 0.951515 2920.644446 0.624242 0.969037 0.951515 301−0.119512 0.139394 0.899693 0.951515 302−0.119512 0.139394 0.899693 0.951515 3110.174788 0.357576 0.842033 0.806061 3120.174788 0.357576 0.842033 0.806061 3210.462198 0.551515 0.706882 0.624242 3220.462198 0.551515 0.706882 0.624242 3310.184176 0.175758 0.799839 0.757576 3320.184176 0.175758 0.799839 0.757576 3410.341318 0.393939 0.812711 0.757576 3420.341318 0.393939 0.812711 0.757576 3510.137284 0.127273 0.219772 −0.0181818 3520.137284 0.127273 0.219772 −0.0181818 Table A.10: Table with the second part of the results from the fourth experiment.
A.2. Fourth experiment Results 53 Test Number Pearson PSq Spearman PSq Pearson Sq Spearman Sq 3610.205909 0.175758 0.911315 0.878788 3620.205909 0.175758 0.911315 0.878788 3710.343904 0.381818 0.861319 0.890909 3720.343904 0.381818 0.861319 0.890909 381−0.447221 −0.0181818 0.329793 0.490909 382−0.447221 −0.0181818 0.329793 0.490909 3910.146021 0.175758 0.696415 0.612121 3920.146021 0.175758 0.696415 0.612121 4010.179521 0.309091 0.815152 0.842424 4020.179521 0.309091 0.815152 0.842424 4110.609291 0.284848 0.951844 0.733333 4120.609291 0.284848 0.951844 0.733333 4210.489005 0.406061 0.8339 0.854545 4220.489005 0.406061 0.8339 0.854545 4310.0843827 0.0666667 0.715362 0.830303 4320.0843827 0.0666667 0.715362 0.830303 441−0.289384 0.0787879 0.919747 0.842424 442−0.289384 0.0787879 0.919747 0.842424 4510.772454 0.490909 0.920541 0.939394 4520.772454 0.490909 0.920541 0.939394 4610.148455 0.272727 0.768264 0.878788 4620.148455 0.272727 0.768264 0.878788 4710.583788 0.684848 0.867355 0.806061 4720.583788 0.684848 0.867355 0.806061 4810.490787 0.345455 0.894378 0.878788 4820.490787 0.345455 0.894378 0.878788 4910.496066 0.139394 0.950662 0.842424 4920.496066 0.139394 0.950662 0.842424 5010.529419 0.539394 0.927733 0.90303 5020.529419 0.539394 0.927733 0.90303 Table A.11: Table with the last part of the results from the fourth experiment.
54 Appendix A. Results A.3 Scope experiment Results Here are the raw results from the experiment explained in Section 4.5.1.
A.3. Scope experiment Results 55 FSM PColl deviation PSq deviation Sq deviation M1 10.0950789 0.0703332 0.0387082 M2 10.0749958 0.0952356 0.039985 M1 20.182275 0.147906 0.0812145 M2 20.0859465 0.102554 0.0257775 M1 30.200358 0.031253 0.031253 M2 30.122406 0.0956112 0.0576035 M1 40.1108 0.0619166 0.0407203 M2 40.116017 0.0879653 0.0538548 M1 50.167367 0.0566661 0.0556639 M2 50.121117 0.0341017 0.0435675 M1 60.247408 0.104176 0.110493 M2 60.116842 0.0200062 0.0295791 M1 70.0909035 0.0391091 0.0313132 M2 70.320194 0.0391855 0.0913402 M1 80.279118 0.0849884 0.0981586 M2 80.146865 0.0463582 0.0632131 M1 90.0948726 0.0842807 0.0665105 M2 90.307571 0.0900623 0.0402301 M1 10 0.138399 0.0548657 0.0618528 M2 10 0.32039 0.0737068 0.12743 M1 11 0.0534865 0.0773609 0.0305317 M2 11 0.0715425 0.116987 0.032441 M1 12 0.221791 0.0771733 0.069286 M2 12 0.113286 0.0429015 0.0493155 M1 13 0.194512 0.149577 0.0487627 M2 13 0.271059 0.130015 0.0529391 M1 14 0.10515 0.0678593 0.0265715 M2 14 0.101342 0.0833349 0.0443392 M1 15 0.109012 0.0491771 0.0491771 M2 15 0.107724 0.0571589 0.0371638 M1 16 0.100109 0.0876177 0.0380637 M2 16 0.366246 0.0476176 0.0638289 M1 17 0.334802 0.0590221 0.0972634 M2 17 0.189753 0.102213 0.085375 M1 18 0.160188 0.0865485 0.0726993 M2 18 0.0981993 0.133009 0.0632623 M1 19 0.330245 0.0437058 0.143475 M2 19 0.092328 0.0567495 0.0497149 M1 20 0.228133 0.138484 0.0942126 M2 20 0.211442 0.137835 0.0886251 M1 21 0.113524 0.0617106 0.0404871 M2 21 0.0971766 0.0813695 0.0573164 M1 22 0.0818868 0.0663257 0.0321921 M2 22 0.163391 0.0926745 0.0733553 M1 23 0.0733843 0.0799325 0.0464522 M2 23 0.144326 0.102849 0.0984305 M1 24 0.09066 0.0222337 0.0277946 M2 24 0.0836259 0.094271 0.0343725 M1 25 0.200682 0.0600333 0.0832204 M2 25 0.222674 0.0990115 0.0557218 Table A.12: Table with the first part of the results from the scope experiment.
62 Appendix A. Results FSM PColl deviation PSq deviation Sq deviation M1 176 0.0493413 0.0240178 0.0240178 M2 176 0.236384 0.0273177 0.0273177 M1 177 0.105683 0.0545788 0.051499 M2 177 0.126939 0.0366448 0.0821855 M1 178 0.502121 0.133631 0.206008 M2 178 0.0501833 0.0805334 0.0581454 M1 179 0.177361 0.0470784 0.0422568 M2 179 0.160599 0.106426 0.0914263 M1 180 0.09533 0.0747299 0.0344199 M2 180 0.12197 0.114166 0.0673058 M1 181 0.161714 0.0283374 0.0600085 M2 181 0.161786 0.087904 0.0724184 M1 182 0.164747 0.0908708 0.0856854 M2 182 0.176832 0.0721107 0.0730407 M1 183 0.0721706 0.0385128 0.0339832 M2 183 0.119977 0.0342654 0.044556 M1 184 0.0961821 0.0326587 0.0208317 M2 184 0.22682 0.0581899 0.0649652 M1 185 0.0745854 0.0256854 0.0308005 M2 185 0.0573968 0.073575 0.0314416 M1 186 0.0732334 0.0621747 0.0292452 M2 186 0.261301 0.0125969 0.114724 M1 187 0.0900539 0.0366144 0.0382513 M2 187 0.249333 0.0397538 0.116899 M1 188 0.18575 0.0791632 0.0403864 M2 188 0.0897354 0.0595534 0.0355252 M1 189 0.22324 0.102414 0.0481084 M2 189 0.16201 0.0588293 0.0420487 M1 190 0.139711 0.162801 0.0434869 M2 190 0.161427 0.171295 0.0593966 M1 191 0.0784647 0.0456441 0.0456441 M2 191 0.142741 0.0433893 0.0880112 M1 192 0.156988 0.0709328 0.0546674 M2 192 0.106701 0.119741 0.0522467 M1 193 0.11518 0.050467 0.0379082 M2 193 0.319289 0.210992 0.0788463 M1 194 0.054047 0.0442058 0.0158442 M2 194 0.162021 0.0570734 0.0223556 M1 195 0.615883 0.0610384 0.191272 M2 195 0.171396 0.0678891 0.0736381 M1 196 0.147129 0.0666865 0.0645558 M2 196 0.176868 0.0694785 0.0738782 M1 197 0.174025 0.0769187 0.0844488 M2 197 0.145666 0.0769659 0.101004 M1 198 0.0533901 0.0756466 0.0271886 M2 198 0.0472839 0.0884422 0.0227125 M1 199 0.122917 0.0490675 0.0518688 M2 199 0.469743 0.0419683 0.132432 M1 200 0.232111 0.0584861 0.114169 M2 200 0.160918 0.0758837 0.0585696 Table A.19: Table with the eight part of the results from the scope experiment.
A.3. Scope experiment Results 63 FSM PColl deviation PSq deviation Sq deviation M1 201 0.320929 0.0915174 0.135178 M2 201 0.194944 0.0668596 0.0623401 M1 202 0.10212 0.048118 0.0280015 M2 202 0.123118 0.121849 0.0403971 M1 203 0.172405 0.10761 0.0683857 M2 203 0.109712 0.045899 0.036106 M1 204 0.109296 0.063936 0.0495415 M2 204 0.0517274 0.0781413 0.0200832 M1 205 0.14869 0.0520621 0.0542438 M2 205 0.092611 0.0460969 0.0359107 M1 206 0.25462 0.0645227 0.111061 M2 206 0.119139 0.102157 0.0476853 M1 207 0.0826792 0.132486 0.0451183 M2 207 0.0610272 0.0845023 0.0297433 M1 208 0.248716 0.180631 0.07764 M2 208 0.23923 0.16745 0.0921881 M1 209 0.106599 0.112782 0.0340541 M2 209 0.0956643 0.0675092 0.0235404 M1 210 0.0922222 0.0323893 0.0319545 M2 210 0.158093 0.0501029 0.0653496 M1 211 0.183116 0.0902302 0.0692288 M2 211 0.0654867 0.0478722 0.0421683 M1 212 0.107668 0.0595185 0.0423966 M2 212 0.0459012 0.107833 0.0260634 M1 213 0.27448 0.0544305 0.194911 M2 213 0.181899 0.0995511 0.0770211 M1 214 0.0655072 0.054067 0.0175885 M2 214 0.131063 0.0803329 0.0454991 M1 215 0.0823683 0.0311878 0.0386226 M2 215 0.123834 0.0997431 0.058712 M1 216 0.132688 0.0391275 0.0418114 M2 216 0.0835506 0.109981 0.0384653 M1 217 0.0730744 0.12794 0.0280366 M2 217 0.0332924 0.00887374 0.00887374 M1 218 0.127101 0.0812361 0.07276 M2 218 0.148913 0.0706796 0.0752447 M1 219 0.210453 0.0662656 0.073793 M2 219 0.161557 0.035145 0.0584149 M1 220 0.12434 0.0837517 0.0796094 M2 220 0.103494 0.0283263 0.0355821 M1 221 0.083641 0.03849 0.0426046 M2 221 0.103591 0.0560226 0.0546263 M1 222 0.115356 0.122027 0.0691752 M2 222 0.0724865 0.127237 0.0384954 M1 223 0.147823 0.0523881 0.0545882 M2 223 0.208935 0.0703411 0.0894422 M1 224 0.0845362 0.101135 0.0297763 M2 224 0.1436 0.0907659 0.0458298 M1 225 0.0729032 0.0537017 0.0489775 M2 225 0.13208 0.0583676 0.0637316 Table A.20: Table with the ninth part of the results from the scope experiment.
64 Appendix A. Results FSM PColl deviation PSq deviation Sq deviation M1 226 0.066675 0.0627817 0.0378335 M2 226 0.0728061 0.0661461 0.0235176 M1 227 0.0949713 0.0505226 0.0308543 M2 227 0.191036 0.0450683 0.0649042 M1 228 0.0474001 0.0371107 0.0165736 M2 228 0.133401 0.0617278 0.0439212 M1 229 0.122374 0.0665126 0.0697959 M2 229 0.146647 0.0384612 0.0479638 M1 230 0.250148 0.0873959 0.104082 M2 230 0.194104 0.0594211 0.0717124 M1 231 0.0699153 0.0401544 0.0378323 M2 231 0.11857 0.0517308 0.0333014 M1 232 0.171835 0.0620839 0.111005 M2 232 0.057153 0.0409218 0.042117 M1 233 0.0783016 0.0351236 0.0351236 M2 233 0.183598 0.0521553 0.0733566 M1 234 0.157199 0.0637758 0.0700709 M2 234 0.273699 0.0915263 0.0441587 M1 235 0.0877706 0.11889 0.0322514 M2 235 0.0792891 0.0676074 0.0382468 M1 236 0.105288 0.0404291 0.0504072 M2 236 0.194898 0.0800489 0.0930063 M1 237 0.202047 0.0617091 0.0601799 M2 237 0.124543 0.0590402 0.0494177 M1 238 0.180059 0.132252 0.0627432 M2 238 0.153479 0.0515442 0.0515442 M1 239 0.0622773 0.0413479 0.0332475 M2 239 0.126171 0.0245162 0.0297151 M1 240 0.285131 0.0426491 0.0252248 M2 240 0.0439781 0.0479556 0.0257062 M1 241 0.275297 0.072067 0.121074 M2 241 0.0684916 0.0571739 0.0272044 M1 242 0.123954 0.115977 0.0433023 M2 242 0.243066 0.107125 0.145532 M1 243 0.120974 0.0508181 0.0530273 M2 243 0.273139 0.0707985 0.042744 M1 244 0.113722 0.101112 0.0348508 M2 244 0.107245 0.0968577 0.0458462 M1 245 0.329358 0.0893511 0.127548 M2 245 0.0585442 0.0717083 0.0262594 M1 246 0.212828 0.0686336 0.053447 M2 246 0.210154 0.102289 0.080989 M1 247 0.131076 0.0431643 0.0368589 M2 247 0.106718 0.0635396 0.0421269 M1 248 0.125279 0.0296497 0.0462179 M2 248 0.116739 0.0479715 0.0420898 M1 249 0.175949 0.105557 0.0686419 M2 249 0.210539 0.0801715 0.0427538 M1 250 0.197716 0.0589633 0.0778028 M2 250 0.287449 0.0900582 0.051427 Table A.21: Table with the tenth part of the results from the scope experiment.
A.3. Scope experiment Results 65 FSM PColl deviation PSq deviation Sq deviation M1 251 0.141094 0.0390183 0.0530638 M2 251 0.200839 0.0619043 0.071959 M1 252 0.193962 0.094042 0.0593573 M2 252 0.250122 0.0944683 0.0910919 M1 253 0.17476 0.0725549 0.0608294 M2 253 0.102149 0.0548417 0.0326269 M1 254 0.120707 0.0506427 0.04314 M2 254 0.079319 0.0220406 0.0338622 M1 255 0.102217 0.100945 0.0300436 M2 255 0.0561279 0.10956 0.0283264 M1 256 0.153464 0.0828614 0.0513759 M2 256 0.0864712 0.0904432 0.0301399 M1 257 0.104343 0.0836763 0.0578935 M2 257 0.0773851 0.0593843 0.0491363 M1 258 0.12008 0.0384007 0.0528518 M2 258 0.0877601 0.073502 0.0389848 M1 259 0.0865356 0.0574114 0.0442272 M2 259 0.0941158 0.0679937 0.0460864 M1 260 0.0755704 0.0561131 0.029871 M2 260 0.154404 0.0661945 0.0670694 M1 261 0.177111 0.130211 0.0558384 M2 261 0.14893 0.123687 0.0466886 M1 262 0.0717966 0.0287465 0.0366246 M2 262 0.142686 0.108111 0.0735273 M1 263 0.155672 0.0561821 0.0587316 M2 263 0.326915 0.0834482 0.126096 M1 264 0.256933 0.06243 0.0680333 M2 264 0.242616 0.121227 0.0635987 M1 265 0.125309 0.0748321 0.0999525 M2 265 0.134289 0.0899432 0.0418623 M1 266 0.101069 0.0723155 0.0412336 M2 266 0.0945022 0.0447822 0.0420619 M1 267 0.123137 0.0982478 0.0493803 M2 267 0.0654703 0.0400264 0.0400264 M1 268 0.0646455 0.0519324 0.0266544 M2 268 0.194833 0.0759964 0.0822875 M1 269 0.0823866 0.0725328 0.0734576 M2 269 0.0779122 0.0815766 0.0796027 M1 270 0.107371 0.0925702 0.0368406 M2 270 0.111394 0.0437777 0.0524355 M1 271 0.11469 0.0718492 0.0262581 M2 271 0.161362 0.0792488 0.0500438 M1 272 0.0866802 0.0883648 0.0315621 M2 272 0.126543 0.0619064 0.0331612 M1 273 0.102331 0.151158 0.0452948 M2 273 0.0877833 0.139118 0.0455388 M1 274 0.28912 0.0580955 0.0396037 M2 274 0.0676413 0.0599489 0.0607064 M1 275 0.15168 0.0714352 0.0502067 M2 275 0.153309 0.0502463 0.0520937 Table A.22: Table with the eleventh part of the results from the scope experiment.
66 Appendix A. Results FSM PColl deviation PSq deviation Sq deviation M1 276 0.114089 0.0468405 0.0509689 M2 276 0.126059 0.0640334 0.0640334 M1 277 0.170807 0.0911448 0.0553544 M2 277 0.133738 0.0467839 0.0596847 M1 278 0.460824 0.0721443 0.140621 M2 278 0.104701 0.0484774 0.0321138 M1 279 0.0715977 0.0976689 0.0531812 M2 279 0.0877401 0.087235 0.0343681 M1 280 0.223377 0.136102 0.100698 M2 280 0.169629 0.12194 0.0553103 M1 281 0.160667 0.0571535 0.0551783 M2 281 0.128525 0.0438124 0.0468212 M1 282 0.0756296 0.0554665 0.0301116 M2 282 0.118087 0.058236 0.0690887 M1 283 0.163026 0.0759389 0.0453445 M2 283 0.20086 0.0740739 0.0841777 M1 284 0.203357 0.114661 0.0632884 M2 284 0.147056 0.0818511 0.0774341 M1 285 0.13755 0.0890331 0.0520915 M2 285 0.133881 0.0498661 0.0317864 M1 286 0.241841 0.0735911 0.0766967 M2 286 0.464048 0.0919057 0.162669 M1 287 0.0794803 0.0951128 0.0472314 M2 287 0.0912918 0.0801973 0.054496 M1 288 0.239192 0.036179 0.140227 M2 288 0.110172 0.0855756 0.0367742 M1 289 0.146085 0.058392 0.0619317 M2 289 0.196843 0.0771836 0.079418 M1 290 0.101416 0.0365206 0.0487504 M2 290 0.119859 0.0456012 0.0571958 M1 291 0.116864 0.0512095 0.0379064 M2 291 0.132937 0.0573584 0.0543407 M1 292 0.0696089 0.0792931 0.0330109 M2 292 0.278049 0.103569 0.0797214 M1 293 0.0817073 0.107813 0.042053 M2 293 0.0828152 0.120854 0.0332964 M1 294 0.204715 0.0971958 0.0264607 M2 294 0.225482 0.0922726 0.0659926 M1 295 0.12685 0.0400457 0.0400457 M2 295 0.197612 0.134747 0.0740774 M1 296 0.0741113 0.0486154 0.0369114 M2 296 0.217722 0.0664447 0.0848397 M1 297 0.0831666 0.126505 0.0365954 M2 297 0.0963664 0.126616 0.0452842 M1 298 0.118118 0.0841297 0.103975 M2 298 0.142703 0.0773154 0.084301 M1 299 0.0567002 0.129978 0.0238967 M2 299 0.0751478 0.110387 0.0230378 M1 300 0.109327 0.0475481 0.0377559 M2 300 0.0637104 0.024211 0.024211 Table A.23: Table with the twelfth part of the results from the scope experiment.
A.3. Scope experiment Results 67 FSM PColl deviation PSq deviation Sq deviation M1 301 0.0751681 0.0524621 0.0962008 M2 301 0.133811 0.135539 0.0460798 M1 302 0.0668363 0.0459721 0.0356969 M2 302 0.0831301 0.119463 0.0649339 M1 303 0.172878 0.0697953 0.0443404 M2 303 0.133333 0.0406836 0.0636144 M1 304 0.117497 0.0974513 0.0855335 M2 304 0.224033 0.0723179 0.0746368 M1 305 0.119178 0.0600124 0.0741318 M2 305 0.105727 0.0744419 0.0369787 M1 306 0.0766761 0.0631881 0.043166 M2 306 0.0928634 0.0616329 0.0304961 M1 307 0.369638 0.240243 0.155753 M2 307 0.322205 0.154143 0.130664 M1 308 0.0822149 0.0786954 0.0377644 M2 308 0.21697 0.0472925 0.0468029 M1 309 0.220095 0.0762443 0.0930257 M2 309 0.118008 0.0222871 0.0347949 M1 310 0.162176 0.104122 0.110252 M2 310 0.131121 0.0721127 0.0438206 M1 311 0.265844 0.0289179 0.099689 M2 311 0.120044 0.0550444 0.0456639 M1 312 0.127871 0.0473808 0.0534978 M2 312 0.162177 0.0673043 0.0583468 M1 313 0.125053 0.0610038 0.0538287 M2 313 0.130294 0.104705 0.0740913 M1 314 0.192956 0.0413812 0.065064 M2 314 0.153958 0.0721573 0.0669193 M1 315 0.119924 0.0593274 0.0523888 M2 315 0.112644 0.0476461 0.0461444 M1 316 0.127743 0.0577492 0.0700978 M2 316 0.108994 0.10072 0.0762818 M1 317 0.16051 0.0438569 0.0592306 M2 317 0.537285 0.0888464 0.161864 M1 318 0.100738 0.0596298 0.051539 M2 318 0.112013 0.0669545 0.0468428 M1 319 0.402804 0.0569587 0.101492 M2 319 0.186568 0.0801016 0.0850162 M1 320 0.309091 0.100051 0.11344 M2 320 0.0922557 0.0206979 0.034221 M1 321 0.166701 0.0692682 0.0497086 M2 321 0.112431 0.0756044 0.0756044 M1 322 0.0765915 0.0585519 0.0422726 M2 322 0.154693 0.0864722 0.0773978 M1 323 0.0776518 0.0700687 0.0467002 M2 323 0.0571436 0.0475374 0.0307321 M1 324 0.0538892 0.0327226 0.0187711 M2 324 0.0862029 0.0398414 0.0398414 M1 325 0.213891 0.0909445 0.0607545 M2 325 0.0707111 0.047537 0.0432804 Table A.24: Table with the thirteenth part of the results from the scope experiment.
68 Appendix A. Results FSM PColl deviation PSq deviation Sq deviation M1 326 0.0761087 0.0622327 0.0328955 M2 326 0.312854 0.0409126 0.0514986 M1 327 0.102209 0.0504517 0.0551573 M2 327 0.0759197 0.0463023 0.0341025 M1 328 0.29064 0.0944766 0.0876885 M2 328 0.102291 0.101437 0.0417158 M1 329 0.0701764 0.0309814 0.0211304 M2 329 0.223266 0.0859622 0.0866693 M1 330 0.33104 0.0346499 0.0360339 M2 330 0.18361 0.0530497 0.0700259 M1 331 0.0542238 0.0238366 0.0192802 M2 331 0.125369 0.0524815 0.0460164 M1 332 0.107805 0.0812237 0.0431844 M2 332 0.0998742 0.0680644 0.0665239 M1 333 0.182451 0.0663325 0.0566946 M2 333 0.305706 0.0969381 0.0979802 M1 334 0.108633 0.0382457 0.0361673 M2 334 0.119153 0.0618699 0.0243992 M1 335 0.131964 0.0466529 0.0265864 M2 335 0.0669222 0.0227871 0.0227871 M1 336 0.103491 0.0975119 0.0402406 M2 336 0.122469 0.0752941 0.0343733 M1 337 0.157223 0.0888566 0.0485888 M2 337 0.106672 0.0343578 0.0373323 M1 338 0.120631 0.0645693 0.059336 M2 338 0.272746 0.0911368 0.086843 M1 339 0.0673564 0.0316809 0.0240207 M2 339 0.171634 0.100511 0.0716773 M1 340 0.173846 0.0955557 0.102227 M2 340 0.156648 0.0875052 0.066874 M1 341 0.114633 0.0544761 0.0402432 M2 341 0.119136 0.0707378 0.0608722 M1 342 0.0824055 0.0433543 0.0671879 M2 342 0.145991 0.0793014 0.0456787 M1 343 0.083107 0.0702971 0.0318762 M2 343 0.100442 0.075337 0.0518129 M1 344 0.141198 0.0693642 0.0550409 M2 344 0.108963 0.128529 0.0361771 M1 345 0.564628 0.0781958 0.125438 M2 345 0.405552 0.0834236 0.102949 M1 346 0.175331 0.0618822 0.0605833 M2 346 0.261561 0.0894602 0.127099 M1 347 0.135733 0.0547477 0.0612163 M2 347 0.10666 0.0655543 0.0523571 M1 348 0.130657 0.0425918 0.039 M2 348 0.323741 0.0508387 0.0318503 M1 349 0.122895 0.081154 0.0553859 M2 349 0.178349 0.0730933 0.0537257 M1 350 0.329279 0.0677303 0.139809 M2 350 0.081584 0.0627299 0.0218783 Table A.25: Table with the fourteenth part of the results from the scope experiment.
A.3. Scope experiment Results 69 FSM PColl deviation PSq deviation Sq deviation M1 351 0.0836284 0.0349514 0.0481058 M2 351 0.550097 0.048125 0.212203 M1 352 0.0471564 0.0408441 0.0227483 M2 352 0.0761967 0.0661829 0.0387159 M1 353 0.163491 0.0607554 0.0562085 M2 353 0.104802 0.0379616 0.0463602 M1 354 0.239421 0.150116 0.0876759 M2 354 0.140764 0.0369418 0.0380205 M1 355 0.23592 0.106742 0.0629564 M2 355 0.210657 0.154168 0.120769 M1 356 0.128 0.0827749 0.0531082 M2 356 0.0850102 0.0616042 0.0353366 M1 357 0.362391 0.0929328 0.117951 M2 357 0.259907 0.128006 0.0699086 M1 358 0.190927 0.069121 0.0523219 M2 358 0.163931 0.0516221 0.0437683 M1 359 0.106474 0.0453301 0.0451783 M2 359 0.191318 0.0445829 0.0529826 M1 360 0.110314 0.043088 0.0467028 M2 360 0.223985 0.0435378 0.0819951 M1 361 0.0642159 0.0412445 0.0308292 M2 361 0.160141 0.0311946 0.0243725 M1 362 0.0899054 0.0305344 0.0471437 M2 362 0.115703 0.0710943 0.0363133 M1 363 0.114217 0.105174 0.0454555 M2 363 0.100206 0.0591558 0.0509891 M1 364 0.137278 0.0451219 0.061306 M2 364 0.0594534 0.074755 0.0269188 M1 365 0.135136 0.075151 0.0622594 M2 365 0.164412 0.071188 0.0574075 M1 366 0.129829 0.071539 0.0624924 M2 366 0.0571338 0.0415076 0.0298653 M1 367 0.389936 0.0815426 0.131336 M2 367 0.0736867 0.100805 0.0309125 M1 368 0.161012 0.0342738 0.0342738 M2 368 0.126231 0.161266 0.0453221 M1 369 0.0712348 0.0262131 0.0253254 M2 369 0.287443 0.107644 0.115839 M1 370 0.195486 0.0519293 0.0699072 M2 370 0.184579 0.0592937 0.0615913 M1 371 0.149858 0.0601982 0.0776519 M2 371 0.103234 0.0648942 0.0335496 M1 372 0.233383 0.111732 0.199478 M2 372 0.246185 0.0983152 0.114257 M1 373 0.331589 0.103725 0.106278 M2 373 0.531864 0.212388 0.186662 M1 374 0.0721423 0.129319 0.0258241 M2 374 0.157147 0.0503036 0.0546872 M1 375 0.124403 0.0608135 0.0540222 M2 375 0.0939925 0.0752171 0.0415776 Table A.26: Table with the fifteenth part of the results from the scope experiment.
70 Appendix A. Results FSM PColl deviation PSq deviation Sq deviation M1 376 0.444925 0.0968971 0.178013 M2 376 0.123667 0.105442 0.0680788 M1 377 0.154677 0.0398125 0.0407833 M2 377 0.11623 0.0549689 0.057883 M1 378 0.187577 0.120065 0.0871466 M2 378 0.078331 0.0434595 0.0358646 M1 379 0.165974 0.125887 0.0513576 M2 379 0.256659 0.0315625 0.0300735 M1 380 0.0936601 0.113404 0.0496139 M2 380 0.345818 0.0592775 0.067112 M1 381 0.121309 0.035956 0.0662846 M2 381 0.139307 0.0437941 0.0438243 M1 382 0.0815675 0.0677259 0.057582 M2 382 0.224799 0.074479 0.100606 M1 383 0.104524 0.0397682 0.0397682 M2 383 0.134564 0.100412 0.038286 M1 384 0.325631 0.0596833 0.116221 M2 384 0.263611 0.0847591 0.0974182 M1 385 0.142313 0.0727891 0.0646429 M2 385 0.0904769 0.0739292 0.0318913 M1 386 0.116867 0.068131 0.0391321 M2 386 0.0926798 0.0948024 0.133598 M1 387 0.143974 0.117427 0.0551444 M2 387 0.131348 0.03251 0.0427484 M1 388 0.0986484 0.0932067 0.0524849 M2 388 0.0832164 0.0597179 0.0481906 M1 389 0.107204 0.0485843 0.0622109 M2 389 0.114703 0.0389334 0.0400975 M1 390 0.172982 0.0815252 0.0490546 M2 390 0.0909663 0.0423376 0.0189775 M1 391 0.156726 0.0680384 0.0596362 M2 391 0.153416 0.10335 0.051864 M1 392 0.0503849 0.128545 0.0287593 M2 392 0.0590931 0.0261697 0.0257582 M1 393 0.174925 0.0708429 0.0768881 M2 393 0.181906 0.036552 0.0610408 M1 394 0.218717 0.154259 0.0911816 M2 394 0.119315 0.056808 0.0466747 M1 395 0.0454145 0.053361 0.0157583 M2 395 0.254073 0.108671 0.139066 M1 396 0.258569 0.102085 0.108523 M2 396 0.175645 0.0268714 0.0754326 M1 397 0.213471 0.0844783 0.0790643 M2 397 0.125871 0.128276 0.0773134 M1 398 0.312753 0.0370443 0.0952464 M2 398 0.143189 0.103731 0.0246615 M1 399 0.197057 0.0875514 0.0718046 M2 399 0.15241 0.110996 0.0777289 M1 400 0.206807 0.0770429 0.0846217 M2 400 0.302098 0.0641582 0.0556008 Table A.27: Table with the sixteenth part of the results from the scope experiment.
A.3. Scope experiment Results 71 FSM PColl deviation PSq deviation Sq deviation M1 401 0.183755 0.0955607 0.0542751 M2 401 0.192876 0.0998242 0.0613003 M1 402 0.0746597 0.0406848 0.0323447 M2 402 0.0935185 0.0393443 0.0393443 M1 403 0.419875 0.115111 0.126829 M2 403 0.119129 0.0532776 0.0532776 M1 404 0.114869 0.0449811 0.049377 M2 404 0.108814 0.0664134 0.0414634 M1 405 0.06945 0.0576064 0.0676418 M2 405 0.238402 0.068933 0.0617063 M1 406 0.197062 0.0977264 0.0632494 M2 406 0.191327 0.0545338 0.0582374 M1 407 0.117061 0.02056 0.02056 M2 407 0.110962 0.0210372 0.0519275 M1 408 0.114483 0.056631 0.056631 M2 408 0.0864762 0.0382932 0.0382113 M1 409 0.335769 0.0495142 0.0914708 M2 409 0.0811428 0.0680475 0.0313734 M1 410 0.291736 0.0455228 0.109149 M2 410 0.132525 0.0336724 0.0399123 M1 411 0.113319 0.00985007 0.00705992 M2 411 0.0943745 0.0301996 0.0301996 M1 412 0.0794742 0.0721892 0.0345698 M2 412 0.0741632 0.0843467 0.0248976 M1 413 0.289244 0.104897 0.0864094 M2 413 0.109083 0.0898442 0.056836 M1 414 0.101575 0.0699479 0.0472249 M2 414 0.249285 0.0512601 0.0512601 M1 415 0.153262 0.049352 0.0511312 M2 415 0.180821 0.097483 0.0809946 M1 416 0.162886 0.0834759 0.0609642 M2 416 0.172094 0.149126 0.0547632 M1 417 0.0681675 0.107257 0.0392274 M2 417 0.0783026 0.0624943 0.059158 M1 418 0.116726 0.0381089 0.0334993 M2 418 0.116937 0.0524779 0.047273 M1 419 0.29639 0.116795 0.139957 M2 419 0.0877382 0.0317133 0.0317133 M1 420 0.107736 0.0870905 0.0459494 M2 420 0.112504 0.0506987 0.0470694 M1 421 0.0798043 0.0407228 0.0455216 M2 421 0.222901 0.0661685 0.081242 M1 422 0.100643 0.0334949 0.0519131 M2 422 0.149788 0.0794397 0.0760595 M1 423 0.0763796 0.0533704 0.0450418 M2 423 0.0990287 0.0501531 0.0674163 M1 424 0.315723 0.0368914 0.046862 M2 424 0.131669 0.0610594 0.0445548 M1 425 0.13802 0.0835154 0.0344518 M2 425 0.070792 0.0533706 0.0351079 Table A.28: Table with the seventeenth part of the results from the scope experiment.
List of Acronyms DRR .......... Domain to Range Ratio FEP .......... Failed Error Propagation FSM .......... Finite State Machine FSMs ......... Finite State Machines FSTs.......... Finite State Transducers SUT .......... System Under Test SUTs ......... Systems Under Test 79