PanelTampering.java

1
package com.jsql.view.swing.panel.preferences;
2
3
import com.jsql.util.tampering.TamperingType;
4
import com.jsql.view.swing.panel.PanelPreferences;
5
import com.jsql.view.swing.panel.preferences.listener.TamperingMouseAdapter;
6
import com.jsql.view.swing.popupmenu.JPopupMenuComponent;
7
import com.jsql.view.swing.text.SyntaxTextArea;
8
import com.jsql.view.swing.text.listener.DocumentListenerEditing;
9
import com.jsql.view.swing.util.MediatorHelper;
10
import com.jsql.view.swing.util.UiUtil;
11
import org.apache.commons.lang3.StringUtils;
12
import org.fife.ui.rsyntaxtextarea.RSyntaxTextArea;
13
import org.fife.ui.rsyntaxtextarea.SyntaxConstants;
14
import org.fife.ui.rtextarea.RTextScrollPane;
15
16
import javax.swing.*;
17
import java.util.AbstractMap.SimpleEntry;
18
import java.util.Arrays;
19
import java.util.stream.Stream;
20
21
public class PanelTampering extends JPanel {
22
23
    // no preferences init
24
    private final JCheckBox checkboxIsTamperingBase64 = new JCheckBox();
25
    private final JCheckBox checkboxIsTamperingVersionComment = new JCheckBox();
26
    private final JCheckBox checkboxIsTamperingFunctionComment = new JCheckBox();
27
    private final JCheckBox checkboxIsTamperingEqualToLike = new JCheckBox();
28
    private final JCheckBox checkboxIsTamperingRandomCase = new JCheckBox();
29
    private final JCheckBox checkboxIsTamperingEval = new JCheckBox();
30
    private final JCheckBox checkboxIsTamperingHexToChar = new JCheckBox();
31
    private final JCheckBox checkboxIsTamperingStringToChar = new JCheckBox();
32
    private final JCheckBox checkboxIsTamperingQuoteToUtf8 = new JCheckBox();
33
    private final JCheckBox checkboxIsTamperingCharToEncoding = new JCheckBox();
34
    private final JRadioButton radioIsTamperingSpaceToMultilineComment = new JRadioButton();
35
    private final JRadioButton radioIsTamperingSpaceToDashComment = new JRadioButton();
36
    private final JRadioButton radioIsTamperingSpaceToSharpComment = new JRadioButton();
37
38
    private static final RSyntaxTextArea TEXT_PANE_EVAL = new SyntaxTextArea("Click on a tamper to paste source and edit custom script");
39
40
    public PanelTampering(PanelPreferences panelPreferences) {
41 1 1. <init> : removed call to javax/swing/JCheckBox::setToolTipText → NO_COVERAGE
        this.checkboxIsTamperingEval.setToolTipText("Custom tamper in JavaScript and Java, e.g. sql.replace(/\\+/gm,'/**/')");
42
43 1 1. <init> : removed call to org/fife/ui/rsyntaxtextarea/RSyntaxTextArea::setText → NO_COVERAGE
        PanelTampering.TEXT_PANE_EVAL.setText(StringUtils.EMPTY);
44 1 1. <init> : removed call to org/fife/ui/rsyntaxtextarea/RSyntaxTextArea::setSyntaxEditingStyle → NO_COVERAGE
        PanelTampering.TEXT_PANE_EVAL.setSyntaxEditingStyle(SyntaxConstants.SYNTAX_STYLE_JAVASCRIPT);
45 1 1. <init> : removed call to org/fife/ui/rsyntaxtextarea/RSyntaxTextArea::setPopupMenu → NO_COVERAGE
        PanelTampering.TEXT_PANE_EVAL.setPopupMenu(new JPopupMenuComponent(PanelTampering.TEXT_PANE_EVAL));
46 1 1. <init> : removed call to com/jsql/view/swing/panel/preferences/PanelTampering::applyTheme → NO_COVERAGE
        PanelTampering.applyTheme();
47
48
        var textAreaIsTamperingEval = new RTextScrollPane(PanelTampering.TEXT_PANE_EVAL, false);
49
50 1 1. <init> : removed call to javax/swing/text/Document::addDocumentListener → NO_COVERAGE
        PanelTampering.TEXT_PANE_EVAL.getDocument().addDocumentListener(new DocumentListenerEditing() {
51
            @Override
52
            public void process() {
53 1 1. process : removed call to com/jsql/util/TamperingUtil::setCustomTamper → NO_COVERAGE
                MediatorHelper.model().getMediatorUtils().tamperingUtil().setCustomTamper(PanelTampering.TEXT_PANE_EVAL.getText());
54
            }
55
        });
56 1 1. <init> : removed call to org/fife/ui/rsyntaxtextarea/RSyntaxTextArea::setText → NO_COVERAGE
        PanelTampering.TEXT_PANE_EVAL.setText(MediatorHelper.model().getMediatorUtils().tamperingUtil().getCustomTamper());
57 1 1. <init> : removed call to javax/swing/JCheckBox::addActionListener → NO_COVERAGE
        this.checkboxIsTamperingEval.addActionListener(panelPreferences.getActionListenerSave());
58 1 1. <init> : removed call to javax/swing/JCheckBox::setText → NO_COVERAGE
        this.checkboxIsTamperingEval.setText("Enable user tamper script:");
59
60
        Stream.of(
61
            new SimpleEntry<>(this.checkboxIsTamperingBase64, TamperingType.BASE64),
62
            new SimpleEntry<>(this.checkboxIsTamperingFunctionComment, TamperingType.COMMENT_TO_METHOD_SIGNATURE),
63
            new SimpleEntry<>(this.checkboxIsTamperingVersionComment, TamperingType.VERSIONED_COMMENT_TO_METHOD_SIGNATURE),
64
            new SimpleEntry<>(this.checkboxIsTamperingEqualToLike, TamperingType.EQUAL_TO_LIKE),
65
            new SimpleEntry<>(this.checkboxIsTamperingRandomCase, TamperingType.RANDOM_CASE),
66
            new SimpleEntry<>(this.checkboxIsTamperingHexToChar, TamperingType.HEX_TO_CHAR),
67
            new SimpleEntry<>(this.checkboxIsTamperingStringToChar, TamperingType.STRING_TO_CHAR),
68
            new SimpleEntry<>(this.checkboxIsTamperingQuoteToUtf8, TamperingType.QUOTE_TO_UTF8),
69
            new SimpleEntry<>(this.checkboxIsTamperingCharToEncoding, TamperingType.CHAR_TO_ENCODING),
70
            new SimpleEntry<>(this.radioIsTamperingSpaceToMultilineComment, TamperingType.SPACE_TO_MULTILINE_COMMENT),
71
            new SimpleEntry<>(this.radioIsTamperingSpaceToDashComment, TamperingType.SPACE_TO_DASH_COMMENT),
72
            new SimpleEntry<>(this.radioIsTamperingSpaceToSharpComment, TamperingType.SPACE_TO_SHARP_COMMENT)
73
        )
74 1 1. <init> : removed call to java/util/stream/Stream::forEach → NO_COVERAGE
        .forEach(entry -> {
75 1 1. lambda$new$0 : removed call to javax/swing/JToggleButton::setText → NO_COVERAGE
            entry.getKey().setText(entry.getValue().instance().getDescription());
76 1 1. lambda$new$0 : removed call to javax/swing/JToggleButton::setToolTipText → NO_COVERAGE
            entry.getKey().setToolTipText(entry.getValue().instance().getTooltip());
77 1 1. lambda$new$0 : removed call to javax/swing/JToggleButton::addMouseListener → NO_COVERAGE
            entry.getKey().addMouseListener(new TamperingMouseAdapter(entry.getValue(), PanelTampering.TEXT_PANE_EVAL));
78 1 1. lambda$new$0 : removed call to javax/swing/JToggleButton::addActionListener → NO_COVERAGE
            entry.getKey().addActionListener(panelPreferences.getActionListenerSave());
79
        });
80
81
        var groupSpaceToComment = new ButtonGroup() {
82
            @Override
83
            public void setSelected(ButtonModel buttonModel, boolean isSelected) {
84 1 1. setSelected : negated conditional → NO_COVERAGE
                if (isSelected) {  // Click a 2nd time to uncheck
85 1 1. setSelected : removed call to javax/swing/ButtonGroup::setSelected → NO_COVERAGE
                    super.setSelected(buttonModel, true);
86
                } else {
87 1 1. setSelected : removed call to com/jsql/view/swing/panel/preferences/PanelTampering$2::clearSelection → NO_COVERAGE
                    this.clearSelection();
88
                }
89
            }
90
        };
91 1 1. <init> : removed call to com/jsql/view/swing/panel/preferences/PanelTampering$2::add → NO_COVERAGE
        groupSpaceToComment.add(this.radioIsTamperingSpaceToDashComment);
92 1 1. <init> : removed call to com/jsql/view/swing/panel/preferences/PanelTampering$2::add → NO_COVERAGE
        groupSpaceToComment.add(this.radioIsTamperingSpaceToMultilineComment);
93 1 1. <init> : removed call to com/jsql/view/swing/panel/preferences/PanelTampering$2::add → NO_COVERAGE
        groupSpaceToComment.add(this.radioIsTamperingSpaceToSharpComment);
94
95
        var labelCommonConversion = new JLabel("<html><b>Common tamper</b></html>");
96
        var labelSpaceTamper = new JLabel("<html><br /><b>Space tamper (click again to uncheck)</b></html>");
97
        var labelCustomConversion = new JLabel("<html><br /><b>Custom tamper (hover tamper to show implementation, click to paste)</b></html>");
98 2 1. lambda$new$1 : removed call to javax/swing/JLabel::setBorder → NO_COVERAGE
2. <init> : removed call to java/util/List::forEach → NO_COVERAGE
        Arrays.asList(labelCommonConversion, labelSpaceTamper, labelCustomConversion).forEach(label -> label.setBorder(PanelGeneral.MARGIN));
99
100
        var groupLayout = new GroupLayout(this);
101 1 1. <init> : removed call to com/jsql/view/swing/panel/preferences/PanelTampering::setLayout → NO_COVERAGE
        this.setLayout(groupLayout);
102
        
103 1 1. <init> : removed call to javax/swing/GroupLayout::setHorizontalGroup → NO_COVERAGE
        groupLayout.setHorizontalGroup(
104
            groupLayout
105
            .createSequentialGroup()
106
            .addGroup(
107
                groupLayout
108
                .createParallelGroup(GroupLayout.Alignment.LEADING)
109
                .addComponent(labelCommonConversion)
110
                .addComponent(this.checkboxIsTamperingBase64)
111
                .addComponent(this.checkboxIsTamperingFunctionComment)
112
                .addComponent(this.checkboxIsTamperingVersionComment)
113
                .addComponent(this.checkboxIsTamperingEqualToLike)
114
                .addComponent(this.checkboxIsTamperingRandomCase)
115
                .addComponent(this.checkboxIsTamperingStringToChar)
116
                .addComponent(this.checkboxIsTamperingHexToChar)
117
                .addComponent(this.checkboxIsTamperingQuoteToUtf8)
118
                .addComponent(this.checkboxIsTamperingCharToEncoding)
119
                .addComponent(labelSpaceTamper)
120
                .addComponent(this.radioIsTamperingSpaceToMultilineComment)
121
                .addComponent(this.radioIsTamperingSpaceToDashComment)
122
                .addComponent(this.radioIsTamperingSpaceToSharpComment)
123
                .addComponent(labelCustomConversion)
124
                .addComponent(this.checkboxIsTamperingEval)
125
                .addComponent(textAreaIsTamperingEval)
126
            )
127
        );
128
        
129 1 1. <init> : removed call to javax/swing/GroupLayout::setVerticalGroup → NO_COVERAGE
        groupLayout.setVerticalGroup(
130
            groupLayout
131
            .createSequentialGroup()
132
            .addGroup(
133
                groupLayout
134
                .createParallelGroup(GroupLayout.Alignment.BASELINE)
135
                .addComponent(labelCommonConversion)
136
            )
137
            .addGroup(
138
                groupLayout
139
                .createParallelGroup(GroupLayout.Alignment.BASELINE)
140
                .addComponent(this.checkboxIsTamperingBase64)
141
            )
142
            .addGroup(
143
                groupLayout
144
                .createParallelGroup(GroupLayout.Alignment.BASELINE)
145
                .addComponent(this.checkboxIsTamperingFunctionComment)
146
            )
147
            .addGroup(
148
                groupLayout
149
                .createParallelGroup(GroupLayout.Alignment.BASELINE)
150
                .addComponent(this.checkboxIsTamperingVersionComment)
151
            )
152
            .addGroup(
153
                groupLayout
154
                .createParallelGroup(GroupLayout.Alignment.BASELINE)
155
                .addComponent(this.checkboxIsTamperingEqualToLike)
156
            )
157
            .addGroup(
158
                groupLayout
159
                .createParallelGroup(GroupLayout.Alignment.BASELINE)
160
                .addComponent(this.checkboxIsTamperingRandomCase)
161
            )
162
            .addGroup(
163
                groupLayout
164
                .createParallelGroup(GroupLayout.Alignment.BASELINE)
165
                .addComponent(this.checkboxIsTamperingStringToChar)
166
            )
167
            .addGroup(
168
                groupLayout
169
                .createParallelGroup(GroupLayout.Alignment.BASELINE)
170
                .addComponent(this.checkboxIsTamperingHexToChar)
171
            )
172
            .addGroup(
173
                groupLayout
174
                .createParallelGroup(GroupLayout.Alignment.BASELINE)
175
                .addComponent(this.checkboxIsTamperingQuoteToUtf8)
176
            )
177
            .addGroup(
178
                groupLayout
179
                .createParallelGroup(GroupLayout.Alignment.BASELINE)
180
                .addComponent(this.checkboxIsTamperingCharToEncoding)
181
            )
182
            .addGroup(
183
                groupLayout
184
                .createParallelGroup(GroupLayout.Alignment.BASELINE)
185
                .addComponent(labelSpaceTamper)
186
            )
187
            .addGroup(
188
                groupLayout
189
                .createParallelGroup(GroupLayout.Alignment.BASELINE)
190
                .addComponent(this.radioIsTamperingSpaceToMultilineComment)
191
            )
192
            .addGroup(
193
                groupLayout
194
                .createParallelGroup(GroupLayout.Alignment.BASELINE)
195
                .addComponent(this.radioIsTamperingSpaceToDashComment)
196
            )
197
            .addGroup(
198
                groupLayout
199
                .createParallelGroup(GroupLayout.Alignment.BASELINE)
200
                .addComponent(this.radioIsTamperingSpaceToSharpComment)
201
            )
202
            .addGroup(
203
                groupLayout
204
                .createParallelGroup(GroupLayout.Alignment.BASELINE)
205
                .addComponent(labelCustomConversion)
206
            )
207
            .addGroup(
208
                groupLayout
209
                .createParallelGroup(GroupLayout.Alignment.BASELINE)
210
                .addComponent(this.checkboxIsTamperingEval)
211
            )
212
            .addGroup(
213
                groupLayout
214
                .createParallelGroup(GroupLayout.Alignment.BASELINE)
215
                .addComponent(textAreaIsTamperingEval)
216
            )
217
        );
218
    }
219
220
    public static void applyTheme() {
221 1 1. applyTheme : removed call to com/jsql/view/swing/util/UiUtil::applySyntaxTheme → NO_COVERAGE
        UiUtil.applySyntaxTheme(PanelTampering.TEXT_PANE_EVAL);
222
    }
223
    
224
    
225
    // Getter and setter
226
227
    public JCheckBox getCheckboxIsTamperingBase64() {
228 1 1. getCheckboxIsTamperingBase64 : replaced return value with null for com/jsql/view/swing/panel/preferences/PanelTampering::getCheckboxIsTamperingBase64 → NO_COVERAGE
        return this.checkboxIsTamperingBase64;
229
    }
230
    
231
    public JCheckBox getCheckboxIsTamperingEqualToLike() {
232 1 1. getCheckboxIsTamperingEqualToLike : replaced return value with null for com/jsql/view/swing/panel/preferences/PanelTampering::getCheckboxIsTamperingEqualToLike → NO_COVERAGE
        return this.checkboxIsTamperingEqualToLike;
233
    }
234
    
235
    public JCheckBox getCheckboxIsTamperingFunctionComment() {
236 1 1. getCheckboxIsTamperingFunctionComment : replaced return value with null for com/jsql/view/swing/panel/preferences/PanelTampering::getCheckboxIsTamperingFunctionComment → NO_COVERAGE
        return this.checkboxIsTamperingFunctionComment;
237
    }
238
    
239
    public JCheckBox getCheckboxIsTamperingVersionComment() {
240 1 1. getCheckboxIsTamperingVersionComment : replaced return value with null for com/jsql/view/swing/panel/preferences/PanelTampering::getCheckboxIsTamperingVersionComment → NO_COVERAGE
        return this.checkboxIsTamperingVersionComment;
241
    }
242
    
243
    public JCheckBox getCheckboxIsTamperingRandomCase() {
244 1 1. getCheckboxIsTamperingRandomCase : replaced return value with null for com/jsql/view/swing/panel/preferences/PanelTampering::getCheckboxIsTamperingRandomCase → NO_COVERAGE
        return this.checkboxIsTamperingRandomCase;
245
    }
246
    
247
    public JCheckBox getCheckboxIsTamperingEval() {
248 1 1. getCheckboxIsTamperingEval : replaced return value with null for com/jsql/view/swing/panel/preferences/PanelTampering::getCheckboxIsTamperingEval → NO_COVERAGE
        return this.checkboxIsTamperingEval;
249
    }
250
    
251
    public JRadioButton getRadioIsTamperingSpaceToDashComment() {
252 1 1. getRadioIsTamperingSpaceToDashComment : replaced return value with null for com/jsql/view/swing/panel/preferences/PanelTampering::getRadioIsTamperingSpaceToDashComment → NO_COVERAGE
        return this.radioIsTamperingSpaceToDashComment;
253
    }
254
    
255
    public JRadioButton getRadioIsTamperingSpaceToMultilineComment() {
256 1 1. getRadioIsTamperingSpaceToMultilineComment : replaced return value with null for com/jsql/view/swing/panel/preferences/PanelTampering::getRadioIsTamperingSpaceToMultilineComment → NO_COVERAGE
        return this.radioIsTamperingSpaceToMultilineComment;
257
    }
258
    
259
    public JRadioButton getRadioIsTamperingSpaceToSharpComment() {
260 1 1. getRadioIsTamperingSpaceToSharpComment : replaced return value with null for com/jsql/view/swing/panel/preferences/PanelTampering::getRadioIsTamperingSpaceToSharpComment → NO_COVERAGE
        return this.radioIsTamperingSpaceToSharpComment;
261
    }
262
  
263
    public JCheckBox getCheckboxIsTamperingHexToChar() {
264 1 1. getCheckboxIsTamperingHexToChar : replaced return value with null for com/jsql/view/swing/panel/preferences/PanelTampering::getCheckboxIsTamperingHexToChar → NO_COVERAGE
        return this.checkboxIsTamperingHexToChar;
265
    }
266
    
267
    public JCheckBox getCheckboxIsTamperingQuoteToUtf8() {
268 1 1. getCheckboxIsTamperingQuoteToUtf8 : replaced return value with null for com/jsql/view/swing/panel/preferences/PanelTampering::getCheckboxIsTamperingQuoteToUtf8 → NO_COVERAGE
        return this.checkboxIsTamperingQuoteToUtf8;
269
    }
270
271
    public JCheckBox getCheckboxIsTamperingCharToEncoding() {
272 1 1. getCheckboxIsTamperingCharToEncoding : replaced return value with null for com/jsql/view/swing/panel/preferences/PanelTampering::getCheckboxIsTamperingCharToEncoding → NO_COVERAGE
        return this.checkboxIsTamperingCharToEncoding;
273
    }
274
275
    public JCheckBox getCheckboxIsTamperingStringToChar() {
276 1 1. getCheckboxIsTamperingStringToChar : replaced return value with null for com/jsql/view/swing/panel/preferences/PanelTampering::getCheckboxIsTamperingStringToChar → NO_COVERAGE
        return this.checkboxIsTamperingStringToChar;
277
    }
278
}

Mutations

41

1.1
Location : <init>
Killed by : none
removed call to javax/swing/JCheckBox::setToolTipText → NO_COVERAGE

43

1.1
Location : <init>
Killed by : none
removed call to org/fife/ui/rsyntaxtextarea/RSyntaxTextArea::setText → NO_COVERAGE

44

1.1
Location : <init>
Killed by : none
removed call to org/fife/ui/rsyntaxtextarea/RSyntaxTextArea::setSyntaxEditingStyle → NO_COVERAGE

45

1.1
Location : <init>
Killed by : none
removed call to org/fife/ui/rsyntaxtextarea/RSyntaxTextArea::setPopupMenu → NO_COVERAGE

46

1.1
Location : <init>
Killed by : none
removed call to com/jsql/view/swing/panel/preferences/PanelTampering::applyTheme → NO_COVERAGE

50

1.1
Location : <init>
Killed by : none
removed call to javax/swing/text/Document::addDocumentListener → NO_COVERAGE

53

1.1
Location : process
Killed by : none
removed call to com/jsql/util/TamperingUtil::setCustomTamper → NO_COVERAGE

56

1.1
Location : <init>
Killed by : none
removed call to org/fife/ui/rsyntaxtextarea/RSyntaxTextArea::setText → NO_COVERAGE

57

1.1
Location : <init>
Killed by : none
removed call to javax/swing/JCheckBox::addActionListener → NO_COVERAGE

58

1.1
Location : <init>
Killed by : none
removed call to javax/swing/JCheckBox::setText → NO_COVERAGE

74

1.1
Location : <init>
Killed by : none
removed call to java/util/stream/Stream::forEach → NO_COVERAGE

75

1.1
Location : lambda$new$0
Killed by : none
removed call to javax/swing/JToggleButton::setText → NO_COVERAGE

76

1.1
Location : lambda$new$0
Killed by : none
removed call to javax/swing/JToggleButton::setToolTipText → NO_COVERAGE

77

1.1
Location : lambda$new$0
Killed by : none
removed call to javax/swing/JToggleButton::addMouseListener → NO_COVERAGE

78

1.1
Location : lambda$new$0
Killed by : none
removed call to javax/swing/JToggleButton::addActionListener → NO_COVERAGE

84

1.1
Location : setSelected
Killed by : none
negated conditional → NO_COVERAGE

85

1.1
Location : setSelected
Killed by : none
removed call to javax/swing/ButtonGroup::setSelected → NO_COVERAGE

87

1.1
Location : setSelected
Killed by : none
removed call to com/jsql/view/swing/panel/preferences/PanelTampering$2::clearSelection → NO_COVERAGE

91

1.1
Location : <init>
Killed by : none
removed call to com/jsql/view/swing/panel/preferences/PanelTampering$2::add → NO_COVERAGE

92

1.1
Location : <init>
Killed by : none
removed call to com/jsql/view/swing/panel/preferences/PanelTampering$2::add → NO_COVERAGE

93

1.1
Location : <init>
Killed by : none
removed call to com/jsql/view/swing/panel/preferences/PanelTampering$2::add → NO_COVERAGE

98

1.1
Location : lambda$new$1
Killed by : none
removed call to javax/swing/JLabel::setBorder → NO_COVERAGE

2.2
Location : <init>
Killed by : none
removed call to java/util/List::forEach → NO_COVERAGE

101

1.1
Location : <init>
Killed by : none
removed call to com/jsql/view/swing/panel/preferences/PanelTampering::setLayout → NO_COVERAGE

103

1.1
Location : <init>
Killed by : none
removed call to javax/swing/GroupLayout::setHorizontalGroup → NO_COVERAGE

129

1.1
Location : <init>
Killed by : none
removed call to javax/swing/GroupLayout::setVerticalGroup → NO_COVERAGE

221

1.1
Location : applyTheme
Killed by : none
removed call to com/jsql/view/swing/util/UiUtil::applySyntaxTheme → NO_COVERAGE

228

1.1
Location : getCheckboxIsTamperingBase64
Killed by : none
replaced return value with null for com/jsql/view/swing/panel/preferences/PanelTampering::getCheckboxIsTamperingBase64 → NO_COVERAGE

232

1.1
Location : getCheckboxIsTamperingEqualToLike
Killed by : none
replaced return value with null for com/jsql/view/swing/panel/preferences/PanelTampering::getCheckboxIsTamperingEqualToLike → NO_COVERAGE

236

1.1
Location : getCheckboxIsTamperingFunctionComment
Killed by : none
replaced return value with null for com/jsql/view/swing/panel/preferences/PanelTampering::getCheckboxIsTamperingFunctionComment → NO_COVERAGE

240

1.1
Location : getCheckboxIsTamperingVersionComment
Killed by : none
replaced return value with null for com/jsql/view/swing/panel/preferences/PanelTampering::getCheckboxIsTamperingVersionComment → NO_COVERAGE

244

1.1
Location : getCheckboxIsTamperingRandomCase
Killed by : none
replaced return value with null for com/jsql/view/swing/panel/preferences/PanelTampering::getCheckboxIsTamperingRandomCase → NO_COVERAGE

248

1.1
Location : getCheckboxIsTamperingEval
Killed by : none
replaced return value with null for com/jsql/view/swing/panel/preferences/PanelTampering::getCheckboxIsTamperingEval → NO_COVERAGE

252

1.1
Location : getRadioIsTamperingSpaceToDashComment
Killed by : none
replaced return value with null for com/jsql/view/swing/panel/preferences/PanelTampering::getRadioIsTamperingSpaceToDashComment → NO_COVERAGE

256

1.1
Location : getRadioIsTamperingSpaceToMultilineComment
Killed by : none
replaced return value with null for com/jsql/view/swing/panel/preferences/PanelTampering::getRadioIsTamperingSpaceToMultilineComment → NO_COVERAGE

260

1.1
Location : getRadioIsTamperingSpaceToSharpComment
Killed by : none
replaced return value with null for com/jsql/view/swing/panel/preferences/PanelTampering::getRadioIsTamperingSpaceToSharpComment → NO_COVERAGE

264

1.1
Location : getCheckboxIsTamperingHexToChar
Killed by : none
replaced return value with null for com/jsql/view/swing/panel/preferences/PanelTampering::getCheckboxIsTamperingHexToChar → NO_COVERAGE

268

1.1
Location : getCheckboxIsTamperingQuoteToUtf8
Killed by : none
replaced return value with null for com/jsql/view/swing/panel/preferences/PanelTampering::getCheckboxIsTamperingQuoteToUtf8 → NO_COVERAGE

272

1.1
Location : getCheckboxIsTamperingCharToEncoding
Killed by : none
replaced return value with null for com/jsql/view/swing/panel/preferences/PanelTampering::getCheckboxIsTamperingCharToEncoding → NO_COVERAGE

276

1.1
Location : getCheckboxIsTamperingStringToChar
Killed by : none
replaced return value with null for com/jsql/view/swing/panel/preferences/PanelTampering::getCheckboxIsTamperingStringToChar → NO_COVERAGE

Active mutators

Tests examined


Report generated by PIT 1.22.1