PanelConnection.java

1
package com.jsql.view.swing.panel.preferences;
2
3
import com.jsql.view.swing.panel.PanelPreferences;
4
import com.jsql.view.swing.text.listener.DocumentListenerEditing;
5
import com.jsql.view.swing.ui.BasicColoredSpinnerUI;
6
import com.jsql.view.swing.util.MediatorHelper;
7
import org.apache.commons.lang3.StringUtils;
8
9
import javax.swing.*;
10
import java.awt.*;
11
import java.awt.event.ActionListener;
12
import java.util.stream.Stream;
13
14
public class PanelConnection extends JPanel {
15
16
    private final JCheckBox checkboxIsFollowingRedirection = new JCheckBox(StringUtils.EMPTY, MediatorHelper.model().getMediatorUtils().getPreferencesUtil().isFollowingRedirection());
17
    private final JCheckBox checkboxIsHttp2Disabled = new JCheckBox(StringUtils.EMPTY, MediatorHelper.model().getMediatorUtils().getPreferencesUtil().isHttp2Disabled());
18
    private final JCheckBox checkboxIsNotTestingConnection = new JCheckBox(StringUtils.EMPTY, MediatorHelper.model().getMediatorUtils().getPreferencesUtil().isNotTestingConnection());
19
    private final JCheckBox checkboxIsNotProcessingCookies = new JCheckBox(StringUtils.EMPTY, MediatorHelper.model().getMediatorUtils().getPreferencesUtil().isNotProcessingCookies());
20
    private final JCheckBox checkboxIsProcessingCsrf = new JCheckBox(StringUtils.EMPTY, MediatorHelper.model().getMediatorUtils().getPreferencesUtil().isProcessingCsrf());
21
    private final JCheckBox checkboxIsLimitingThreads = new JCheckBox(StringUtils.EMPTY, MediatorHelper.model().getMediatorUtils().getPreferencesUtil().isLimitingThreads());
22
    private final JCheckBox checkboxIsConnectionTimeout = new JCheckBox(StringUtils.EMPTY, MediatorHelper.model().getMediatorUtils().getPreferencesUtil().isConnectionTimeout());
23
    private final JCheckBox checkboxIsUnicodeDecodeDisabled = new JCheckBox(StringUtils.EMPTY, MediatorHelper.model().getMediatorUtils().getPreferencesUtil().isUnicodeDecodeDisabled());
24
    private final JCheckBox checkboxIsUrlDecodeDisabled = new JCheckBox(StringUtils.EMPTY, MediatorHelper.model().getMediatorUtils().getPreferencesUtil().isUrlDecodeDisabled());
25
    
26
    private final JSpinner spinnerLimitingThreads = new JSpinner();
27
    private final JSpinner spinnerConnectionTimeout = new JSpinner();
28
    
29
    private final JCheckBox checkboxIsCsrfUserTag = new JCheckBox(StringUtils.EMPTY, MediatorHelper.model().getMediatorUtils().getPreferencesUtil().isCsrfUserTag());
30
    private final JTextField textfieldCustomCsrfInputToken = new JTextField(MediatorHelper.model().getMediatorUtils().getPreferencesUtil().csrfUserTag());
31
    private final JTextField textfieldCustomCsrfOutputToken = new JTextField(MediatorHelper.model().getMediatorUtils().getPreferencesUtil().csrfUserTagOutput());
32
    
33
    public PanelConnection(PanelPreferences panelPreferences) {
34
        
35 1 1. <init> : removed call to com/jsql/view/swing/panel/preferences/PanelConnection::setBorder → NO_COVERAGE
        this.setBorder(BorderFactory.createEmptyBorder(10, 0, 0, 0));
36
        
37
        var tooltipIsFollowingRedirection = "<html>HTTP 3XX response indicates page's location has changed.<br>" +
38
            "Redirect automatically to the new location.</html>";
39 1 1. <init> : removed call to javax/swing/JCheckBox::setToolTipText → NO_COVERAGE
        this.checkboxIsFollowingRedirection.setToolTipText(tooltipIsFollowingRedirection);
40 1 1. <init> : removed call to javax/swing/JCheckBox::setFocusable → NO_COVERAGE
        this.checkboxIsFollowingRedirection.setFocusable(false);
41
        var labelIsFollowingRedirection = new JButton("Follow redirection");
42 1 1. <init> : removed call to javax/swing/JButton::setToolTipText → NO_COVERAGE
        labelIsFollowingRedirection.setToolTipText(tooltipIsFollowingRedirection);
43 1 1. <init> : removed call to javax/swing/JButton::addActionListener → NO_COVERAGE
        labelIsFollowingRedirection.addActionListener(actionEvent -> {
44
            
45 2 1. lambda$new$0 : negated conditional → NO_COVERAGE
2. lambda$new$0 : removed call to javax/swing/JCheckBox::setSelected → NO_COVERAGE
            this.checkboxIsFollowingRedirection.setSelected(!this.checkboxIsFollowingRedirection.isSelected());
46 1 1. lambda$new$0 : removed call to java/awt/event/ActionListener::actionPerformed → NO_COVERAGE
            panelPreferences.getActionListenerSave().actionPerformed(null);
47
        });
48
        
49
        var tooltipIsHttp2Disabled = "<html>Some website works with HTTP/1.1 only.<br>Disable HTTP/2 in favor of HTTP/1.1.</html>";
50 1 1. <init> : removed call to javax/swing/JCheckBox::setToolTipText → NO_COVERAGE
        this.checkboxIsHttp2Disabled.setToolTipText(tooltipIsHttp2Disabled);
51 1 1. <init> : removed call to javax/swing/JCheckBox::setFocusable → NO_COVERAGE
        this.checkboxIsHttp2Disabled.setFocusable(false);
52
        var labelIsHttp2Disabled = new JButton("Disable HTTP/2");
53 1 1. <init> : removed call to javax/swing/JButton::setToolTipText → NO_COVERAGE
        labelIsHttp2Disabled.setToolTipText(tooltipIsHttp2Disabled);
54 1 1. <init> : removed call to javax/swing/JButton::addActionListener → NO_COVERAGE
        labelIsHttp2Disabled.addActionListener(actionEvent -> {
55
            
56 2 1. lambda$new$1 : removed call to javax/swing/JCheckBox::setSelected → NO_COVERAGE
2. lambda$new$1 : negated conditional → NO_COVERAGE
            this.checkboxIsHttp2Disabled.setSelected(!this.checkboxIsHttp2Disabled.isSelected());
57 1 1. lambda$new$1 : removed call to java/awt/event/ActionListener::actionPerformed → NO_COVERAGE
            panelPreferences.getActionListenerSave().actionPerformed(null);
58
        });
59
        
60
        var tooltipIsUnicodeDecodeDisabled = "<html>Unicode entities \\uXXXX are decoded to raw characters by default.<br>" +
61
            "Check to disable this behavior.</html>";
62 1 1. <init> : removed call to javax/swing/JCheckBox::setToolTipText → NO_COVERAGE
        this.checkboxIsUnicodeDecodeDisabled.setToolTipText(tooltipIsUnicodeDecodeDisabled);
63 1 1. <init> : removed call to javax/swing/JCheckBox::setFocusable → NO_COVERAGE
        this.checkboxIsUnicodeDecodeDisabled.setFocusable(false);
64
        var labelIsUnicodeDecodeDisabled = new JButton("Disable Unicode decoding in response");
65 1 1. <init> : removed call to javax/swing/JButton::setToolTipText → NO_COVERAGE
        labelIsUnicodeDecodeDisabled.setToolTipText(tooltipIsUnicodeDecodeDisabled);
66 1 1. <init> : removed call to javax/swing/JButton::addActionListener → NO_COVERAGE
        labelIsUnicodeDecodeDisabled.addActionListener(actionEvent -> {
67
            
68 2 1. lambda$new$2 : negated conditional → NO_COVERAGE
2. lambda$new$2 : removed call to javax/swing/JCheckBox::setSelected → NO_COVERAGE
            this.checkboxIsUnicodeDecodeDisabled.setSelected(!this.checkboxIsUnicodeDecodeDisabled.isSelected());
69 1 1. lambda$new$2 : removed call to java/awt/event/ActionListener::actionPerformed → NO_COVERAGE
            panelPreferences.getActionListenerSave().actionPerformed(null);
70
        });
71
        
72
        var tooltipIsUrlDecodeDisabled = "<html>Url entities %XX are decoded to raw characters by default.<br>" +
73
            "Check to disable this behavior.</html>";
74 1 1. <init> : removed call to javax/swing/JCheckBox::setToolTipText → NO_COVERAGE
        this.checkboxIsUrlDecodeDisabled.setToolTipText(tooltipIsUrlDecodeDisabled);
75 1 1. <init> : removed call to javax/swing/JCheckBox::setFocusable → NO_COVERAGE
        this.checkboxIsUrlDecodeDisabled.setFocusable(false);
76
        var labelIsUrlDecodeDisabled = new JButton("Disable Url decoding in response");
77 1 1. <init> : removed call to javax/swing/JButton::setToolTipText → NO_COVERAGE
        labelIsUrlDecodeDisabled.setToolTipText(tooltipIsUrlDecodeDisabled);
78 1 1. <init> : removed call to javax/swing/JButton::addActionListener → NO_COVERAGE
        labelIsUrlDecodeDisabled.addActionListener(actionEvent -> {
79
            
80 2 1. lambda$new$3 : removed call to javax/swing/JCheckBox::setSelected → NO_COVERAGE
2. lambda$new$3 : negated conditional → NO_COVERAGE
            this.checkboxIsUrlDecodeDisabled.setSelected(!this.checkboxIsUrlDecodeDisabled.isSelected());
81 1 1. lambda$new$3 : removed call to java/awt/event/ActionListener::actionPerformed → NO_COVERAGE
            panelPreferences.getActionListenerSave().actionPerformed(null);
82
        });
83
        
84
        var tooltipTestConnection = "<html>Connectivity to target is checked first to stop when target is dead, like with 404 Not Found.<br>"
85
            + "Check option to process with injection whatever problem exists.</html>";
86 1 1. <init> : removed call to javax/swing/JCheckBox::setToolTipText → NO_COVERAGE
        this.checkboxIsNotTestingConnection.setToolTipText(tooltipTestConnection);
87 1 1. <init> : removed call to javax/swing/JCheckBox::setFocusable → NO_COVERAGE
        this.checkboxIsNotTestingConnection.setFocusable(false);
88
        var labelIsNotTestingConnection = new JButton("Disable connection test");
89 1 1. <init> : removed call to javax/swing/JButton::setToolTipText → NO_COVERAGE
        labelIsNotTestingConnection.setToolTipText(tooltipTestConnection);
90 1 1. <init> : removed call to javax/swing/JButton::addActionListener → NO_COVERAGE
        labelIsNotTestingConnection.addActionListener(actionEvent -> {
91
            
92 2 1. lambda$new$4 : negated conditional → NO_COVERAGE
2. lambda$new$4 : removed call to javax/swing/JCheckBox::setSelected → NO_COVERAGE
            this.checkboxIsNotTestingConnection.setSelected(!this.checkboxIsNotTestingConnection.isSelected());
93 1 1. lambda$new$4 : removed call to java/awt/event/ActionListener::actionPerformed → NO_COVERAGE
            panelPreferences.getActionListenerSave().actionPerformed(null);
94
        });
95
        
96
        var tooltipIsNotProcessingCookies = "<html>Cookies persist data between connections.<br>" +
97
            "Sometimes persisted data like user's session is messing with injection and have to be ignored.</html>";
98 1 1. <init> : removed call to javax/swing/JCheckBox::setToolTipText → NO_COVERAGE
        this.checkboxIsNotProcessingCookies.setToolTipText(tooltipIsNotProcessingCookies);
99 1 1. <init> : removed call to javax/swing/JCheckBox::setFocusable → NO_COVERAGE
        this.checkboxIsNotProcessingCookies.setFocusable(false);
100
        var labelIsNotProcessingCookies = new JButton("Disable session cookies");
101 1 1. <init> : removed call to javax/swing/JButton::setToolTipText → NO_COVERAGE
        labelIsNotProcessingCookies.setToolTipText(tooltipIsNotProcessingCookies);
102
        
103
        var tooltipIsLimitingThreads = "<html>Various tasks are processed in parallel to save time.<br>"
104
            + "Target that detects too much calls during a period can close the connection,<br>"
105
            + "in that case it helps lowering threads or keeping a single thread.</html>";
106 1 1. <init> : removed call to javax/swing/JCheckBox::setToolTipText → NO_COVERAGE
        this.checkboxIsLimitingThreads.setToolTipText(tooltipIsLimitingThreads);
107 1 1. <init> : removed call to javax/swing/JCheckBox::setFocusable → NO_COVERAGE
        this.checkboxIsLimitingThreads.setFocusable(false);
108
        var labelIsLimitingThreads = new JButton("Limit processing to");
109 1 1. <init> : removed call to javax/swing/JButton::setToolTipText → NO_COVERAGE
        labelIsLimitingThreads.setToolTipText(tooltipIsLimitingThreads);
110 1 1. <init> : removed call to javax/swing/JButton::addActionListener → NO_COVERAGE
        labelIsLimitingThreads.addActionListener(actionEvent -> {
111
            
112 2 1. lambda$new$5 : negated conditional → NO_COVERAGE
2. lambda$new$5 : removed call to javax/swing/JCheckBox::setSelected → NO_COVERAGE
            this.checkboxIsLimitingThreads.setSelected(!this.checkboxIsLimitingThreads.isSelected());
113 1 1. lambda$new$5 : removed call to java/awt/event/ActionListener::actionPerformed → NO_COVERAGE
            panelPreferences.getActionListenerSave().actionPerformed(null);
114
        });
115
        
116
        var tooltipIsConnectionTimeout = "End connection when target takes this long to answer, it can be lowered down to save time in some cases.";
117 1 1. <init> : removed call to javax/swing/JCheckBox::setToolTipText → NO_COVERAGE
        this.checkboxIsConnectionTimeout.setToolTipText(tooltipIsConnectionTimeout);
118 1 1. <init> : removed call to javax/swing/JCheckBox::setFocusable → NO_COVERAGE
        this.checkboxIsConnectionTimeout.setFocusable(false);
119
        var labelIsConnectionTimeout = new JButton("Timeout after");
120 1 1. <init> : removed call to javax/swing/JButton::setToolTipText → NO_COVERAGE
        labelIsConnectionTimeout.setToolTipText(tooltipIsConnectionTimeout);
121 1 1. <init> : removed call to javax/swing/JButton::addActionListener → NO_COVERAGE
        labelIsConnectionTimeout.addActionListener(actionEvent -> {
122
            
123 2 1. lambda$new$6 : removed call to javax/swing/JCheckBox::setSelected → NO_COVERAGE
2. lambda$new$6 : negated conditional → NO_COVERAGE
            this.checkboxIsConnectionTimeout.setSelected(!this.checkboxIsConnectionTimeout.isSelected());
124 1 1. lambda$new$6 : removed call to java/awt/event/ActionListener::actionPerformed → NO_COVERAGE
            panelPreferences.getActionListenerSave().actionPerformed(null);
125
        });
126
        
127
        var tooltipProcessCsrf = "<html>Search for common CSRF tokens in response header and body.<br>" +
128
            "Inject back the value in the query, header and request body.</html>";
129 1 1. <init> : removed call to javax/swing/JCheckBox::setToolTipText → NO_COVERAGE
        this.checkboxIsProcessingCsrf.setToolTipText(tooltipProcessCsrf);
130 1 1. <init> : removed call to javax/swing/JCheckBox::setFocusable → NO_COVERAGE
        this.checkboxIsProcessingCsrf.setFocusable(false);
131
        var labelIsProcessingCsrf = new JButton("Process CSRF token (search for XSRF-TOKEN/.../_csrf ; then set X-XSRF-TOKEN/.../_csrf)");
132 1 1. <init> : removed call to javax/swing/JButton::setToolTipText → NO_COVERAGE
        labelIsProcessingCsrf.setToolTipText(tooltipProcessCsrf);
133 1 1. <init> : removed call to javax/swing/JButton::addActionListener → NO_COVERAGE
        labelIsProcessingCsrf.addActionListener(actionEvent -> {
134
            
135 2 1. lambda$new$7 : negated conditional → NO_COVERAGE
2. lambda$new$7 : removed call to javax/swing/JCheckBox::setSelected → NO_COVERAGE
            this.checkboxIsProcessingCsrf.setSelected(!this.checkboxIsProcessingCsrf.isSelected());
136 1 1. lambda$new$7 : removed call to java/awt/event/ActionListener::actionPerformed → NO_COVERAGE
            panelPreferences.getActionListenerSave().actionPerformed(null);
137
        });
138
        
139
        var panelConnectionTimeout = new JPanel(new BorderLayout());
140 1 1. <init> : removed call to javax/swing/JPanel::add → NO_COVERAGE
        panelConnectionTimeout.add(labelIsConnectionTimeout, BorderLayout.WEST);
141 1 1. <init> : removed call to javax/swing/JPanel::add → NO_COVERAGE
        panelConnectionTimeout.add(this.spinnerConnectionTimeout, BorderLayout.CENTER);
142 1 1. <init> : removed call to javax/swing/JPanel::add → NO_COVERAGE
        panelConnectionTimeout.add(new JLabel(" s ; default 15s"), BorderLayout.EAST);
143 1 1. <init> : removed call to javax/swing/JPanel::setMaximumSize → NO_COVERAGE
        panelConnectionTimeout.setMaximumSize(new Dimension(125, this.spinnerConnectionTimeout.getPreferredSize().height));
144 2 1. <init> : removed call to javax/swing/JSpinner::addChangeListener → NO_COVERAGE
2. lambda$new$8 : removed call to java/awt/event/ActionListener::actionPerformed → NO_COVERAGE
        this.spinnerConnectionTimeout.addChangeListener(e -> panelPreferences.getActionListenerSave().actionPerformed(null));
145
        
146
        int countConnectionTimeout = MediatorHelper.model().getMediatorUtils().getPreferencesUtil().countConnectionTimeout();
147
        var spinnerConnectionModel = new SpinnerNumberModel(
148 2 1. <init> : negated conditional → NO_COVERAGE
2. <init> : changed conditional boundary → NO_COVERAGE
            countConnectionTimeout <= 0 ? 15 : countConnectionTimeout,
149
            1,
150
            30,
151
            1
152
        );
153 1 1. <init> : removed call to javax/swing/JSpinner::setModel → NO_COVERAGE
        this.spinnerConnectionTimeout.setModel(spinnerConnectionModel);
154 1 1. <init> : removed call to javax/swing/JSpinner::setUI → NO_COVERAGE
        this.spinnerConnectionTimeout.setUI(new BasicColoredSpinnerUI());
155 1 1. <init> : removed call to javax/swing/JSpinner::addMouseWheelListener → NO_COVERAGE
        this.spinnerConnectionTimeout.addMouseWheelListener(new SpinnerMouseWheelListener());
156
        
157
        var panelThreadCount = new JPanel(new BorderLayout());
158 1 1. <init> : removed call to javax/swing/JPanel::add → NO_COVERAGE
        panelThreadCount.add(labelIsLimitingThreads, BorderLayout.WEST);
159 1 1. <init> : removed call to javax/swing/JPanel::add → NO_COVERAGE
        panelThreadCount.add(this.spinnerLimitingThreads, BorderLayout.CENTER);
160 1 1. <init> : removed call to javax/swing/JPanel::add → NO_COVERAGE
        panelThreadCount.add(new JLabel(" thread(s) ; default 5 threads"), BorderLayout.EAST);
161 1 1. <init> : removed call to javax/swing/JPanel::setMaximumSize → NO_COVERAGE
        panelThreadCount.setMaximumSize(new Dimension(125, this.spinnerLimitingThreads.getPreferredSize().height));
162 2 1. <init> : removed call to javax/swing/JSpinner::addChangeListener → NO_COVERAGE
2. lambda$new$9 : removed call to java/awt/event/ActionListener::actionPerformed → NO_COVERAGE
        this.spinnerLimitingThreads.addChangeListener(e -> panelPreferences.getActionListenerSave().actionPerformed(null));
163
        
164
        int countLimitingThreads = MediatorHelper.model().getMediatorUtils().getPreferencesUtil().countLimitingThreads();
165
        var spinnerNumberModel = new SpinnerNumberModel(
166 2 1. <init> : negated conditional → NO_COVERAGE
2. <init> : changed conditional boundary → NO_COVERAGE
            countLimitingThreads <= 0 ? 10 : countLimitingThreads,
167
            1,
168
            100,
169
            1
170
        );
171 1 1. <init> : removed call to javax/swing/JSpinner::setModel → NO_COVERAGE
        this.spinnerLimitingThreads.setModel(spinnerNumberModel);
172 1 1. <init> : removed call to javax/swing/JSpinner::setUI → NO_COVERAGE
        this.spinnerLimitingThreads.setUI(new BasicColoredSpinnerUI());
173 1 1. <init> : removed call to javax/swing/JSpinner::addMouseWheelListener → NO_COVERAGE
        this.spinnerLimitingThreads.addMouseWheelListener(new SpinnerMouseWheelListener());
174
        
175
        var tooltipIsCsrfUserTag = "<html>Process custom CSRF.<br>" +
176
            "Read value from input token and write value to output token.</html>";
177 1 1. <init> : removed call to javax/swing/JCheckBox::setToolTipText → NO_COVERAGE
        this.checkboxIsCsrfUserTag.setToolTipText(tooltipIsCsrfUserTag);
178 1 1. <init> : removed call to javax/swing/JCheckBox::setFocusable → NO_COVERAGE
        this.checkboxIsCsrfUserTag.setFocusable(false);
179
        var labelIsCsrfUserTag = new JButton("Custom CSRF ; Input token");
180
        var labelIsCsrfUserTagOutput = new JButton("; Output token");
181 1 1. <init> : removed call to javax/swing/JButton::setToolTipText → NO_COVERAGE
        labelIsCsrfUserTag.setToolTipText(tooltipIsCsrfUserTag);
182 1 1. <init> : removed call to javax/swing/JButton::setToolTipText → NO_COVERAGE
        labelIsCsrfUserTagOutput.setToolTipText(tooltipIsCsrfUserTag);
183 1 1. <init> : removed call to javax/swing/JButton::addActionListener → NO_COVERAGE
        labelIsCsrfUserTag.addActionListener(actionEvent -> {
184
            
185 2 1. lambda$new$10 : negated conditional → NO_COVERAGE
2. lambda$new$10 : removed call to javax/swing/JCheckBox::setSelected → NO_COVERAGE
            this.checkboxIsCsrfUserTag.setSelected(!this.checkboxIsCsrfUserTag.isSelected());
186 1 1. lambda$new$10 : removed call to java/awt/event/ActionListener::actionPerformed → NO_COVERAGE
            panelPreferences.getActionListenerSave().actionPerformed(null);
187
        });
188 1 1. <init> : removed call to javax/swing/JButton::addActionListener → NO_COVERAGE
        labelIsCsrfUserTagOutput.addActionListener(actionEvent -> {
189
            
190 2 1. lambda$new$11 : negated conditional → NO_COVERAGE
2. lambda$new$11 : removed call to javax/swing/JCheckBox::setSelected → NO_COVERAGE
            this.checkboxIsCsrfUserTag.setSelected(!this.checkboxIsCsrfUserTag.isSelected());
191 1 1. lambda$new$11 : removed call to java/awt/event/ActionListener::actionPerformed → NO_COVERAGE
            panelPreferences.getActionListenerSave().actionPerformed(null);
192
        });
193
        
194
        var panelCsrfUserTag = new JPanel();
195 1 1. <init> : removed call to javax/swing/JPanel::setLayout → NO_COVERAGE
        panelCsrfUserTag.setLayout(new BoxLayout(panelCsrfUserTag, BoxLayout.X_AXIS));
196
        panelCsrfUserTag.add(labelIsCsrfUserTag);
197
        panelCsrfUserTag.add(this.textfieldCustomCsrfInputToken);
198
        panelCsrfUserTag.add(labelIsCsrfUserTagOutput);
199
        panelCsrfUserTag.add(this.textfieldCustomCsrfOutputToken);
200 1 1. <init> : removed call to javax/swing/JPanel::setMaximumSize → NO_COVERAGE
        panelCsrfUserTag.setMaximumSize(new Dimension(450, this.textfieldCustomCsrfInputToken.getPreferredSize().height));
201 1 1. <init> : removed call to javax/swing/JTextField::setHorizontalAlignment → NO_COVERAGE
        this.textfieldCustomCsrfInputToken.setHorizontalAlignment(SwingConstants.RIGHT);
202 1 1. <init> : removed call to javax/swing/JTextField::setHorizontalAlignment → NO_COVERAGE
        this.textfieldCustomCsrfOutputToken.setHorizontalAlignment(SwingConstants.RIGHT);
203 1 1. <init> : removed call to javax/swing/text/Document::addDocumentListener → NO_COVERAGE
        this.textfieldCustomCsrfInputToken.getDocument().addDocumentListener(new DocumentListenerEditing() {
204
            @Override
205
            public void process() {
206 1 1. process : removed call to java/awt/event/ActionListener::actionPerformed → NO_COVERAGE
                panelPreferences.getActionListenerSave().actionPerformed(null);
207
            }
208
        });
209 1 1. <init> : removed call to javax/swing/text/Document::addDocumentListener → NO_COVERAGE
        this.textfieldCustomCsrfOutputToken.getDocument().addDocumentListener(new DocumentListenerEditing() {
210
            @Override
211
            public void process() {
212 1 1. process : removed call to java/awt/event/ActionListener::actionPerformed → NO_COVERAGE
                panelPreferences.getActionListenerSave().actionPerformed(null);
213
            }
214
        });
215
        
216
        ActionListener actionListenerNotProcessingCookies = actionEvent -> {
217
            
218 2 1. lambda$new$12 : removed call to javax/swing/JCheckBox::setSelected → NO_COVERAGE
2. lambda$new$12 : negated conditional → NO_COVERAGE
            this.checkboxIsNotProcessingCookies.setSelected(!this.checkboxIsNotProcessingCookies.isSelected());
219
            
220 2 1. lambda$new$12 : negated conditional → NO_COVERAGE
2. lambda$new$12 : removed call to javax/swing/JCheckBox::setEnabled → NO_COVERAGE
            this.checkboxIsProcessingCsrf.setEnabled(!this.checkboxIsNotProcessingCookies.isSelected());
221 2 1. lambda$new$12 : negated conditional → NO_COVERAGE
2. lambda$new$12 : removed call to javax/swing/JButton::setEnabled → NO_COVERAGE
            labelIsProcessingCsrf.setEnabled(!this.checkboxIsNotProcessingCookies.isSelected());
222
            
223 2 1. lambda$new$12 : negated conditional → NO_COVERAGE
2. lambda$new$12 : removed call to javax/swing/JTextField::setEnabled → NO_COVERAGE
            this.textfieldCustomCsrfInputToken.setEnabled(!this.checkboxIsNotProcessingCookies.isSelected());
224 2 1. lambda$new$12 : negated conditional → NO_COVERAGE
2. lambda$new$12 : removed call to javax/swing/JTextField::setEnabled → NO_COVERAGE
            this.textfieldCustomCsrfOutputToken.setEnabled(!this.checkboxIsNotProcessingCookies.isSelected());
225 2 1. lambda$new$12 : negated conditional → NO_COVERAGE
2. lambda$new$12 : removed call to javax/swing/JCheckBox::setEnabled → NO_COVERAGE
            this.checkboxIsCsrfUserTag.setEnabled(!this.checkboxIsNotProcessingCookies.isSelected());
226 2 1. lambda$new$12 : negated conditional → NO_COVERAGE
2. lambda$new$12 : removed call to javax/swing/JButton::setEnabled → NO_COVERAGE
            labelIsCsrfUserTag.setEnabled(!this.checkboxIsNotProcessingCookies.isSelected());
227 2 1. lambda$new$12 : removed call to javax/swing/JButton::setEnabled → NO_COVERAGE
2. lambda$new$12 : negated conditional → NO_COVERAGE
            labelIsCsrfUserTagOutput.setEnabled(!this.checkboxIsNotProcessingCookies.isSelected());
228
            
229 1 1. lambda$new$12 : removed call to java/awt/event/ActionListener::actionPerformed → NO_COVERAGE
            panelPreferences.getActionListenerSave().actionPerformed(null);
230
        };
231
        
232 1 1. <init> : removed call to javax/swing/JButton::addActionListener → NO_COVERAGE
        labelIsNotProcessingCookies.addActionListener(actionListenerNotProcessingCookies);
233
        
234 2 1. <init> : removed call to javax/swing/JButton::setEnabled → NO_COVERAGE
2. <init> : negated conditional → NO_COVERAGE
        labelIsProcessingCsrf.setEnabled(!this.checkboxIsNotProcessingCookies.isSelected());
235
        
236 2 1. <init> : removed call to javax/swing/JTextField::setEnabled → NO_COVERAGE
2. <init> : negated conditional → NO_COVERAGE
        this.textfieldCustomCsrfInputToken.setEnabled(!this.checkboxIsNotProcessingCookies.isSelected());
237 2 1. <init> : removed call to javax/swing/JTextField::setEnabled → NO_COVERAGE
2. <init> : negated conditional → NO_COVERAGE
        this.textfieldCustomCsrfOutputToken.setEnabled(!this.checkboxIsNotProcessingCookies.isSelected());
238 2 1. <init> : removed call to javax/swing/JCheckBox::setEnabled → NO_COVERAGE
2. <init> : negated conditional → NO_COVERAGE
        this.checkboxIsProcessingCsrf.setEnabled(!this.checkboxIsNotProcessingCookies.isSelected());
239 2 1. <init> : removed call to javax/swing/JCheckBox::setEnabled → NO_COVERAGE
2. <init> : negated conditional → NO_COVERAGE
        this.checkboxIsCsrfUserTag.setEnabled(!this.checkboxIsNotProcessingCookies.isSelected());
240 2 1. <init> : negated conditional → NO_COVERAGE
2. <init> : removed call to javax/swing/JButton::setEnabled → NO_COVERAGE
        labelIsCsrfUserTag.setEnabled(!this.checkboxIsNotProcessingCookies.isSelected());
241 2 1. <init> : removed call to javax/swing/JButton::setEnabled → NO_COVERAGE
2. <init> : negated conditional → NO_COVERAGE
        labelIsCsrfUserTagOutput.setEnabled(!this.checkboxIsNotProcessingCookies.isSelected());
242
        
243
        var emptyLabelSessionManagement = new JLabel();
244
        var labelSessionManagement = new JLabel("<html><br /><b>Session and Cookie management</b></html>");
245
        
246
        var groupLayout = new GroupLayout(this);
247 1 1. <init> : removed call to com/jsql/view/swing/panel/preferences/PanelConnection::setLayout → NO_COVERAGE
        this.setLayout(groupLayout);
248
        
249
        Stream.of(
250
            this.checkboxIsFollowingRedirection,
251
            this.checkboxIsHttp2Disabled,
252
            this.checkboxIsUnicodeDecodeDisabled,
253
            this.checkboxIsUrlDecodeDisabled,
254
            this.checkboxIsNotTestingConnection,
255
            this.checkboxIsProcessingCsrf,
256
            this.checkboxIsCsrfUserTag,
257
            this.checkboxIsNotProcessingCookies,
258
            this.checkboxIsLimitingThreads,
259
            this.checkboxIsConnectionTimeout
260
        )
261 2 1. lambda$new$13 : removed call to javax/swing/JCheckBox::addActionListener → NO_COVERAGE
2. <init> : removed call to java/util/stream/Stream::forEach → NO_COVERAGE
        .forEach(button -> button.addActionListener(panelPreferences.getActionListenerSave()));
262
        
263 1 1. <init> : removed call to javax/swing/JCheckBox::setName → NO_COVERAGE
        this.checkboxIsFollowingRedirection.setName("checkboxIsFollowingRedirection");
264 1 1. <init> : removed call to javax/swing/JCheckBox::setName → NO_COVERAGE
        this.checkboxIsHttp2Disabled.setName("checkboxIsHttp2Disabled");
265 1 1. <init> : removed call to javax/swing/JCheckBox::setName → NO_COVERAGE
        this.checkboxIsUnicodeDecodeDisabled.setName("checkboxIsUnicodeDecodeDisabled");
266 1 1. <init> : removed call to javax/swing/JCheckBox::setName → NO_COVERAGE
        this.checkboxIsUrlDecodeDisabled.setName("checkboxIsUrlDecodeDisabled");
267 1 1. <init> : removed call to javax/swing/JCheckBox::setName → NO_COVERAGE
        this.checkboxIsNotTestingConnection.setName("checkboxIsNotTestingConnection");
268 1 1. <init> : removed call to javax/swing/JCheckBox::setName → NO_COVERAGE
        this.checkboxIsProcessingCsrf.setName("checkboxIsProcessingCsrf");
269 1 1. <init> : removed call to javax/swing/JCheckBox::setName → NO_COVERAGE
        this.checkboxIsCsrfUserTag.setName("checkboxIsCsrfUserTag");
270 1 1. <init> : removed call to javax/swing/JCheckBox::setName → NO_COVERAGE
        this.checkboxIsNotProcessingCookies.setName("checkboxIsNotProcessingCookies");
271 1 1. <init> : removed call to javax/swing/JCheckBox::setName → NO_COVERAGE
        this.checkboxIsLimitingThreads.setName("checkboxIsLimitingThreads");
272 1 1. <init> : removed call to javax/swing/JCheckBox::setName → NO_COVERAGE
        this.checkboxIsConnectionTimeout.setName("checkboxIsConnectionTimeout");
273
274 1 1. <init> : removed call to javax/swing/JButton::setName → NO_COVERAGE
        labelIsFollowingRedirection.setName("labelIsFollowingRedirection");
275 1 1. <init> : removed call to javax/swing/JButton::setName → NO_COVERAGE
        labelIsHttp2Disabled.setName("labelIsHttp2Disabled");
276 1 1. <init> : removed call to javax/swing/JButton::setName → NO_COVERAGE
        labelIsUnicodeDecodeDisabled.setName("labelIsUnicodeDecodeDisabled");
277 1 1. <init> : removed call to javax/swing/JButton::setName → NO_COVERAGE
        labelIsUrlDecodeDisabled.setName("labelIsUrlDecodeDisabled");
278 1 1. <init> : removed call to javax/swing/JButton::setName → NO_COVERAGE
        labelIsNotTestingConnection.setName("labelIsNotTestingConnection");
279 1 1. <init> : removed call to javax/swing/JButton::setName → NO_COVERAGE
        labelIsProcessingCsrf.setName("labelIsProcessingCsrf");
280 1 1. <init> : removed call to javax/swing/JButton::setName → NO_COVERAGE
        labelIsCsrfUserTag.setName("labelIsCsrfUserTag");
281 1 1. <init> : removed call to javax/swing/JButton::setName → NO_COVERAGE
        labelIsCsrfUserTagOutput.setName("labelIsCsrfUserTagOutput");
282 1 1. <init> : removed call to javax/swing/JButton::setName → NO_COVERAGE
        labelIsNotProcessingCookies.setName("labelIsNotProcessingCookies");
283 1 1. <init> : removed call to javax/swing/JButton::setName → NO_COVERAGE
        labelIsLimitingThreads.setName("labelIsLimitingThreads");
284 1 1. <init> : removed call to javax/swing/JButton::setName → NO_COVERAGE
        labelIsConnectionTimeout.setName("labelIsConnectionTimeout");
285
        
286
        Stream.of(
287
            labelIsFollowingRedirection,
288
            labelIsHttp2Disabled,
289
            labelIsUnicodeDecodeDisabled,
290
            labelIsUrlDecodeDisabled,
291
            labelIsNotTestingConnection,
292
            labelIsProcessingCsrf,
293
            labelIsCsrfUserTag,
294
            labelIsCsrfUserTagOutput,
295
            labelIsNotProcessingCookies,
296
            labelIsLimitingThreads,
297
            labelIsConnectionTimeout
298
        )
299 1 1. <init> : removed call to java/util/stream/Stream::forEach → NO_COVERAGE
        .forEach(label -> {
300
            
301 1 1. lambda$new$14 : removed call to javax/swing/JButton::setHorizontalAlignment → NO_COVERAGE
            label.setHorizontalAlignment(SwingConstants.LEFT);
302 1 1. lambda$new$14 : removed call to javax/swing/JButton::setBorderPainted → NO_COVERAGE
            label.setBorderPainted(false);
303 1 1. lambda$new$14 : removed call to javax/swing/JButton::setContentAreaFilled → NO_COVERAGE
            label.setContentAreaFilled(false);
304
        });
305
        
306
        groupLayout
307 1 1. <init> : removed call to javax/swing/GroupLayout::setHorizontalGroup → NO_COVERAGE
        .setHorizontalGroup(
308
            groupLayout
309
            .createSequentialGroup()
310
            .addGroup(
311
                groupLayout
312
                .createParallelGroup(GroupLayout.Alignment.TRAILING, false)
313
                .addComponent(this.checkboxIsFollowingRedirection)
314
                .addComponent(this.checkboxIsHttp2Disabled)
315
                .addComponent(this.checkboxIsUnicodeDecodeDisabled)
316
                .addComponent(this.checkboxIsUrlDecodeDisabled)
317
                .addComponent(this.checkboxIsNotTestingConnection)
318
                .addComponent(this.checkboxIsLimitingThreads)
319
                .addComponent(this.checkboxIsConnectionTimeout)
320
                .addComponent(emptyLabelSessionManagement)
321
                .addComponent(this.checkboxIsNotProcessingCookies)
322
                .addComponent(this.checkboxIsProcessingCsrf)
323
                .addComponent(this.checkboxIsCsrfUserTag)
324
            )
325
            .addGroup(
326
                groupLayout
327
                .createParallelGroup()
328
                .addComponent(labelIsFollowingRedirection)
329
                .addComponent(labelIsHttp2Disabled)
330
                .addComponent(labelIsUnicodeDecodeDisabled)
331
                .addComponent(labelIsUrlDecodeDisabled)
332
                .addComponent(labelIsNotTestingConnection)
333
                .addComponent(panelThreadCount)
334
                .addComponent(panelConnectionTimeout)
335
                .addComponent(labelSessionManagement)
336
                .addComponent(labelIsNotProcessingCookies)
337
                .addComponent(labelIsProcessingCsrf)
338
                .addComponent(panelCsrfUserTag)
339
            )
340
        );
341
342
        groupLayout
343 1 1. <init> : removed call to javax/swing/GroupLayout::setVerticalGroup → NO_COVERAGE
        .setVerticalGroup(
344
            groupLayout
345
            .createSequentialGroup()
346
347
            .addGroup(
348
                groupLayout
349
                .createParallelGroup(GroupLayout.Alignment.BASELINE)
350
                .addComponent(this.checkboxIsFollowingRedirection)
351
                .addComponent(labelIsFollowingRedirection)
352
            )
353
            .addGroup(
354
                groupLayout
355
                .createParallelGroup(GroupLayout.Alignment.BASELINE)
356
                .addComponent(this.checkboxIsHttp2Disabled)
357
                .addComponent(labelIsHttp2Disabled)
358
            )
359
            .addGroup(
360
                groupLayout
361
                .createParallelGroup(GroupLayout.Alignment.BASELINE)
362
                .addComponent(this.checkboxIsUnicodeDecodeDisabled)
363
                .addComponent(labelIsUnicodeDecodeDisabled)
364
            )
365
            .addGroup(
366
                groupLayout
367
                .createParallelGroup(GroupLayout.Alignment.BASELINE)
368
                .addComponent(this.checkboxIsUrlDecodeDisabled)
369
                .addComponent(labelIsUrlDecodeDisabled)
370
            )
371
            .addGroup(
372
                groupLayout
373
                .createParallelGroup(GroupLayout.Alignment.BASELINE)
374
                .addComponent(this.checkboxIsNotTestingConnection)
375
                .addComponent(labelIsNotTestingConnection)
376
            )
377
            .addGroup(
378
                groupLayout
379
                .createParallelGroup(GroupLayout.Alignment.BASELINE)
380
                .addComponent(this.checkboxIsLimitingThreads)
381
                .addComponent(panelThreadCount)
382
            )
383
            .addGroup(
384
                groupLayout
385
                .createParallelGroup(GroupLayout.Alignment.BASELINE)
386
                .addComponent(this.checkboxIsConnectionTimeout)
387
                .addComponent(panelConnectionTimeout)
388
            )
389
390
            .addGroup(
391
                groupLayout
392
                .createParallelGroup(GroupLayout.Alignment.BASELINE)
393
                .addComponent(emptyLabelSessionManagement)
394
                .addComponent(labelSessionManagement)
395
            )
396
            .addGroup(
397
                groupLayout
398
                .createParallelGroup(GroupLayout.Alignment.BASELINE)
399
                .addComponent(this.checkboxIsNotProcessingCookies)
400
                .addComponent(labelIsNotProcessingCookies)
401
            )
402
            .addGroup(
403
                groupLayout
404
                .createParallelGroup(GroupLayout.Alignment.BASELINE)
405
                .addComponent(this.checkboxIsProcessingCsrf)
406
                .addComponent(labelIsProcessingCsrf)
407
            )
408
            .addGroup(
409
                groupLayout
410
                .createParallelGroup(GroupLayout.Alignment.BASELINE)
411
                .addComponent(this.checkboxIsCsrfUserTag)
412
                .addComponent(panelCsrfUserTag)
413
            )
414
        );
415
    }
416
417
    
418
    // Getter and setter
419
    
420
    public JCheckBox getCheckboxIsFollowingRedirection() {
421 1 1. getCheckboxIsFollowingRedirection : replaced return value with null for com/jsql/view/swing/panel/preferences/PanelConnection::getCheckboxIsFollowingRedirection → NO_COVERAGE
        return this.checkboxIsFollowingRedirection;
422
    }
423
    
424
    public JCheckBox getCheckboxIsHttp2Disabled() {
425 1 1. getCheckboxIsHttp2Disabled : replaced return value with null for com/jsql/view/swing/panel/preferences/PanelConnection::getCheckboxIsHttp2Disabled → NO_COVERAGE
        return this.checkboxIsHttp2Disabled;
426
    }
427
    
428
    public JCheckBox getCheckboxIsUnicodeDecodeDisabled() {
429 1 1. getCheckboxIsUnicodeDecodeDisabled : replaced return value with null for com/jsql/view/swing/panel/preferences/PanelConnection::getCheckboxIsUnicodeDecodeDisabled → NO_COVERAGE
        return this.checkboxIsUnicodeDecodeDisabled;
430
    }
431
    
432
    public JCheckBox getCheckboxIsUrlDecodeDisabled() {
433 1 1. getCheckboxIsUrlDecodeDisabled : replaced return value with null for com/jsql/view/swing/panel/preferences/PanelConnection::getCheckboxIsUrlDecodeDisabled → NO_COVERAGE
        return this.checkboxIsUrlDecodeDisabled;
434
    }
435
    
436
    public JCheckBox getCheckboxIsNotTestingConnection() {
437 1 1. getCheckboxIsNotTestingConnection : replaced return value with null for com/jsql/view/swing/panel/preferences/PanelConnection::getCheckboxIsNotTestingConnection → NO_COVERAGE
        return this.checkboxIsNotTestingConnection;
438
    }
439
    
440
    public JCheckBox getCheckboxIsNotProcessingCookies() {
441 1 1. getCheckboxIsNotProcessingCookies : replaced return value with null for com/jsql/view/swing/panel/preferences/PanelConnection::getCheckboxIsNotProcessingCookies → NO_COVERAGE
        return this.checkboxIsNotProcessingCookies;
442
    }
443
    
444
    public JCheckBox getCheckboxProcessCsrf() {
445 1 1. getCheckboxProcessCsrf : replaced return value with null for com/jsql/view/swing/panel/preferences/PanelConnection::getCheckboxProcessCsrf → NO_COVERAGE
        return this.checkboxIsProcessingCsrf;
446
    }
447
    
448
    public JCheckBox getCheckboxIsLimitingThreads() {
449 1 1. getCheckboxIsLimitingThreads : replaced return value with null for com/jsql/view/swing/panel/preferences/PanelConnection::getCheckboxIsLimitingThreads → NO_COVERAGE
        return this.checkboxIsLimitingThreads;
450
    }
451
    
452
    public JSpinner getSpinnerLimitingThreads() {
453 1 1. getSpinnerLimitingThreads : replaced return value with null for com/jsql/view/swing/panel/preferences/PanelConnection::getSpinnerLimitingThreads → NO_COVERAGE
        return this.spinnerLimitingThreads;
454
    }
455
    
456
    public JCheckBox getCheckboxIsConnectionTimeout() {
457 1 1. getCheckboxIsConnectionTimeout : replaced return value with null for com/jsql/view/swing/panel/preferences/PanelConnection::getCheckboxIsConnectionTimeout → NO_COVERAGE
        return this.checkboxIsConnectionTimeout;
458
    }
459
    
460
    public JSpinner getSpinnerConnectionTimeout() {
461 1 1. getSpinnerConnectionTimeout : replaced return value with null for com/jsql/view/swing/panel/preferences/PanelConnection::getSpinnerConnectionTimeout → NO_COVERAGE
        return this.spinnerConnectionTimeout;
462
    }
463
    
464
    public JCheckBox getCheckboxIsCsrfUserTag() {
465 1 1. getCheckboxIsCsrfUserTag : replaced return value with null for com/jsql/view/swing/panel/preferences/PanelConnection::getCheckboxIsCsrfUserTag → NO_COVERAGE
        return this.checkboxIsCsrfUserTag;
466
    }
467
    
468
    public JTextField getTextfieldCsrfUserTag() {
469 1 1. getTextfieldCsrfUserTag : replaced return value with null for com/jsql/view/swing/panel/preferences/PanelConnection::getTextfieldCsrfUserTag → NO_COVERAGE
        return this.textfieldCustomCsrfInputToken;
470
    }
471
    
472
    public JTextField getTextfieldCsrfUserTagOutput() {
473 1 1. getTextfieldCsrfUserTagOutput : replaced return value with null for com/jsql/view/swing/panel/preferences/PanelConnection::getTextfieldCsrfUserTagOutput → NO_COVERAGE
        return this.textfieldCustomCsrfOutputToken;
474
    }
475
}

Mutations

35

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

39

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

40

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

42

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

43

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

45

1.1
Location : lambda$new$0
Killed by : none
negated conditional → NO_COVERAGE

2.2
Location : lambda$new$0
Killed by : none
removed call to javax/swing/JCheckBox::setSelected → NO_COVERAGE

46

1.1
Location : lambda$new$0
Killed by : none
removed call to java/awt/event/ActionListener::actionPerformed → NO_COVERAGE

50

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

51

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

53

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

54

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

56

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

2.2
Location : lambda$new$1
Killed by : none
negated conditional → NO_COVERAGE

57

1.1
Location : lambda$new$1
Killed by : none
removed call to java/awt/event/ActionListener::actionPerformed → NO_COVERAGE

62

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

63

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

65

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

66

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

68

1.1
Location : lambda$new$2
Killed by : none
negated conditional → NO_COVERAGE

2.2
Location : lambda$new$2
Killed by : none
removed call to javax/swing/JCheckBox::setSelected → NO_COVERAGE

69

1.1
Location : lambda$new$2
Killed by : none
removed call to java/awt/event/ActionListener::actionPerformed → NO_COVERAGE

74

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

75

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

77

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

78

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

80

1.1
Location : lambda$new$3
Killed by : none
removed call to javax/swing/JCheckBox::setSelected → NO_COVERAGE

2.2
Location : lambda$new$3
Killed by : none
negated conditional → NO_COVERAGE

81

1.1
Location : lambda$new$3
Killed by : none
removed call to java/awt/event/ActionListener::actionPerformed → NO_COVERAGE

86

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

87

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

89

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

90

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

92

1.1
Location : lambda$new$4
Killed by : none
negated conditional → NO_COVERAGE

2.2
Location : lambda$new$4
Killed by : none
removed call to javax/swing/JCheckBox::setSelected → NO_COVERAGE

93

1.1
Location : lambda$new$4
Killed by : none
removed call to java/awt/event/ActionListener::actionPerformed → NO_COVERAGE

98

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

99

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

101

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

106

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

107

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

109

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

110

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

112

1.1
Location : lambda$new$5
Killed by : none
negated conditional → NO_COVERAGE

2.2
Location : lambda$new$5
Killed by : none
removed call to javax/swing/JCheckBox::setSelected → NO_COVERAGE

113

1.1
Location : lambda$new$5
Killed by : none
removed call to java/awt/event/ActionListener::actionPerformed → NO_COVERAGE

117

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

118

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

120

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

121

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

123

1.1
Location : lambda$new$6
Killed by : none
removed call to javax/swing/JCheckBox::setSelected → NO_COVERAGE

2.2
Location : lambda$new$6
Killed by : none
negated conditional → NO_COVERAGE

124

1.1
Location : lambda$new$6
Killed by : none
removed call to java/awt/event/ActionListener::actionPerformed → NO_COVERAGE

129

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

130

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

132

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

133

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

135

1.1
Location : lambda$new$7
Killed by : none
negated conditional → NO_COVERAGE

2.2
Location : lambda$new$7
Killed by : none
removed call to javax/swing/JCheckBox::setSelected → NO_COVERAGE

136

1.1
Location : lambda$new$7
Killed by : none
removed call to java/awt/event/ActionListener::actionPerformed → NO_COVERAGE

140

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

141

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

142

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

143

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

144

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

2.2
Location : lambda$new$8
Killed by : none
removed call to java/awt/event/ActionListener::actionPerformed → NO_COVERAGE

148

1.1
Location : <init>
Killed by : none
negated conditional → NO_COVERAGE

2.2
Location : <init>
Killed by : none
changed conditional boundary → NO_COVERAGE

153

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

154

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

155

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

158

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

159

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

160

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

161

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

162

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

2.2
Location : lambda$new$9
Killed by : none
removed call to java/awt/event/ActionListener::actionPerformed → NO_COVERAGE

166

1.1
Location : <init>
Killed by : none
negated conditional → NO_COVERAGE

2.2
Location : <init>
Killed by : none
changed conditional boundary → NO_COVERAGE

171

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

172

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

173

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

177

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

178

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

181

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

182

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

183

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

185

1.1
Location : lambda$new$10
Killed by : none
negated conditional → NO_COVERAGE

2.2
Location : lambda$new$10
Killed by : none
removed call to javax/swing/JCheckBox::setSelected → NO_COVERAGE

186

1.1
Location : lambda$new$10
Killed by : none
removed call to java/awt/event/ActionListener::actionPerformed → NO_COVERAGE

188

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

190

1.1
Location : lambda$new$11
Killed by : none
negated conditional → NO_COVERAGE

2.2
Location : lambda$new$11
Killed by : none
removed call to javax/swing/JCheckBox::setSelected → NO_COVERAGE

191

1.1
Location : lambda$new$11
Killed by : none
removed call to java/awt/event/ActionListener::actionPerformed → NO_COVERAGE

195

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

200

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

201

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

202

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

203

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

206

1.1
Location : process
Killed by : none
removed call to java/awt/event/ActionListener::actionPerformed → NO_COVERAGE

209

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

212

1.1
Location : process
Killed by : none
removed call to java/awt/event/ActionListener::actionPerformed → NO_COVERAGE

218

1.1
Location : lambda$new$12
Killed by : none
removed call to javax/swing/JCheckBox::setSelected → NO_COVERAGE

2.2
Location : lambda$new$12
Killed by : none
negated conditional → NO_COVERAGE

220

1.1
Location : lambda$new$12
Killed by : none
negated conditional → NO_COVERAGE

2.2
Location : lambda$new$12
Killed by : none
removed call to javax/swing/JCheckBox::setEnabled → NO_COVERAGE

221

1.1
Location : lambda$new$12
Killed by : none
negated conditional → NO_COVERAGE

2.2
Location : lambda$new$12
Killed by : none
removed call to javax/swing/JButton::setEnabled → NO_COVERAGE

223

1.1
Location : lambda$new$12
Killed by : none
negated conditional → NO_COVERAGE

2.2
Location : lambda$new$12
Killed by : none
removed call to javax/swing/JTextField::setEnabled → NO_COVERAGE

224

1.1
Location : lambda$new$12
Killed by : none
negated conditional → NO_COVERAGE

2.2
Location : lambda$new$12
Killed by : none
removed call to javax/swing/JTextField::setEnabled → NO_COVERAGE

225

1.1
Location : lambda$new$12
Killed by : none
negated conditional → NO_COVERAGE

2.2
Location : lambda$new$12
Killed by : none
removed call to javax/swing/JCheckBox::setEnabled → NO_COVERAGE

226

1.1
Location : lambda$new$12
Killed by : none
negated conditional → NO_COVERAGE

2.2
Location : lambda$new$12
Killed by : none
removed call to javax/swing/JButton::setEnabled → NO_COVERAGE

227

1.1
Location : lambda$new$12
Killed by : none
removed call to javax/swing/JButton::setEnabled → NO_COVERAGE

2.2
Location : lambda$new$12
Killed by : none
negated conditional → NO_COVERAGE

229

1.1
Location : lambda$new$12
Killed by : none
removed call to java/awt/event/ActionListener::actionPerformed → NO_COVERAGE

232

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

234

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

2.2
Location : <init>
Killed by : none
negated conditional → NO_COVERAGE

236

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

2.2
Location : <init>
Killed by : none
negated conditional → NO_COVERAGE

237

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

2.2
Location : <init>
Killed by : none
negated conditional → NO_COVERAGE

238

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

2.2
Location : <init>
Killed by : none
negated conditional → NO_COVERAGE

239

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

2.2
Location : <init>
Killed by : none
negated conditional → NO_COVERAGE

240

1.1
Location : <init>
Killed by : none
negated conditional → NO_COVERAGE

2.2
Location : <init>
Killed by : none
removed call to javax/swing/JButton::setEnabled → NO_COVERAGE

241

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

2.2
Location : <init>
Killed by : none
negated conditional → NO_COVERAGE

247

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

261

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

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

263

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

264

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

265

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

266

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

267

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

268

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

269

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

270

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

271

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

272

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

274

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

275

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

276

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

277

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

278

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

279

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

280

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

281

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

282

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

283

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

284

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

299

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

301

1.1
Location : lambda$new$14
Killed by : none
removed call to javax/swing/JButton::setHorizontalAlignment → NO_COVERAGE

302

1.1
Location : lambda$new$14
Killed by : none
removed call to javax/swing/JButton::setBorderPainted → NO_COVERAGE

303

1.1
Location : lambda$new$14
Killed by : none
removed call to javax/swing/JButton::setContentAreaFilled → NO_COVERAGE

307

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

343

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

421

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

425

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

429

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

433

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

437

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

441

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

445

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

449

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

453

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

457

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

461

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

465

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

469

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

473

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

Active mutators

Tests examined


Report generated by PIT 1.16.1