Code Duplication    Length = 5-8 lines in 2 locations

source/CompareResults.php 2 locations

@@ 53-57 (lines=5) @@
50
                            } else {
51
                                $keyCrt                      = $key . '_' . $key2 . '__' . $key3;
52
                                $row[$keyCrt][$pSequence[0]] = $value3;
53
                                if (isset($secondArray[$key][$key2][$key3])) {
54
                                    $row[$keyCrt][$pSequence[1]] = $secondArray[$key][$key2][$key3];
55
                                } else {
56
                                    $row[$keyCrt][$pSequence[1]] = '';
57
                                }
58
                            }
59
                        }
60
                    } else {
@@ 70-77 (lines=8) @@
67
                        }
68
                    }
69
                }
70
            } else {
71
                $row[$key][$pSequence[0]] = $value;
72
                if (isset($secondArray[$key])) {
73
                    $row[$key][$pSequence[1]] = $secondArray[$key];
74
                } else {
75
                    $row[$key][$pSequence[1]] = '';
76
                }
77
            }
78
        }
79
        return $row;
80
    }