SqlEngine.java

1
package com.jsql.view.swing.sql;
2
3
import com.jsql.model.injection.vendor.model.Vendor;
4
import com.jsql.model.injection.vendor.model.yaml.Method;
5
import com.jsql.model.injection.vendor.model.yaml.ModelYaml;
6
import com.jsql.util.I18nUtil;
7
import com.jsql.view.swing.manager.util.ComboMenu;
8
import com.jsql.view.swing.scrollpane.LightScrollPane;
9
import com.jsql.view.swing.sql.lexer.HighlightedDocument;
10
import com.jsql.view.swing.sql.text.JTextPaneLexer;
11
import com.jsql.view.swing.sql.text.JTextPaneObjectMethod;
12
import com.jsql.view.swing.tab.TabHeader.Cleanable;
13
import com.jsql.view.swing.tab.TabbedPaneWheeled;
14
import com.jsql.view.swing.text.listener.DocumentListenerEditing;
15
import com.jsql.view.swing.util.I18nViewUtil;
16
import com.jsql.view.swing.util.MediatorHelper;
17
import com.jsql.view.swing.util.UiUtil;
18
import org.apache.commons.lang3.StringUtils;
19
20
import javax.swing.*;
21
import javax.swing.border.Border;
22
import javax.swing.plaf.basic.BasicRadioButtonMenuItemUI;
23
import java.awt.*;
24
import java.util.AbstractMap.SimpleEntry;
25
import java.util.ArrayList;
26
import java.util.LinkedList;
27
import java.util.List;
28
import java.util.stream.Collectors;
29
import java.util.stream.Stream;
30
31
public class SqlEngine extends JPanel implements Cleanable {
32
33
    private static ModelYaml modelYaml = MediatorHelper.model().getMediatorVendor().getVendor().instance().getModelYaml();
34
    private static final JTabbedPane tabbedPaneError = new TabbedPaneWheeled(SwingConstants.RIGHT, JTabbedPane.SCROLL_TAB_LAYOUT);
35
    private static final Border borderRight = BorderFactory.createMatteBorder(0, 0, 0, 1, UiUtil.COLOR_COMPONENT_BORDER);
36
    
37
    private static final List<JTextPaneLexer> textPanesError = new ArrayList<>();
38
    
39
    enum TextareaWithColor {
40
        
41
        // Default
42
        DATABASE_DEFAULT(new JTextPaneLexer(
43 1 1. lambda$static$0 : removed call to com/jsql/model/injection/vendor/model/yaml/Schema::setDatabase → NO_COVERAGE
            v -> modelYaml.getResource().getSchema().setDatabase(v),
44 1 1. lambda$static$1 : replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$1 → NO_COVERAGE
            () -> modelYaml.getResource().getSchema().getDatabase()
45
        )),
46
        TABLE_DEFAULT(new JTextPaneLexer(
47 1 1. lambda$static$2 : removed call to com/jsql/model/injection/vendor/model/yaml/Schema::setTable → NO_COVERAGE
            v -> modelYaml.getResource().getSchema().setTable(v),
48 1 1. lambda$static$3 : replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$3 → NO_COVERAGE
            () -> modelYaml.getResource().getSchema().getTable()
49
        )),
50
        COLUMN_DEFAULT(new JTextPaneLexer(
51 1 1. lambda$static$4 : removed call to com/jsql/model/injection/vendor/model/yaml/Schema::setColumn → NO_COVERAGE
            v -> modelYaml.getResource().getSchema().setColumn(v),
52 1 1. lambda$static$5 : replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$5 → NO_COVERAGE
            () -> modelYaml.getResource().getSchema().getColumn()
53
        )),
54
        QUERY_DEFAULT(new JTextPaneLexer(
55 1 1. lambda$static$6 : removed call to com/jsql/model/injection/vendor/model/yaml/Row::setQuery → NO_COVERAGE
            v -> modelYaml.getResource().getSchema().getRow().setQuery(v),
56 1 1. lambda$static$7 : replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$7 → NO_COVERAGE
            () -> modelYaml.getResource().getSchema().getRow().getQuery()
57
        )),
58
        FIELD_DEFAULT(new JTextPaneLexer(
59 1 1. lambda$static$8 : removed call to com/jsql/model/injection/vendor/model/yaml/Fields::setField → NO_COVERAGE
            v -> modelYaml.getResource().getSchema().getRow().getFields().setField(v),
60 1 1. lambda$static$9 : replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$9 → NO_COVERAGE
            () -> modelYaml.getResource().getSchema().getRow().getFields().getField()
61
        )),
62
        CONCAT_DEFAULT(new JTextPaneLexer(
63 1 1. lambda$static$10 : removed call to com/jsql/model/injection/vendor/model/yaml/Fields::setConcat → NO_COVERAGE
            v -> modelYaml.getResource().getSchema().getRow().getFields().setConcat(v),
64 1 1. lambda$static$11 : replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$11 → NO_COVERAGE
            () -> modelYaml.getResource().getSchema().getRow().getFields().getConcat()
65
        )),
66
        
67
        // Zip
68
        DATABASE_ZIP(new JTextPaneLexer(
69 1 1. lambda$static$12 : removed call to com/jsql/model/injection/vendor/model/yaml/Schema::setDatabase → NO_COVERAGE
            v -> modelYaml.getResource().getZip().setDatabase(v),
70 1 1. lambda$static$13 : replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$13 → NO_COVERAGE
            () -> modelYaml.getResource().getZip().getDatabase()
71
        )),
72
        TABLE_ZIP(new JTextPaneLexer(
73 1 1. lambda$static$14 : removed call to com/jsql/model/injection/vendor/model/yaml/Schema::setTable → NO_COVERAGE
            v -> modelYaml.getResource().getZip().setTable(v),
74 1 1. lambda$static$15 : replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$15 → NO_COVERAGE
            () -> modelYaml.getResource().getZip().getTable()
75
        )),
76
        COLUMN_ZIP(new JTextPaneLexer(
77 1 1. lambda$static$16 : removed call to com/jsql/model/injection/vendor/model/yaml/Schema::setColumn → NO_COVERAGE
            v -> modelYaml.getResource().getZip().setColumn(v),
78 1 1. lambda$static$17 : replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$17 → NO_COVERAGE
            () -> modelYaml.getResource().getZip().getColumn()
79
        )),
80
        QUERY_ZIP(new JTextPaneLexer(
81 1 1. lambda$static$18 : removed call to com/jsql/model/injection/vendor/model/yaml/Row::setQuery → NO_COVERAGE
            v -> modelYaml.getResource().getZip().getRow().setQuery(v),
82 1 1. lambda$static$19 : replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$19 → NO_COVERAGE
            () -> modelYaml.getResource().getZip().getRow().getQuery()
83
        )),
84
        FIELD_ZIP(new JTextPaneLexer(
85 1 1. lambda$static$20 : removed call to com/jsql/model/injection/vendor/model/yaml/Fields::setField → NO_COVERAGE
            v -> modelYaml.getResource().getZip().getRow().getFields().setField(v),
86 1 1. lambda$static$21 : replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$21 → NO_COVERAGE
            () -> modelYaml.getResource().getZip().getRow().getFields().getField()
87
        )),
88
        CONCAT_ZIP(new JTextPaneLexer(
89 1 1. lambda$static$22 : removed call to com/jsql/model/injection/vendor/model/yaml/Fields::setConcat → NO_COVERAGE
            v -> modelYaml.getResource().getZip().getRow().getFields().setConcat(v),
90 1 1. lambda$static$23 : replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$23 → NO_COVERAGE
            () -> modelYaml.getResource().getZip().getRow().getFields().getConcat()
91
        )),
92
        
93
        // Dios
94
        DATABASE_DIOS(new JTextPaneLexer(
95 1 1. lambda$static$24 : removed call to com/jsql/model/injection/vendor/model/yaml/Schema::setDatabase → NO_COVERAGE
            v -> modelYaml.getResource().getDios().setDatabase(v),
96 1 1. lambda$static$25 : replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$25 → NO_COVERAGE
            () -> modelYaml.getResource().getDios().getDatabase()
97
        )),
98
        TABLE_DIOS(new JTextPaneLexer(
99 1 1. lambda$static$26 : removed call to com/jsql/model/injection/vendor/model/yaml/Schema::setTable → NO_COVERAGE
            v -> modelYaml.getResource().getDios().setTable(v),
100 1 1. lambda$static$27 : replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$27 → NO_COVERAGE
            () -> modelYaml.getResource().getDios().getTable()
101
        )),
102
        COLUMN_DIOS(new JTextPaneLexer(
103 1 1. lambda$static$28 : removed call to com/jsql/model/injection/vendor/model/yaml/Schema::setColumn → NO_COVERAGE
            v -> modelYaml.getResource().getDios().setColumn(v),
104 1 1. lambda$static$29 : replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$29 → NO_COVERAGE
            () -> modelYaml.getResource().getDios().getColumn()
105
        )),
106
        QUERY_DIOS(new JTextPaneLexer(
107 1 1. lambda$static$30 : removed call to com/jsql/model/injection/vendor/model/yaml/Row::setQuery → NO_COVERAGE
            v -> modelYaml.getResource().getDios().getRow().setQuery(v),
108 1 1. lambda$static$31 : replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$31 → NO_COVERAGE
            () -> modelYaml.getResource().getDios().getRow().getQuery()
109
        )),
110
        FIELD_DIOS(new JTextPaneLexer(
111 1 1. lambda$static$32 : removed call to com/jsql/model/injection/vendor/model/yaml/Fields::setField → NO_COVERAGE
            v -> modelYaml.getResource().getDios().getRow().getFields().setField(v),
112 1 1. lambda$static$33 : replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$33 → NO_COVERAGE
            () -> modelYaml.getResource().getDios().getRow().getFields().getField()
113
        )),
114
        CONCAT_DIOS(new JTextPaneLexer(
115 1 1. lambda$static$34 : removed call to com/jsql/model/injection/vendor/model/yaml/Fields::setConcat → NO_COVERAGE
            v -> modelYaml.getResource().getDios().getRow().getFields().setConcat(v),
116 1 1. lambda$static$35 : replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$35 → NO_COVERAGE
            () -> modelYaml.getResource().getDios().getRow().getFields().getConcat()
117
        )),
118
        
119
        INFO(new JTextPaneLexer(
120 1 1. lambda$static$36 : removed call to com/jsql/model/injection/vendor/model/yaml/Resource::setInfo → NO_COVERAGE
            v -> modelYaml.getResource().setInfo(v),
121 1 1. lambda$static$37 : replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$37 → NO_COVERAGE
            () -> modelYaml.getResource().getInfo()
122
        )),
123
124
        // Configuration
125
        SLIDING_WINDOW(new JTextPaneLexer(
126 1 1. lambda$static$38 : removed call to com/jsql/model/injection/vendor/model/yaml/Configuration::setSlidingWindow → NO_COVERAGE
            v -> modelYaml.getStrategy().getConfiguration().setSlidingWindow(v),
127 1 1. lambda$static$39 : replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$39 → NO_COVERAGE
            () -> modelYaml.getStrategy().getConfiguration().getSlidingWindow()
128
        )),
129
        LIMIT(new JTextPaneLexer(
130 1 1. lambda$static$40 : removed call to com/jsql/model/injection/vendor/model/yaml/Configuration::setLimit → NO_COVERAGE
            v -> modelYaml.getStrategy().getConfiguration().setLimit(v),
131 1 1. lambda$static$41 : replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$41 → NO_COVERAGE
            () -> modelYaml.getStrategy().getConfiguration().getLimit()
132
        )),
133
        FAILSAFE(new JTextPaneLexer(
134 1 1. lambda$static$42 : removed call to com/jsql/model/injection/vendor/model/yaml/Configuration::setFailsafe → NO_COVERAGE
            v -> modelYaml.getStrategy().getConfiguration().setFailsafe(v),
135 1 1. lambda$static$43 : replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$43 → NO_COVERAGE
            () -> modelYaml.getStrategy().getConfiguration().getFailsafe()
136
        )),
137
        CALIBRATOR(new JTextPaneLexer(
138 1 1. lambda$static$44 : removed call to com/jsql/model/injection/vendor/model/yaml/Configuration::setCalibrator → NO_COVERAGE
            v -> modelYaml.getStrategy().getConfiguration().setCalibrator(v),
139 1 1. lambda$static$45 : replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$45 → NO_COVERAGE
            () -> modelYaml.getStrategy().getConfiguration().getCalibrator()
140
        )),
141
        ENDING_COMMENT(new JTextPaneLexer(
142 1 1. lambda$static$46 : removed call to com/jsql/model/injection/vendor/model/yaml/Configuration::setEndingComment → NO_COVERAGE
            v -> modelYaml.getStrategy().getConfiguration().setEndingComment(v),
143 1 1. lambda$static$47 : replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$47 → NO_COVERAGE
            () -> modelYaml.getStrategy().getConfiguration().getEndingComment()
144
        )),
145
        LIMIT_BOUNDARY(new JTextPaneLexer(
146 1 1. lambda$static$48 : removed call to com/jsql/model/injection/vendor/model/yaml/Configuration::setLimitBoundary → NO_COVERAGE
            v -> modelYaml.getStrategy().getConfiguration().setLimitBoundary(v),
147 1 1. lambda$static$49 : replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$49 → NO_COVERAGE
            () -> modelYaml.getStrategy().getConfiguration().getLimitBoundary()
148
        )),
149
        
150
        // Normal
151
        INDICES(new JTextPaneLexer(
152 1 1. lambda$static$50 : removed call to com/jsql/model/injection/vendor/model/yaml/Normal::setIndices → NO_COVERAGE
            v -> modelYaml.getStrategy().getNormal().setIndices(v),
153 1 1. lambda$static$51 : replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$51 → NO_COVERAGE
            () -> modelYaml.getStrategy().getNormal().getIndices()
154
        )),
155
        CAPACITY(new JTextPaneLexer(
156 1 1. lambda$static$52 : removed call to com/jsql/model/injection/vendor/model/yaml/Normal::setCapacity → NO_COVERAGE
            v -> modelYaml.getStrategy().getNormal().setCapacity(v),
157 1 1. lambda$static$53 : replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$53 → NO_COVERAGE
            () -> modelYaml.getStrategy().getNormal().getCapacity()
158
        )),
159
160
        STACKED(new JTextPaneLexer(
161 1 1. lambda$static$54 : removed call to com/jsql/model/injection/vendor/model/yaml/Strategy::setStacked → NO_COVERAGE
            v -> modelYaml.getStrategy().setStacked(v),
162 1 1. lambda$static$55 : replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$55 → NO_COVERAGE
            () -> modelYaml.getStrategy().getStacked()
163
        )),
164
165
        // Boolean
166
        MODE_AND(new JTextPaneLexer(
167 1 1. lambda$static$56 : removed call to com/jsql/model/injection/vendor/model/yaml/Boolean::setModeAnd → NO_COVERAGE
            v -> modelYaml.getStrategy().getBoolean().setModeAnd(v),
168 1 1. lambda$static$57 : replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$57 → NO_COVERAGE
            () -> modelYaml.getStrategy().getBoolean().getModeAnd()
169
        )),
170
        MODE_OR(new JTextPaneLexer(
171 1 1. lambda$static$58 : removed call to com/jsql/model/injection/vendor/model/yaml/Boolean::setModeOr → NO_COVERAGE
            v -> modelYaml.getStrategy().getBoolean().setModeOr(v),
172 1 1. lambda$static$59 : replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$59 → NO_COVERAGE
            () -> modelYaml.getStrategy().getBoolean().getModeOr()
173
        )),
174
        MODE_STACKED(new JTextPaneLexer(
175 1 1. lambda$static$60 : removed call to com/jsql/model/injection/vendor/model/yaml/Boolean::setModeStacked → NO_COVERAGE
            v -> modelYaml.getStrategy().getBoolean().setModeStacked(v),
176 1 1. lambda$static$61 : replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$61 → NO_COVERAGE
            () -> modelYaml.getStrategy().getBoolean().getModeStacked()
177
        )),
178
        BLIND(new JTextPaneLexer(
179 1 1. lambda$static$62 : removed call to com/jsql/model/injection/vendor/model/yaml/Boolean::setBlind → NO_COVERAGE
            v -> modelYaml.getStrategy().getBoolean().setBlind(v),
180 1 1. lambda$static$63 : replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$63 → NO_COVERAGE
            () -> modelYaml.getStrategy().getBoolean().getBlind()
181
        )),
182
        TIME(new JTextPaneLexer(
183 1 1. lambda$static$64 : removed call to com/jsql/model/injection/vendor/model/yaml/Boolean::setTime → NO_COVERAGE
            v -> modelYaml.getStrategy().getBoolean().setTime(v),
184 1 1. lambda$static$65 : replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$65 → NO_COVERAGE
            () -> modelYaml.getStrategy().getBoolean().getTime()
185
        )),
186
        MULTIBIT(new JTextPaneLexer(
187 1 1. lambda$static$66 : removed call to com/jsql/model/injection/vendor/model/yaml/Boolean::setMultibit → NO_COVERAGE
            v -> modelYaml.getStrategy().getBoolean().setMultibit(v),
188 1 1. lambda$static$67 : replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$67 → NO_COVERAGE
            () -> modelYaml.getStrategy().getBoolean().getMultibit()
189
        )),
190
        BIT_TEST(new JTextPaneLexer(
191 1 1. lambda$static$68 : removed call to com/jsql/model/injection/vendor/model/yaml/Test::setBit → NO_COVERAGE
            v -> modelYaml.getStrategy().getBoolean().getTest().setBit(v),
192 1 1. lambda$static$69 : replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$69 → NO_COVERAGE
            () -> modelYaml.getStrategy().getBoolean().getTest().getBit()
193
        )),
194
195
        // File
196
        FILE_PRIVILEGE(new JTextPaneLexer(
197 1 1. lambda$static$70 : removed call to com/jsql/model/injection/vendor/model/yaml/File::setPrivilege → NO_COVERAGE
            v -> modelYaml.getResource().getFile().setPrivilege(v),
198 1 1. lambda$static$71 : replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$71 → NO_COVERAGE
            () -> modelYaml.getResource().getFile().getPrivilege()
199
        )),
200
        FILE_READ(new JTextPaneLexer(
201 1 1. lambda$static$72 : removed call to com/jsql/model/injection/vendor/model/yaml/File::setRead → NO_COVERAGE
            v -> modelYaml.getResource().getFile().setRead(v),
202 1 1. lambda$static$73 : replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$73 → NO_COVERAGE
            () -> modelYaml.getResource().getFile().getRead()
203
        )),
204
        FILE_WRITE_BODY(new JTextPaneLexer(
205 1 1. lambda$static$74 : removed call to com/jsql/model/injection/vendor/model/yaml/Write::setBody → NO_COVERAGE
            v -> modelYaml.getResource().getFile().getWrite().setBody(v),
206 1 1. lambda$static$75 : replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$75 → NO_COVERAGE
            () -> modelYaml.getResource().getFile().getWrite().getBody()
207
        )),
208
        FILE_WRITE_PATH(new JTextPaneLexer(
209 1 1. lambda$static$76 : removed call to com/jsql/model/injection/vendor/model/yaml/Write::setPath → NO_COVERAGE
            v -> modelYaml.getResource().getFile().getWrite().setPath(v),
210 1 1. lambda$static$77 : replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$77 → NO_COVERAGE
            () -> modelYaml.getResource().getFile().getWrite().getPath()
211
        )),
212
213
        // Fingerprint
214
        TRUTHY(new JTextPaneLexer(
215 1 1. lambda$static$78 : removed call to com/jsql/model/injection/vendor/model/yaml/Test::setTruthy → NO_COVERAGE
            v -> modelYaml.getStrategy().getBoolean().getTest().setTruthy(v),
216 1 1. lambda$static$79 : replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$79 → NO_COVERAGE
            () -> modelYaml.getStrategy().getBoolean().getTest().getTruthyAsString()
217
        )),
218
        FALSY(new JTextPaneLexer(
219 1 1. lambda$static$80 : removed call to com/jsql/model/injection/vendor/model/yaml/Test::setFalsy → NO_COVERAGE
            v -> modelYaml.getStrategy().getBoolean().getTest().setFalsy(v),
220 1 1. lambda$static$81 : replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$81 → NO_COVERAGE
            () -> modelYaml.getStrategy().getBoolean().getTest().getFalsyAsString()
221
        )),
222
        INCORRECT_STRING_ERROR_MESSAGE(new JTextPaneLexer(
223 1 1. lambda$static$82 : removed call to com/jsql/model/injection/vendor/model/yaml/Fingerprint::setErrorMessageAsString → NO_COVERAGE
            v -> modelYaml.getStrategy().getConfiguration().getFingerprint().setErrorMessageAsString(v),
224 1 1. lambda$static$83 : replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$83 → NO_COVERAGE
            () -> modelYaml.getStrategy().getConfiguration().getFingerprint().getErrorMessageAsString()
225
        )),
226
        ORDER_BY_ERROR_MESSAGE(new JTextPaneLexer(
227 1 1. lambda$static$84 : removed call to com/jsql/model/injection/vendor/model/yaml/Fingerprint::setOrderByErrorMessage → NO_COVERAGE
            v -> modelYaml.getStrategy().getConfiguration().getFingerprint().setOrderByErrorMessage(v),
228 1 1. lambda$static$85 : replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$85 → NO_COVERAGE
            () -> modelYaml.getStrategy().getConfiguration().getFingerprint().getOrderByErrorMessage()
229
        )),
230
        ORDER_BY(new JTextPaneLexer(
231 1 1. lambda$static$86 : removed call to com/jsql/model/injection/vendor/model/yaml/Normal::setOrderBy → NO_COVERAGE
            v -> modelYaml.getStrategy().getNormal().setOrderBy(v),
232 1 1. lambda$static$87 : replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$87 → NO_COVERAGE
            () -> modelYaml.getStrategy().getNormal().getOrderBy()
233
        )),
234
        VENDOR_SPECIFIC(new JTextPaneLexer(
235 1 1. lambda$static$88 : removed call to com/jsql/model/injection/vendor/model/yaml/Fingerprint::setVendorSpecific → NO_COVERAGE
            v -> modelYaml.getStrategy().getConfiguration().getFingerprint().setVendorSpecific(v),
236 1 1. lambda$static$89 : replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$89 → NO_COVERAGE
            () -> modelYaml.getStrategy().getConfiguration().getFingerprint().getVendorSpecific()
237
        )),
238
        ;
239
        
240
        final JTextPaneLexer text;
241
242
        public JTextPaneLexer getText() {
243 1 1. getText : replaced return value with null for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::getText → NO_COVERAGE
            return this.text;
244
        }
245
246
        TextareaWithColor(JTextPaneLexer text) {
247
            this.text = text;
248
        }
249
    }
250
    
251
    public SqlEngine() {
252
        
253 1 1. <init> : removed call to com/jsql/view/swing/sql/SqlEngine::initializeTextComponents → NO_COVERAGE
        SqlEngine.initializeTextComponents();
254
        
255
        Stream.of(
256
            TextareaWithColor.DATABASE_DEFAULT,
257
            TextareaWithColor.TABLE_DEFAULT,
258
            TextareaWithColor.COLUMN_DEFAULT,
259
            TextareaWithColor.QUERY_DEFAULT,
260
            TextareaWithColor.FIELD_DEFAULT,
261
            TextareaWithColor.CONCAT_DEFAULT,
262
            TextareaWithColor.INFO,
263
            
264
            TextareaWithColor.DATABASE_ZIP,
265
            TextareaWithColor.TABLE_ZIP,
266
            TextareaWithColor.COLUMN_ZIP,
267
            TextareaWithColor.QUERY_ZIP,
268
            TextareaWithColor.FIELD_ZIP,
269
            TextareaWithColor.CONCAT_ZIP,
270
            
271
            TextareaWithColor.DATABASE_DIOS,
272
            TextareaWithColor.TABLE_DIOS,
273
            TextareaWithColor.COLUMN_DIOS,
274
            TextareaWithColor.QUERY_DIOS,
275
            TextareaWithColor.FIELD_DIOS,
276
            TextareaWithColor.CONCAT_DIOS,
277
            
278
            TextareaWithColor.MODE_AND,
279
            TextareaWithColor.MODE_OR,
280
            TextareaWithColor.MODE_STACKED,
281
            TextareaWithColor.BLIND,
282
            TextareaWithColor.TIME,
283
            TextareaWithColor.MULTIBIT,
284
            TextareaWithColor.BIT_TEST
285
        )
286 2 1. lambda$new$0 : removed call to com/jsql/view/swing/sql/text/JTextPaneLexer::setBorder → NO_COVERAGE
2. <init> : removed call to java/util/stream/Stream::forEach → NO_COVERAGE
        .forEach(textPane -> textPane.getText().setBorder(SqlEngine.borderRight));
287
        
288
        JPanel panelStructure = this.getPanelStructure();
289
        JPanel panelFile = this.getPanelFile();
290
        JPanel panelStrategy = this.getPanelStrategy();
291
        JPanel panelConfiguration = this.getPanelConfiguration();
292
        JPanel panelFingerprinting = this.getPanelFingerprinting();
293
294
        JTabbedPane tabsBottom = new TabbedPaneWheeled(SwingConstants.BOTTOM, JTabbedPane.SCROLL_TAB_LAYOUT);
295
        
296
        Stream.of(
297
            new SimpleEntry<>("SQLENGINE_STRUCTURE", panelStructure),
298
            new SimpleEntry<>("SQLENGINE_STRATEGY", panelStrategy),
299
            new SimpleEntry<>("SQLENGINE_CONFIGURATION", panelConfiguration),
300
            new SimpleEntry<>("SQLENGINE_FINGERPRINTING", panelFingerprinting),
301
            new SimpleEntry<>("SQLENGINE_FILE", panelFile)
302
        )
303 1 1. <init> : removed call to java/util/stream/Stream::forEach → NO_COVERAGE
        .forEach(entry -> {
304
            
305 1 1. lambda$new$1 : removed call to javax/swing/JTabbedPane::addTab → NO_COVERAGE
            tabsBottom.addTab(I18nUtil.valueByKey(entry.getKey()), entry.getValue());
306
            
307
            var label = new JLabel(I18nUtil.valueByKey(entry.getKey()));
308 1 1. lambda$new$1 : removed call to javax/swing/JTabbedPane::setTabComponentAt → NO_COVERAGE
            tabsBottom.setTabComponentAt(
309
                tabsBottom.indexOfTab(I18nUtil.valueByKey(entry.getKey())),
310
                label
311
            );
312
            
313 1 1. lambda$new$1 : removed call to com/jsql/view/swing/util/I18nViewUtil::addComponentForKey → NO_COVERAGE
            I18nViewUtil.addComponentForKey(entry.getKey(), label);
314
        });
315
316 1 1. <init> : removed call to com/jsql/view/swing/sql/SqlEngine::setLayout → NO_COVERAGE
        this.setLayout(new OverlayLayout(this));
317
318
        JPanel panelCombo = SqlEngine.initializeMenuVendor();
319
        this.add(panelCombo);
320
        this.add(tabsBottom);
321
        
322 1 1. <init> : removed call to javax/swing/JTabbedPane::setAlignmentX → NO_COVERAGE
        tabsBottom.setAlignmentX(FlowLayout.LEADING);
323 1 1. <init> : removed call to javax/swing/JTabbedPane::setAlignmentY → NO_COVERAGE
        tabsBottom.setAlignmentY(Component.BOTTOM_ALIGNMENT);
324
        
325 1 1. <init> : removed call to com/jsql/view/swing/menubar/Menubar::switchLocale → NO_COVERAGE
        MediatorHelper.menubar().switchLocale(I18nUtil.getLocaleDefault());
326
    }
327
328
    private JPanel getPanelStructure() {
329
330
        final var keyDatabases = "SQLENGINE_DATABASES";
331
        final var keyTables = "SQLENGINE_TABLES";
332
        final var keyColumns = "SQLENGINE_COLUMNS";
333
        final var keyRows = "SQLENGINE_ROWS";
334
        final var keyField = "SQLENGINE_FIELD";
335
        final var keyFieldSeparator = "SQLENGINE_FIELDS_SEPARATOR";
336
        
337
        JTabbedPane tabsStandard = new TabbedPaneWheeled(SwingConstants.RIGHT, JTabbedPane.SCROLL_TAB_LAYOUT);
338
        JTabbedPane tabsSchema = new TabbedPaneWheeled(SwingConstants.TOP, JTabbedPane.SCROLL_TAB_LAYOUT);
339
        
340
        Stream.of(
341
            new SimpleEntry<>(keyDatabases, TextareaWithColor.DATABASE_DEFAULT.getText()),
342
            new SimpleEntry<>(keyTables, TextareaWithColor.TABLE_DEFAULT.getText()),
343
            new SimpleEntry<>(keyColumns, TextareaWithColor.COLUMN_DEFAULT.getText()),
344
            new SimpleEntry<>(keyRows, TextareaWithColor.QUERY_DEFAULT.getText()),
345
            new SimpleEntry<>(keyField, TextareaWithColor.FIELD_DEFAULT.getText()),
346
            new SimpleEntry<>(keyFieldSeparator, TextareaWithColor.CONCAT_DEFAULT.getText()),
347
            new SimpleEntry<>("SQLENGINE_METADATA", TextareaWithColor.INFO.getText())
348
        )
349 1 1. getPanelStructure : removed call to java/util/stream/Stream::forEach → NO_COVERAGE
        .forEach(entry -> {
350
            
351 1 1. lambda$getPanelStructure$2 : removed call to javax/swing/JTabbedPane::addTab → NO_COVERAGE
            tabsSchema.addTab(
352
                I18nUtil.valueByKey(entry.getKey()),
353
                new LightScrollPane(1, 0, 1, 0, entry.getValue())
354
            );
355
            
356
            var label = new JLabel(I18nUtil.valueByKey(entry.getKey()));
357 1 1. lambda$getPanelStructure$2 : removed call to javax/swing/JTabbedPane::setTabComponentAt → NO_COVERAGE
            tabsSchema.setTabComponentAt(
358
                tabsSchema.indexOfTab(I18nUtil.valueByKey(entry.getKey())),
359
                label
360
            );
361 1 1. lambda$getPanelStructure$2 : removed call to com/jsql/view/swing/util/I18nViewUtil::addComponentForKey → NO_COVERAGE
            I18nViewUtil.addComponentForKey(entry.getKey(), label);
362
        });
363
        
364
        JTabbedPane tabsZip = new TabbedPaneWheeled(SwingConstants.TOP, JTabbedPane.SCROLL_TAB_LAYOUT);
365
        
366
        Stream.of(
367
            new SimpleEntry<>(keyDatabases, TextareaWithColor.DATABASE_ZIP.getText()),
368
            new SimpleEntry<>(keyTables, TextareaWithColor.TABLE_ZIP.getText()),
369
            new SimpleEntry<>(keyColumns, TextareaWithColor.COLUMN_ZIP.getText()),
370
            new SimpleEntry<>(keyRows, TextareaWithColor.QUERY_ZIP.getText()),
371
            new SimpleEntry<>(keyField, TextareaWithColor.FIELD_ZIP.getText()),
372
            new SimpleEntry<>(keyFieldSeparator, TextareaWithColor.CONCAT_ZIP.getText())
373
        )
374 1 1. getPanelStructure : removed call to java/util/stream/Stream::forEach → NO_COVERAGE
        .forEach(entry -> {
375
            
376 1 1. lambda$getPanelStructure$3 : removed call to javax/swing/JTabbedPane::addTab → NO_COVERAGE
            tabsZip.addTab(
377
                I18nUtil.valueByKey(entry.getKey()),
378
                new LightScrollPane(1, 0, 1, 0, entry.getValue())
379
            );
380
            
381
            var label = new JLabel(I18nUtil.valueByKey(entry.getKey()));
382 1 1. lambda$getPanelStructure$3 : removed call to javax/swing/JTabbedPane::setTabComponentAt → NO_COVERAGE
            tabsZip.setTabComponentAt(
383
                tabsZip.indexOfTab(I18nUtil.valueByKey(entry.getKey())),
384
                label
385
            );
386 1 1. lambda$getPanelStructure$3 : removed call to com/jsql/view/swing/util/I18nViewUtil::addComponentForKey → NO_COVERAGE
            I18nViewUtil.addComponentForKey(entry.getKey(), label);
387
        });
388
        
389
        JTabbedPane tabsDios = new TabbedPaneWheeled(SwingConstants.TOP, JTabbedPane.SCROLL_TAB_LAYOUT);
390
        
391
        Stream.of(
392
            new SimpleEntry<>(keyDatabases, TextareaWithColor.DATABASE_DIOS.getText()),
393
            new SimpleEntry<>(keyTables, TextareaWithColor.TABLE_DIOS.getText()),
394
            new SimpleEntry<>(keyColumns, TextareaWithColor.COLUMN_DIOS.getText()),
395
            new SimpleEntry<>(keyRows, TextareaWithColor.QUERY_DIOS.getText()),
396
            new SimpleEntry<>(keyField, TextareaWithColor.FIELD_DIOS.getText()),
397
            new SimpleEntry<>(keyFieldSeparator, TextareaWithColor.CONCAT_DIOS.getText())
398
        )
399 1 1. getPanelStructure : removed call to java/util/stream/Stream::forEach → NO_COVERAGE
        .forEach(entry -> {
400
            
401 1 1. lambda$getPanelStructure$4 : removed call to javax/swing/JTabbedPane::addTab → NO_COVERAGE
            tabsDios.addTab(
402
                I18nUtil.valueByKey(entry.getKey()),
403
                new LightScrollPane(1, 0, 1, 0, entry.getValue())
404
            );
405
            
406
            var label = new JLabel(I18nUtil.valueByKey(entry.getKey()));
407 1 1. lambda$getPanelStructure$4 : removed call to javax/swing/JTabbedPane::setTabComponentAt → NO_COVERAGE
            tabsDios.setTabComponentAt(
408
                tabsDios.indexOfTab(I18nUtil.valueByKey(entry.getKey())),
409
                label
410
            );
411 1 1. lambda$getPanelStructure$4 : removed call to com/jsql/view/swing/util/I18nViewUtil::addComponentForKey → NO_COVERAGE
            I18nViewUtil.addComponentForKey(entry.getKey(), label);
412
        });
413
        
414
        Stream.of(
415
            new SimpleEntry<>("SQLENGINE_STANDARD", tabsSchema),
416
            new SimpleEntry<>("SQLENGINE_ZIP", tabsZip),
417
            new SimpleEntry<>("SQLENGINE_DIOS", tabsDios)
418
        )
419 1 1. getPanelStructure : removed call to java/util/stream/Stream::forEach → NO_COVERAGE
        .forEach(entry -> {
420
            
421 1 1. lambda$getPanelStructure$5 : removed call to javax/swing/JTabbedPane::addTab → NO_COVERAGE
            tabsStandard.addTab(I18nUtil.valueByKey(entry.getKey()), entry.getValue());
422
            
423
            var label = new JLabel(I18nUtil.valueByKey(entry.getKey()));
424 1 1. lambda$getPanelStructure$5 : removed call to javax/swing/JTabbedPane::setTabComponentAt → NO_COVERAGE
            tabsStandard.setTabComponentAt(
425
                tabsStandard.indexOfTab(I18nUtil.valueByKey(entry.getKey())),
426
                label
427
            );
428 1 1. lambda$getPanelStructure$5 : removed call to com/jsql/view/swing/util/I18nViewUtil::addComponentForKey → NO_COVERAGE
            I18nViewUtil.addComponentForKey(entry.getKey(), label);
429
        });
430
        
431
        var panelStructure = new JPanel(new BorderLayout());
432 1 1. getPanelStructure : removed call to javax/swing/JPanel::add → NO_COVERAGE
        panelStructure.add(tabsStandard, BorderLayout.CENTER);
433 1 1. getPanelStructure : removed call to javax/swing/JPanel::setBorder → NO_COVERAGE
        panelStructure.setBorder(BorderFactory.createEmptyBorder());
434
        
435 1 1. getPanelStructure : replaced return value with null for com/jsql/view/swing/sql/SqlEngine::getPanelStructure → NO_COVERAGE
        return panelStructure;
436
    }
437
438
    private JPanel getPanelFile() {
439
440
        JTabbedPane tabs = new TabbedPaneWheeled(SwingConstants.TOP, JTabbedPane.SCROLL_TAB_LAYOUT);
441
442 1 1. getPanelFile : removed call to javax/swing/JTabbedPane::addTab → NO_COVERAGE
        tabs.addTab("Privilege", new LightScrollPane(1, 0, 1, 0, TextareaWithColor.FILE_PRIVILEGE.getText()));
443 1 1. getPanelFile : removed call to javax/swing/JTabbedPane::addTab → NO_COVERAGE
        tabs.addTab("Read", new LightScrollPane(1, 0, 1, 0, TextareaWithColor.FILE_READ.getText()));
444 1 1. getPanelFile : removed call to javax/swing/JTabbedPane::addTab → NO_COVERAGE
        tabs.addTab("Write body", new LightScrollPane(1, 0, 1, 0, TextareaWithColor.FILE_WRITE_BODY.getText()));
445 1 1. getPanelFile : removed call to javax/swing/JTabbedPane::addTab → NO_COVERAGE
        tabs.addTab("Write path", new LightScrollPane(1, 0, 1, 0, TextareaWithColor.FILE_WRITE_PATH.getText()));
446
447
        var panel = new JPanel(new BorderLayout());
448 1 1. getPanelFile : removed call to javax/swing/JPanel::add → NO_COVERAGE
        panel.add(tabs, BorderLayout.CENTER);
449 1 1. getPanelFile : removed call to javax/swing/JPanel::setBorder → NO_COVERAGE
        panel.setBorder(BorderFactory.createMatteBorder(1, 0, 0, 0, UiUtil.COLOR_COMPONENT_BORDER));
450
451 1 1. getPanelFile : replaced return value with null for com/jsql/view/swing/sql/SqlEngine::getPanelFile → NO_COVERAGE
        return panel;
452
    }
453
454
    private JPanel getPanelStrategy() {
455
        
456
        JTabbedPane tabsStrategy = new TabbedPaneWheeled(SwingConstants.TOP, JTabbedPane.SCROLL_TAB_LAYOUT);
457 1 1. getPanelStrategy : removed call to javax/swing/JTabbedPane::addTab → NO_COVERAGE
        tabsStrategy.addTab(I18nUtil.valueByKey("SQLENGINE_NORMAL"), new LightScrollPane(1, 0, 1, 0, TextareaWithColor.INDICES.getText()));
458
        
459
        var panelStrategy = new JPanel(new BorderLayout());
460 1 1. getPanelStrategy : removed call to javax/swing/JPanel::add → NO_COVERAGE
        panelStrategy.add(tabsStrategy, BorderLayout.CENTER);
461 1 1. getPanelStrategy : removed call to javax/swing/JPanel::setBorder → NO_COVERAGE
        panelStrategy.setBorder(BorderFactory.createMatteBorder(1, 0, 0, 0, UiUtil.COLOR_COMPONENT_BORDER));
462
463 1 1. getPanelStrategy : removed call to javax/swing/JTabbedPane::addTab → NO_COVERAGE
        tabsStrategy.addTab(I18nUtil.valueByKey("SQLENGINE_STACKED"), new LightScrollPane(1, 0, 1, 0, TextareaWithColor.STACKED.getText()));
464
465
        /* Error */
466
        var panelError = new JPanel(new BorderLayout());
467 1 1. getPanelStrategy : removed call to javax/swing/JPanel::add → NO_COVERAGE
        panelError.add(SqlEngine.tabbedPaneError, BorderLayout.CENTER);
468
        
469 1 1. getPanelStrategy : removed call to javax/swing/JTabbedPane::addTab → NO_COVERAGE
        tabsStrategy.addTab(I18nUtil.valueByKey("SQLENGINE_ERROR"), panelError);
470
471
        /* Boolean */
472
        JTabbedPane tabsBoolean = new TabbedPaneWheeled(SwingConstants.RIGHT, JTabbedPane.SCROLL_TAB_LAYOUT);
473
        
474
        Stream.of(
475
            new SimpleEntry<>("AND mode", TextareaWithColor.MODE_AND.getText()),
476
            new SimpleEntry<>("OR mode", TextareaWithColor.MODE_OR.getText()),
477
            new SimpleEntry<>("Stacked mode", TextareaWithColor.MODE_STACKED.getText()),
478
            new SimpleEntry<>("Blind", TextareaWithColor.BLIND.getText()),
479
            new SimpleEntry<>("Time", TextareaWithColor.TIME.getText()),
480
            new SimpleEntry<>("Multibit", TextareaWithColor.MULTIBIT.getText()),
481
            new SimpleEntry<>("Bit test", TextareaWithColor.BIT_TEST.getText())
482
        )
483 1 1. getPanelStrategy : removed call to java/util/stream/Stream::forEach → NO_COVERAGE
        .forEach(entry ->
484 1 1. lambda$getPanelStrategy$6 : removed call to javax/swing/JTabbedPane::addTab → NO_COVERAGE
            tabsBoolean.addTab(
485
                entry.getKey(),
486
                new LightScrollPane(1, 0, 1, 0, entry.getValue())
487
            )
488
        );
489
        
490
        var panelBoolean = new JPanel(new BorderLayout());
491 1 1. getPanelStrategy : removed call to javax/swing/JPanel::add → NO_COVERAGE
        panelBoolean.add(tabsBoolean, BorderLayout.CENTER);
492
        
493 1 1. getPanelStrategy : removed call to javax/swing/JTabbedPane::addTab → NO_COVERAGE
        tabsStrategy.addTab(I18nUtil.valueByKey("SQLENGINE_BOOLEAN"), panelBoolean);
494
495
        /* Strategy */
496
        Stream.of(
497
            "SQLENGINE_NORMAL",
498
            "SQLENGINE_STACKED",
499
            "SQLENGINE_ERROR",
500
            "SQLENGINE_BOOLEAN"
501
        )
502 1 1. getPanelStrategy : removed call to java/util/stream/Stream::forEach → NO_COVERAGE
        .forEach(keyI18n -> {
503
            
504
            var label = new JLabel(I18nUtil.valueByKey(keyI18n));
505
            
506 1 1. lambda$getPanelStrategy$7 : removed call to javax/swing/JTabbedPane::setTabComponentAt → NO_COVERAGE
            tabsStrategy.setTabComponentAt(
507
                tabsStrategy.indexOfTab(I18nUtil.valueByKey(keyI18n)),
508
                label
509
            );
510
            
511 1 1. lambda$getPanelStrategy$7 : removed call to com/jsql/view/swing/util/I18nViewUtil::addComponentForKey → NO_COVERAGE
            I18nViewUtil.addComponentForKey(keyI18n, label);
512
        });
513
        
514 1 1. getPanelStrategy : replaced return value with null for com/jsql/view/swing/sql/SqlEngine::getPanelStrategy → NO_COVERAGE
        return panelStrategy;
515
    }
516
517
    private JPanel getPanelConfiguration() {
518
        
519
        JTabbedPane tabs = new TabbedPaneWheeled(SwingConstants.TOP, JTabbedPane.SCROLL_TAB_LAYOUT);
520
521 1 1. getPanelConfiguration : removed call to javax/swing/JTabbedPane::addTab → NO_COVERAGE
        tabs.addTab(I18nUtil.valueByKey("SQLENGINE_CHARACTERS_SLIDINGWINDOW"), new LightScrollPane(1, 0, 1, 0, TextareaWithColor.SLIDING_WINDOW.getText()));
522 1 1. getPanelConfiguration : removed call to javax/swing/JTabbedPane::addTab → NO_COVERAGE
        tabs.addTab(I18nUtil.valueByKey("SQLENGINE_ROWS_SLIDINGWINDOW"), new LightScrollPane(1, 0, 1, 0, TextareaWithColor.LIMIT.getText()));
523 1 1. getPanelConfiguration : removed call to javax/swing/JTabbedPane::addTab → NO_COVERAGE
        tabs.addTab("Limit start index", new LightScrollPane(1, 0, 1, 0, TextareaWithColor.LIMIT_BOUNDARY.getText()));
524 1 1. getPanelConfiguration : removed call to javax/swing/JTabbedPane::addTab → NO_COVERAGE
        tabs.addTab(I18nUtil.valueByKey("SQLENGINE_CAPACITY"), new LightScrollPane(1, 0, 1, 0, TextareaWithColor.CAPACITY.getText()));
525 1 1. getPanelConfiguration : removed call to javax/swing/JTabbedPane::addTab → NO_COVERAGE
        tabs.addTab(I18nUtil.valueByKey("SQLENGINE_CALIBRATOR"), new LightScrollPane(1, 0, 1, 0, TextareaWithColor.CALIBRATOR.getText()));
526 1 1. getPanelConfiguration : removed call to javax/swing/JTabbedPane::addTab → NO_COVERAGE
        tabs.addTab(I18nUtil.valueByKey("SQLENGINE_FAILSAFE"), new LightScrollPane(1, 0, 1, 0, TextareaWithColor.FAILSAFE.getText()));
527 1 1. getPanelConfiguration : removed call to javax/swing/JTabbedPane::addTab → NO_COVERAGE
        tabs.addTab("End comment", new LightScrollPane(1, 0, 1, 0, TextareaWithColor.ENDING_COMMENT.getText()));
528
        
529
        Stream.of(
530
            "SQLENGINE_CHARACTERS_SLIDINGWINDOW",
531
            "SQLENGINE_ROWS_SLIDINGWINDOW",
532
            "SQLENGINE_CAPACITY",
533
            "SQLENGINE_CALIBRATOR",
534
            "SQLENGINE_FAILSAFE"
535
        )
536 1 1. getPanelConfiguration : removed call to java/util/stream/Stream::forEach → NO_COVERAGE
        .forEach(keyI18n -> {
537
            
538
            var label = new JLabel(I18nUtil.valueByKey(keyI18n));
539 1 1. lambda$getPanelConfiguration$8 : removed call to javax/swing/JTabbedPane::setTabComponentAt → NO_COVERAGE
            tabs.setTabComponentAt(
540
                tabs.indexOfTab(I18nUtil.valueByKey(keyI18n)),
541
                label
542
            );
543
            
544 1 1. lambda$getPanelConfiguration$8 : removed call to com/jsql/view/swing/util/I18nViewUtil::addComponentForKey → NO_COVERAGE
            I18nViewUtil.addComponentForKey(keyI18n, label);
545
        });
546
        
547
        var panel = new JPanel(new BorderLayout());
548 1 1. getPanelConfiguration : removed call to javax/swing/JPanel::add → NO_COVERAGE
        panel.add(tabs, BorderLayout.CENTER);
549 1 1. getPanelConfiguration : removed call to javax/swing/JPanel::setBorder → NO_COVERAGE
        panel.setBorder(BorderFactory.createMatteBorder(1, 0, 0, 0, UiUtil.COLOR_COMPONENT_BORDER));
550
        
551 1 1. getPanelConfiguration : replaced return value with null for com/jsql/view/swing/sql/SqlEngine::getPanelConfiguration → NO_COVERAGE
        return panel;
552
    }
553
    
554
    private JPanel getPanelFingerprinting() {
555
        
556
        JTabbedPane tabs = new TabbedPaneWheeled(SwingConstants.TOP, JTabbedPane.SCROLL_TAB_LAYOUT);
557
        
558 1 1. getPanelFingerprinting : removed call to javax/swing/JTabbedPane::addTab → NO_COVERAGE
        tabs.addTab(I18nUtil.valueByKey("SQLENGINE_ORDER_BY"), new LightScrollPane(1, 0, 1, 0, TextareaWithColor.ORDER_BY.getText()));
559 1 1. getPanelFingerprinting : removed call to javax/swing/JTabbedPane::addTab → NO_COVERAGE
        tabs.addTab("Order by error", new LightScrollPane(1, 0, 1, 0, TextareaWithColor.ORDER_BY_ERROR_MESSAGE.getText()));
560 1 1. getPanelFingerprinting : removed call to javax/swing/JTabbedPane::addTab → NO_COVERAGE
        tabs.addTab("String error", new LightScrollPane(1, 0, 1, 0, TextareaWithColor.INCORRECT_STRING_ERROR_MESSAGE.getText()));
561 1 1. getPanelFingerprinting : removed call to javax/swing/JTabbedPane::addTab → NO_COVERAGE
        tabs.addTab("Vendor specific", new LightScrollPane(1, 0, 1, 0, TextareaWithColor.VENDOR_SPECIFIC.getText()));
562 1 1. getPanelFingerprinting : removed call to javax/swing/JTabbedPane::addTab → NO_COVERAGE
        tabs.addTab("Truthy", new LightScrollPane(1, 0, 1, 0, TextareaWithColor.TRUTHY.getText()));
563 1 1. getPanelFingerprinting : removed call to javax/swing/JTabbedPane::addTab → NO_COVERAGE
        tabs.addTab("Falsy", new LightScrollPane(1, 0, 1, 0, TextareaWithColor.FALSY.getText()));
564
        
565 1 1. getPanelFingerprinting : removed call to java/util/stream/Stream::forEach → NO_COVERAGE
        Stream.of("SQLENGINE_ORDER_BY").forEach(keyI18n -> {
566
567
            var label = new JLabel(I18nUtil.valueByKey(keyI18n));
568 1 1. lambda$getPanelFingerprinting$9 : removed call to javax/swing/JTabbedPane::setTabComponentAt → NO_COVERAGE
            tabs.setTabComponentAt(
569
                tabs.indexOfTab(I18nUtil.valueByKey(keyI18n)),
570
                label
571
            );
572
573 1 1. lambda$getPanelFingerprinting$9 : removed call to com/jsql/view/swing/util/I18nViewUtil::addComponentForKey → NO_COVERAGE
            I18nViewUtil.addComponentForKey(keyI18n, label);
574
        });
575
        
576
        var panel = new JPanel(new BorderLayout());
577 1 1. getPanelFingerprinting : removed call to javax/swing/JPanel::add → NO_COVERAGE
        panel.add(tabs, BorderLayout.CENTER);
578 1 1. getPanelFingerprinting : removed call to javax/swing/JPanel::setBorder → NO_COVERAGE
        panel.setBorder(BorderFactory.createMatteBorder(1, 0, 0, 0, UiUtil.COLOR_COMPONENT_BORDER));
579
        
580 1 1. getPanelFingerprinting : replaced return value with null for com/jsql/view/swing/sql/SqlEngine::getPanelFingerprinting → NO_COVERAGE
        return panel;
581
    }
582
583
    private static JPanel initializeMenuVendor() {
584
        
585
        var panel = new JPanel();
586 1 1. initializeMenuVendor : removed call to javax/swing/JPanel::setLayout → NO_COVERAGE
        panel.setLayout(new BorderLayout());
587 1 1. initializeMenuVendor : removed call to javax/swing/JPanel::setOpaque → NO_COVERAGE
        panel.setOpaque(false);
588
589
        // Disable overlap with zerosizesplitter
590 1 1. initializeMenuVendor : removed call to javax/swing/JPanel::setBorder → NO_COVERAGE
        panel.setBorder(BorderFactory.createEmptyBorder(1, 0, 0, 0));
591 1 1. initializeMenuVendor : removed call to javax/swing/JPanel::setPreferredSize → NO_COVERAGE
        panel.setPreferredSize(new Dimension(Integer.MAX_VALUE, 25));
592 1 1. initializeMenuVendor : removed call to javax/swing/JPanel::setMaximumSize → NO_COVERAGE
        panel.setMaximumSize(new Dimension(Integer.MAX_VALUE, 25));
593
594
        var menuBarVendor = new JMenuBar();
595 1 1. initializeMenuVendor : removed call to javax/swing/JMenuBar::setOpaque → NO_COVERAGE
        menuBarVendor.setOpaque(false);
596 1 1. initializeMenuVendor : removed call to javax/swing/JMenuBar::setBorder → NO_COVERAGE
        menuBarVendor.setBorder(null);
597
        
598
        JMenu comboMenuVendor = new ComboMenu(MediatorHelper.model().getMediatorVendor().getVendor().toString());
599 2 1. initializeMenuVendor : removed call to javax/swing/JPopupMenu::setLayout → NO_COVERAGE
2. initializeMenuVendor : Replaced integer division with multiplication → NO_COVERAGE
        comboMenuVendor.getPopupMenu().setLayout(new GridLayout(MediatorHelper.model().getMediatorVendor().getVendors().size() / 2, 2));
600
        menuBarVendor.add(comboMenuVendor);
601
602
        var groupVendor = new ButtonGroup();
603
604
        List<Vendor> listVendors = new LinkedList<>(MediatorHelper.model().getMediatorVendor().getVendors());
605 2 1. lambda$initializeMenuVendor$10 : negated conditional → NO_COVERAGE
2. lambda$initializeMenuVendor$10 : replaced boolean return with true for com/jsql/view/swing/sql/SqlEngine::lambda$initializeMenuVendor$10 → NO_COVERAGE
        listVendors.removeIf(vendor -> vendor == MediatorHelper.model().getMediatorVendor().getAuto());
606
        
607
        for (final Vendor vendor: listVendors) {
608
            
609
            JMenuItem itemRadioVendor = new JRadioButtonMenuItem(
610
                vendor.toString(),
611 1 1. initializeMenuVendor : negated conditional → NO_COVERAGE
                vendor == MediatorHelper.model().getMediatorVendor().getVendor()
612
            );
613
            
614 1 1. initializeMenuVendor : removed call to javax/swing/JMenuItem::addActionListener → NO_COVERAGE
            itemRadioVendor.addActionListener(actionEvent -> {
615
                
616
                SqlEngine.modelYaml = vendor.instance().getModelYaml();
617 1 1. lambda$initializeMenuVendor$11 : removed call to com/jsql/view/swing/sql/SqlEngine::initializeTextComponents → NO_COVERAGE
                SqlEngine.initializeTextComponents();
618 1 1. lambda$initializeMenuVendor$11 : removed call to javax/swing/JMenu::setText → NO_COVERAGE
                comboMenuVendor.setText(vendor.toString());
619
            });
620
            
621 1 1. initializeMenuVendor : removed call to javax/swing/JMenuItem::setUI → NO_COVERAGE
            itemRadioVendor.setUI(
622
                new BasicRadioButtonMenuItemUI() {
623
                    
624
                    @Override
625
                    protected void doClick(MenuSelectionManager msm) {
626
                        
627 1 1. doClick : removed call to javax/swing/JMenuItem::doClick → NO_COVERAGE
                        this.menuItem.doClick(0);
628
                    }
629
                }
630
            );
631
            
632
            comboMenuVendor.add(itemRadioVendor);
633 1 1. initializeMenuVendor : removed call to javax/swing/ButtonGroup::add → NO_COVERAGE
            groupVendor.add(itemRadioVendor);
634
        }
635
        
636 1 1. initializeMenuVendor : removed call to javax/swing/JPanel::add → NO_COVERAGE
        panel.add(menuBarVendor, BorderLayout.LINE_END);
637
638
        // Do Overlay
639 1 1. initializeMenuVendor : removed call to javax/swing/JPanel::setAlignmentX → NO_COVERAGE
        panel.setAlignmentX(FlowLayout.TRAILING);
640 1 1. initializeMenuVendor : removed call to javax/swing/JPanel::setAlignmentY → NO_COVERAGE
        panel.setAlignmentY(Component.BOTTOM_ALIGNMENT);
641
        
642 1 1. initializeMenuVendor : replaced return value with null for com/jsql/view/swing/sql/SqlEngine::initializeMenuVendor → NO_COVERAGE
        return panel;
643
    }
644
    
645
    /**
646
     * Configure all text components with new coloring and new modelYaml setter.
647
     */
648
    private static void initializeTextComponents() {
649
        
650 1 1. initializeTextComponents : removed call to java/util/List::forEach → NO_COVERAGE
        SqlEngine.getTextPanes().forEach(SqlEngine::resetLexer);
651 1 1. initializeTextComponents : removed call to java/util/List::forEach → NO_COVERAGE
        SqlEngine.getTextPanes().forEach(JTextPaneObjectMethod::switchSetterToVendor);
652 2 1. lambda$initializeTextComponents$12 : removed call to com/jsql/view/swing/sql/text/JTextPaneLexer::setText → NO_COVERAGE
2. initializeTextComponents : removed call to java/util/List::forEach → NO_COVERAGE
        SqlEngine.getTextPanes().forEach(textPaneLexer -> textPaneLexer.setText(StringUtils.EMPTY));
653
        
654
        Stream.of(TextareaWithColor.values())
655 1 1. initializeTextComponents : removed call to java/util/stream/Stream::forEach → NO_COVERAGE
        .forEach(entry -> entry.getText()
656 1 1. lambda$initializeTextComponents$13 : removed call to com/jsql/view/swing/sql/text/JTextPaneLexer::setText → NO_COVERAGE
            .setText(
657
                entry.getText()
658
                .getSupplierGetter()
659
                .get()
660
                .trim()
661
            )
662
        );
663
664 1 1. initializeTextComponents : removed call to com/jsql/view/swing/sql/SqlEngine::populateTabError → NO_COVERAGE
        SqlEngine.populateTabError();
665
    }
666
    
667
    /**
668
     * Dynamically add textPanes to Error tab for current vendor.
669
     */
670
    private static void populateTabError() {
671
        
672 1 1. populateTabError : removed call to javax/swing/JTabbedPane::removeAll → NO_COVERAGE
        SqlEngine.tabbedPaneError.removeAll();
673
        
674 1 1. populateTabError : negated conditional → NO_COVERAGE
        if (SqlEngine.modelYaml.getStrategy().getError() == null) {
675
            return;
676
        }
677
            
678
        for (Method methodError: SqlEngine.modelYaml.getStrategy().getError().getMethod()) {
679
            
680
            var panelError = new JPanel(new BorderLayout());
681
            
682
            final var refMethodError = new Method[]{ methodError };
683
            
684
            var textPaneError = new JTextPaneLexer(
685
                refMethodError[0]::setQuery,
686
                refMethodError[0]::getQuery
687
            );
688
            
689 1 1. populateTabError : removed call to com/jsql/view/swing/sql/SqlEngine::resetLexer → NO_COVERAGE
            SqlEngine.resetLexer(textPaneError);
690 1 1. populateTabError : removed call to com/jsql/view/swing/sql/text/JTextPaneLexer::switchSetterToVendor → NO_COVERAGE
            textPaneError.switchSetterToVendor();
691 1 1. populateTabError : removed call to com/jsql/view/swing/sql/text/JTextPaneLexer::setText → NO_COVERAGE
            textPaneError.setText(methodError.getQuery().trim());
692 1 1. populateTabError : removed call to com/jsql/view/swing/sql/text/JTextPaneLexer::setBorder → NO_COVERAGE
            textPaneError.setBorder(SqlEngine.borderRight);
693
694 1 1. populateTabError : removed call to javax/swing/JPanel::add → NO_COVERAGE
            panelError.add(new LightScrollPane(1, 0, 1, 0, textPaneError), BorderLayout.CENTER);
695
            
696
            var panelLimit = new JPanel();
697 1 1. populateTabError : removed call to javax/swing/JPanel::setLayout → NO_COVERAGE
            panelLimit.setLayout(new BoxLayout(panelLimit, BoxLayout.LINE_AXIS));
698
            panelLimit.add(new JLabel(" Overflow limit: "));
699
            panelLimit.add(new JTextField(Integer.toString(methodError.getCapacity())));
700
            
701
            // TODO Integrate Error limit
702 1 1. populateTabError : removed call to javax/swing/JPanel::add → NO_COVERAGE
            panelError.add(panelLimit, BorderLayout.SOUTH);
703
704 1 1. populateTabError : removed call to javax/swing/JTabbedPane::addTab → NO_COVERAGE
            SqlEngine.tabbedPaneError.addTab(methodError.getName(), panelError);
705
            
706 1 1. populateTabError : removed call to javax/swing/JTabbedPane::setTitleAt → NO_COVERAGE
            SqlEngine.tabbedPaneError.setTitleAt(
707 1 1. populateTabError : Replaced integer subtraction with addition → NO_COVERAGE
                SqlEngine.tabbedPaneError.getTabCount() - 1,
708
                String.format(
709
                    "<html><div style=\"text-align:left;width:100px;\">%s</div></html>",
710
                    methodError.getName()
711
                )
712
            );
713
            
714
            SqlEngine.textPanesError.add(textPaneError);
715
        }
716
    }
717
718
    /**
719
     * End coloring threads.
720
     * Used when Sql Engine is closed by ctrl+W or using tab header close icon and middle click.
721
     */
722
    @Override
723
    public void clean() {
724 1 1. clean : removed call to java/util/List::forEach → NO_COVERAGE
        SqlEngine.getTextPanes().forEach(UiUtil::stopDocumentColorer);
725
    }
726
    
727
    /**
728
     * Reset the textPane colorer.
729
     * @param textPane which colorer will be reset.
730
     */
731
    private static void resetLexer(JTextPaneLexer textPane) {
732
        
733 1 1. resetLexer : removed call to com/jsql/view/swing/util/UiUtil::stopDocumentColorer → NO_COVERAGE
        UiUtil.stopDocumentColorer(textPane);
734
        
735
        var document = new HighlightedDocument(HighlightedDocument.SQL_STYLE);
736 1 1. resetLexer : removed call to com/jsql/view/swing/sql/lexer/HighlightedDocument::setHighlightStyle → NO_COVERAGE
        document.setHighlightStyle(HighlightedDocument.SQL_STYLE);
737 1 1. resetLexer : removed call to com/jsql/view/swing/sql/text/JTextPaneLexer::setStyledDocument → NO_COVERAGE
        textPane.setStyledDocument(document);
738
        
739 1 1. resetLexer : removed call to com/jsql/view/swing/sql/lexer/HighlightedDocument::addDocumentListener → NO_COVERAGE
        document.addDocumentListener(new DocumentListenerEditing() {
740
            @Override
741
            public void process() {
742 1 1. process : removed call to com/jsql/view/swing/sql/text/JTextPaneLexer::setAttribute → NO_COVERAGE
                textPane.setAttribute();
743
            }
744
        });
745
    }
746
    
747
    /**
748
     * Merge list of Error textPanes and list of other textAreas.
749
     * @return the merged list
750
     */
751
    private static List<JTextPaneLexer> getTextPanes() {
752 1 1. getTextPanes : replaced return value with Collections.emptyList for com/jsql/view/swing/sql/SqlEngine::getTextPanes → NO_COVERAGE
        return Stream.concat(
753
            SqlEngine.textPanesError.stream(),
754
            Stream.of(TextareaWithColor.values())
755
                .map(TextareaWithColor::getText)
756
        )
757
        .collect(Collectors.toList());
758
    }
759
}

Mutations

43

1.1
Location : lambda$static$0
Killed by : none
removed call to com/jsql/model/injection/vendor/model/yaml/Schema::setDatabase → NO_COVERAGE

44

1.1
Location : lambda$static$1
Killed by : none
replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$1 → NO_COVERAGE

47

1.1
Location : lambda$static$2
Killed by : none
removed call to com/jsql/model/injection/vendor/model/yaml/Schema::setTable → NO_COVERAGE

48

1.1
Location : lambda$static$3
Killed by : none
replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$3 → NO_COVERAGE

51

1.1
Location : lambda$static$4
Killed by : none
removed call to com/jsql/model/injection/vendor/model/yaml/Schema::setColumn → NO_COVERAGE

52

1.1
Location : lambda$static$5
Killed by : none
replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$5 → NO_COVERAGE

55

1.1
Location : lambda$static$6
Killed by : none
removed call to com/jsql/model/injection/vendor/model/yaml/Row::setQuery → NO_COVERAGE

56

1.1
Location : lambda$static$7
Killed by : none
replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$7 → NO_COVERAGE

59

1.1
Location : lambda$static$8
Killed by : none
removed call to com/jsql/model/injection/vendor/model/yaml/Fields::setField → NO_COVERAGE

60

1.1
Location : lambda$static$9
Killed by : none
replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$9 → NO_COVERAGE

63

1.1
Location : lambda$static$10
Killed by : none
removed call to com/jsql/model/injection/vendor/model/yaml/Fields::setConcat → NO_COVERAGE

64

1.1
Location : lambda$static$11
Killed by : none
replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$11 → NO_COVERAGE

69

1.1
Location : lambda$static$12
Killed by : none
removed call to com/jsql/model/injection/vendor/model/yaml/Schema::setDatabase → NO_COVERAGE

70

1.1
Location : lambda$static$13
Killed by : none
replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$13 → NO_COVERAGE

73

1.1
Location : lambda$static$14
Killed by : none
removed call to com/jsql/model/injection/vendor/model/yaml/Schema::setTable → NO_COVERAGE

74

1.1
Location : lambda$static$15
Killed by : none
replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$15 → NO_COVERAGE

77

1.1
Location : lambda$static$16
Killed by : none
removed call to com/jsql/model/injection/vendor/model/yaml/Schema::setColumn → NO_COVERAGE

78

1.1
Location : lambda$static$17
Killed by : none
replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$17 → NO_COVERAGE

81

1.1
Location : lambda$static$18
Killed by : none
removed call to com/jsql/model/injection/vendor/model/yaml/Row::setQuery → NO_COVERAGE

82

1.1
Location : lambda$static$19
Killed by : none
replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$19 → NO_COVERAGE

85

1.1
Location : lambda$static$20
Killed by : none
removed call to com/jsql/model/injection/vendor/model/yaml/Fields::setField → NO_COVERAGE

86

1.1
Location : lambda$static$21
Killed by : none
replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$21 → NO_COVERAGE

89

1.1
Location : lambda$static$22
Killed by : none
removed call to com/jsql/model/injection/vendor/model/yaml/Fields::setConcat → NO_COVERAGE

90

1.1
Location : lambda$static$23
Killed by : none
replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$23 → NO_COVERAGE

95

1.1
Location : lambda$static$24
Killed by : none
removed call to com/jsql/model/injection/vendor/model/yaml/Schema::setDatabase → NO_COVERAGE

96

1.1
Location : lambda$static$25
Killed by : none
replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$25 → NO_COVERAGE

99

1.1
Location : lambda$static$26
Killed by : none
removed call to com/jsql/model/injection/vendor/model/yaml/Schema::setTable → NO_COVERAGE

100

1.1
Location : lambda$static$27
Killed by : none
replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$27 → NO_COVERAGE

103

1.1
Location : lambda$static$28
Killed by : none
removed call to com/jsql/model/injection/vendor/model/yaml/Schema::setColumn → NO_COVERAGE

104

1.1
Location : lambda$static$29
Killed by : none
replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$29 → NO_COVERAGE

107

1.1
Location : lambda$static$30
Killed by : none
removed call to com/jsql/model/injection/vendor/model/yaml/Row::setQuery → NO_COVERAGE

108

1.1
Location : lambda$static$31
Killed by : none
replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$31 → NO_COVERAGE

111

1.1
Location : lambda$static$32
Killed by : none
removed call to com/jsql/model/injection/vendor/model/yaml/Fields::setField → NO_COVERAGE

112

1.1
Location : lambda$static$33
Killed by : none
replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$33 → NO_COVERAGE

115

1.1
Location : lambda$static$34
Killed by : none
removed call to com/jsql/model/injection/vendor/model/yaml/Fields::setConcat → NO_COVERAGE

116

1.1
Location : lambda$static$35
Killed by : none
replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$35 → NO_COVERAGE

120

1.1
Location : lambda$static$36
Killed by : none
removed call to com/jsql/model/injection/vendor/model/yaml/Resource::setInfo → NO_COVERAGE

121

1.1
Location : lambda$static$37
Killed by : none
replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$37 → NO_COVERAGE

126

1.1
Location : lambda$static$38
Killed by : none
removed call to com/jsql/model/injection/vendor/model/yaml/Configuration::setSlidingWindow → NO_COVERAGE

127

1.1
Location : lambda$static$39
Killed by : none
replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$39 → NO_COVERAGE

130

1.1
Location : lambda$static$40
Killed by : none
removed call to com/jsql/model/injection/vendor/model/yaml/Configuration::setLimit → NO_COVERAGE

131

1.1
Location : lambda$static$41
Killed by : none
replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$41 → NO_COVERAGE

134

1.1
Location : lambda$static$42
Killed by : none
removed call to com/jsql/model/injection/vendor/model/yaml/Configuration::setFailsafe → NO_COVERAGE

135

1.1
Location : lambda$static$43
Killed by : none
replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$43 → NO_COVERAGE

138

1.1
Location : lambda$static$44
Killed by : none
removed call to com/jsql/model/injection/vendor/model/yaml/Configuration::setCalibrator → NO_COVERAGE

139

1.1
Location : lambda$static$45
Killed by : none
replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$45 → NO_COVERAGE

142

1.1
Location : lambda$static$46
Killed by : none
removed call to com/jsql/model/injection/vendor/model/yaml/Configuration::setEndingComment → NO_COVERAGE

143

1.1
Location : lambda$static$47
Killed by : none
replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$47 → NO_COVERAGE

146

1.1
Location : lambda$static$48
Killed by : none
removed call to com/jsql/model/injection/vendor/model/yaml/Configuration::setLimitBoundary → NO_COVERAGE

147

1.1
Location : lambda$static$49
Killed by : none
replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$49 → NO_COVERAGE

152

1.1
Location : lambda$static$50
Killed by : none
removed call to com/jsql/model/injection/vendor/model/yaml/Normal::setIndices → NO_COVERAGE

153

1.1
Location : lambda$static$51
Killed by : none
replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$51 → NO_COVERAGE

156

1.1
Location : lambda$static$52
Killed by : none
removed call to com/jsql/model/injection/vendor/model/yaml/Normal::setCapacity → NO_COVERAGE

157

1.1
Location : lambda$static$53
Killed by : none
replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$53 → NO_COVERAGE

161

1.1
Location : lambda$static$54
Killed by : none
removed call to com/jsql/model/injection/vendor/model/yaml/Strategy::setStacked → NO_COVERAGE

162

1.1
Location : lambda$static$55
Killed by : none
replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$55 → NO_COVERAGE

167

1.1
Location : lambda$static$56
Killed by : none
removed call to com/jsql/model/injection/vendor/model/yaml/Boolean::setModeAnd → NO_COVERAGE

168

1.1
Location : lambda$static$57
Killed by : none
replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$57 → NO_COVERAGE

171

1.1
Location : lambda$static$58
Killed by : none
removed call to com/jsql/model/injection/vendor/model/yaml/Boolean::setModeOr → NO_COVERAGE

172

1.1
Location : lambda$static$59
Killed by : none
replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$59 → NO_COVERAGE

175

1.1
Location : lambda$static$60
Killed by : none
removed call to com/jsql/model/injection/vendor/model/yaml/Boolean::setModeStacked → NO_COVERAGE

176

1.1
Location : lambda$static$61
Killed by : none
replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$61 → NO_COVERAGE

179

1.1
Location : lambda$static$62
Killed by : none
removed call to com/jsql/model/injection/vendor/model/yaml/Boolean::setBlind → NO_COVERAGE

180

1.1
Location : lambda$static$63
Killed by : none
replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$63 → NO_COVERAGE

183

1.1
Location : lambda$static$64
Killed by : none
removed call to com/jsql/model/injection/vendor/model/yaml/Boolean::setTime → NO_COVERAGE

184

1.1
Location : lambda$static$65
Killed by : none
replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$65 → NO_COVERAGE

187

1.1
Location : lambda$static$66
Killed by : none
removed call to com/jsql/model/injection/vendor/model/yaml/Boolean::setMultibit → NO_COVERAGE

188

1.1
Location : lambda$static$67
Killed by : none
replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$67 → NO_COVERAGE

191

1.1
Location : lambda$static$68
Killed by : none
removed call to com/jsql/model/injection/vendor/model/yaml/Test::setBit → NO_COVERAGE

192

1.1
Location : lambda$static$69
Killed by : none
replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$69 → NO_COVERAGE

197

1.1
Location : lambda$static$70
Killed by : none
removed call to com/jsql/model/injection/vendor/model/yaml/File::setPrivilege → NO_COVERAGE

198

1.1
Location : lambda$static$71
Killed by : none
replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$71 → NO_COVERAGE

201

1.1
Location : lambda$static$72
Killed by : none
removed call to com/jsql/model/injection/vendor/model/yaml/File::setRead → NO_COVERAGE

202

1.1
Location : lambda$static$73
Killed by : none
replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$73 → NO_COVERAGE

205

1.1
Location : lambda$static$74
Killed by : none
removed call to com/jsql/model/injection/vendor/model/yaml/Write::setBody → NO_COVERAGE

206

1.1
Location : lambda$static$75
Killed by : none
replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$75 → NO_COVERAGE

209

1.1
Location : lambda$static$76
Killed by : none
removed call to com/jsql/model/injection/vendor/model/yaml/Write::setPath → NO_COVERAGE

210

1.1
Location : lambda$static$77
Killed by : none
replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$77 → NO_COVERAGE

215

1.1
Location : lambda$static$78
Killed by : none
removed call to com/jsql/model/injection/vendor/model/yaml/Test::setTruthy → NO_COVERAGE

216

1.1
Location : lambda$static$79
Killed by : none
replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$79 → NO_COVERAGE

219

1.1
Location : lambda$static$80
Killed by : none
removed call to com/jsql/model/injection/vendor/model/yaml/Test::setFalsy → NO_COVERAGE

220

1.1
Location : lambda$static$81
Killed by : none
replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$81 → NO_COVERAGE

223

1.1
Location : lambda$static$82
Killed by : none
removed call to com/jsql/model/injection/vendor/model/yaml/Fingerprint::setErrorMessageAsString → NO_COVERAGE

224

1.1
Location : lambda$static$83
Killed by : none
replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$83 → NO_COVERAGE

227

1.1
Location : lambda$static$84
Killed by : none
removed call to com/jsql/model/injection/vendor/model/yaml/Fingerprint::setOrderByErrorMessage → NO_COVERAGE

228

1.1
Location : lambda$static$85
Killed by : none
replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$85 → NO_COVERAGE

231

1.1
Location : lambda$static$86
Killed by : none
removed call to com/jsql/model/injection/vendor/model/yaml/Normal::setOrderBy → NO_COVERAGE

232

1.1
Location : lambda$static$87
Killed by : none
replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$87 → NO_COVERAGE

235

1.1
Location : lambda$static$88
Killed by : none
removed call to com/jsql/model/injection/vendor/model/yaml/Fingerprint::setVendorSpecific → NO_COVERAGE

236

1.1
Location : lambda$static$89
Killed by : none
replaced return value with "" for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::lambda$static$89 → NO_COVERAGE

243

1.1
Location : getText
Killed by : none
replaced return value with null for com/jsql/view/swing/sql/SqlEngine$TextareaWithColor::getText → NO_COVERAGE

253

1.1
Location : <init>
Killed by : none
removed call to com/jsql/view/swing/sql/SqlEngine::initializeTextComponents → NO_COVERAGE

286

1.1
Location : lambda$new$0
Killed by : none
removed call to com/jsql/view/swing/sql/text/JTextPaneLexer::setBorder → NO_COVERAGE

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

303

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

305

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

308

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

313

1.1
Location : lambda$new$1
Killed by : none
removed call to com/jsql/view/swing/util/I18nViewUtil::addComponentForKey → NO_COVERAGE

316

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

322

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

323

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

325

1.1
Location : <init>
Killed by : none
removed call to com/jsql/view/swing/menubar/Menubar::switchLocale → NO_COVERAGE

349

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

351

1.1
Location : lambda$getPanelStructure$2
Killed by : none
removed call to javax/swing/JTabbedPane::addTab → NO_COVERAGE

357

1.1
Location : lambda$getPanelStructure$2
Killed by : none
removed call to javax/swing/JTabbedPane::setTabComponentAt → NO_COVERAGE

361

1.1
Location : lambda$getPanelStructure$2
Killed by : none
removed call to com/jsql/view/swing/util/I18nViewUtil::addComponentForKey → NO_COVERAGE

374

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

376

1.1
Location : lambda$getPanelStructure$3
Killed by : none
removed call to javax/swing/JTabbedPane::addTab → NO_COVERAGE

382

1.1
Location : lambda$getPanelStructure$3
Killed by : none
removed call to javax/swing/JTabbedPane::setTabComponentAt → NO_COVERAGE

386

1.1
Location : lambda$getPanelStructure$3
Killed by : none
removed call to com/jsql/view/swing/util/I18nViewUtil::addComponentForKey → NO_COVERAGE

399

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

401

1.1
Location : lambda$getPanelStructure$4
Killed by : none
removed call to javax/swing/JTabbedPane::addTab → NO_COVERAGE

407

1.1
Location : lambda$getPanelStructure$4
Killed by : none
removed call to javax/swing/JTabbedPane::setTabComponentAt → NO_COVERAGE

411

1.1
Location : lambda$getPanelStructure$4
Killed by : none
removed call to com/jsql/view/swing/util/I18nViewUtil::addComponentForKey → NO_COVERAGE

419

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

421

1.1
Location : lambda$getPanelStructure$5
Killed by : none
removed call to javax/swing/JTabbedPane::addTab → NO_COVERAGE

424

1.1
Location : lambda$getPanelStructure$5
Killed by : none
removed call to javax/swing/JTabbedPane::setTabComponentAt → NO_COVERAGE

428

1.1
Location : lambda$getPanelStructure$5
Killed by : none
removed call to com/jsql/view/swing/util/I18nViewUtil::addComponentForKey → NO_COVERAGE

432

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

433

1.1
Location : getPanelStructure
Killed by : none
removed call to javax/swing/JPanel::setBorder → NO_COVERAGE

435

1.1
Location : getPanelStructure
Killed by : none
replaced return value with null for com/jsql/view/swing/sql/SqlEngine::getPanelStructure → NO_COVERAGE

442

1.1
Location : getPanelFile
Killed by : none
removed call to javax/swing/JTabbedPane::addTab → NO_COVERAGE

443

1.1
Location : getPanelFile
Killed by : none
removed call to javax/swing/JTabbedPane::addTab → NO_COVERAGE

444

1.1
Location : getPanelFile
Killed by : none
removed call to javax/swing/JTabbedPane::addTab → NO_COVERAGE

445

1.1
Location : getPanelFile
Killed by : none
removed call to javax/swing/JTabbedPane::addTab → NO_COVERAGE

448

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

449

1.1
Location : getPanelFile
Killed by : none
removed call to javax/swing/JPanel::setBorder → NO_COVERAGE

451

1.1
Location : getPanelFile
Killed by : none
replaced return value with null for com/jsql/view/swing/sql/SqlEngine::getPanelFile → NO_COVERAGE

457

1.1
Location : getPanelStrategy
Killed by : none
removed call to javax/swing/JTabbedPane::addTab → NO_COVERAGE

460

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

461

1.1
Location : getPanelStrategy
Killed by : none
removed call to javax/swing/JPanel::setBorder → NO_COVERAGE

463

1.1
Location : getPanelStrategy
Killed by : none
removed call to javax/swing/JTabbedPane::addTab → NO_COVERAGE

467

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

469

1.1
Location : getPanelStrategy
Killed by : none
removed call to javax/swing/JTabbedPane::addTab → NO_COVERAGE

483

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

484

1.1
Location : lambda$getPanelStrategy$6
Killed by : none
removed call to javax/swing/JTabbedPane::addTab → NO_COVERAGE

491

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

493

1.1
Location : getPanelStrategy
Killed by : none
removed call to javax/swing/JTabbedPane::addTab → NO_COVERAGE

502

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

506

1.1
Location : lambda$getPanelStrategy$7
Killed by : none
removed call to javax/swing/JTabbedPane::setTabComponentAt → NO_COVERAGE

511

1.1
Location : lambda$getPanelStrategy$7
Killed by : none
removed call to com/jsql/view/swing/util/I18nViewUtil::addComponentForKey → NO_COVERAGE

514

1.1
Location : getPanelStrategy
Killed by : none
replaced return value with null for com/jsql/view/swing/sql/SqlEngine::getPanelStrategy → NO_COVERAGE

521

1.1
Location : getPanelConfiguration
Killed by : none
removed call to javax/swing/JTabbedPane::addTab → NO_COVERAGE

522

1.1
Location : getPanelConfiguration
Killed by : none
removed call to javax/swing/JTabbedPane::addTab → NO_COVERAGE

523

1.1
Location : getPanelConfiguration
Killed by : none
removed call to javax/swing/JTabbedPane::addTab → NO_COVERAGE

524

1.1
Location : getPanelConfiguration
Killed by : none
removed call to javax/swing/JTabbedPane::addTab → NO_COVERAGE

525

1.1
Location : getPanelConfiguration
Killed by : none
removed call to javax/swing/JTabbedPane::addTab → NO_COVERAGE

526

1.1
Location : getPanelConfiguration
Killed by : none
removed call to javax/swing/JTabbedPane::addTab → NO_COVERAGE

527

1.1
Location : getPanelConfiguration
Killed by : none
removed call to javax/swing/JTabbedPane::addTab → NO_COVERAGE

536

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

539

1.1
Location : lambda$getPanelConfiguration$8
Killed by : none
removed call to javax/swing/JTabbedPane::setTabComponentAt → NO_COVERAGE

544

1.1
Location : lambda$getPanelConfiguration$8
Killed by : none
removed call to com/jsql/view/swing/util/I18nViewUtil::addComponentForKey → NO_COVERAGE

548

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

549

1.1
Location : getPanelConfiguration
Killed by : none
removed call to javax/swing/JPanel::setBorder → NO_COVERAGE

551

1.1
Location : getPanelConfiguration
Killed by : none
replaced return value with null for com/jsql/view/swing/sql/SqlEngine::getPanelConfiguration → NO_COVERAGE

558

1.1
Location : getPanelFingerprinting
Killed by : none
removed call to javax/swing/JTabbedPane::addTab → NO_COVERAGE

559

1.1
Location : getPanelFingerprinting
Killed by : none
removed call to javax/swing/JTabbedPane::addTab → NO_COVERAGE

560

1.1
Location : getPanelFingerprinting
Killed by : none
removed call to javax/swing/JTabbedPane::addTab → NO_COVERAGE

561

1.1
Location : getPanelFingerprinting
Killed by : none
removed call to javax/swing/JTabbedPane::addTab → NO_COVERAGE

562

1.1
Location : getPanelFingerprinting
Killed by : none
removed call to javax/swing/JTabbedPane::addTab → NO_COVERAGE

563

1.1
Location : getPanelFingerprinting
Killed by : none
removed call to javax/swing/JTabbedPane::addTab → NO_COVERAGE

565

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

568

1.1
Location : lambda$getPanelFingerprinting$9
Killed by : none
removed call to javax/swing/JTabbedPane::setTabComponentAt → NO_COVERAGE

573

1.1
Location : lambda$getPanelFingerprinting$9
Killed by : none
removed call to com/jsql/view/swing/util/I18nViewUtil::addComponentForKey → NO_COVERAGE

577

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

578

1.1
Location : getPanelFingerprinting
Killed by : none
removed call to javax/swing/JPanel::setBorder → NO_COVERAGE

580

1.1
Location : getPanelFingerprinting
Killed by : none
replaced return value with null for com/jsql/view/swing/sql/SqlEngine::getPanelFingerprinting → NO_COVERAGE

586

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

587

1.1
Location : initializeMenuVendor
Killed by : none
removed call to javax/swing/JPanel::setOpaque → NO_COVERAGE

590

1.1
Location : initializeMenuVendor
Killed by : none
removed call to javax/swing/JPanel::setBorder → NO_COVERAGE

591

1.1
Location : initializeMenuVendor
Killed by : none
removed call to javax/swing/JPanel::setPreferredSize → NO_COVERAGE

592

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

595

1.1
Location : initializeMenuVendor
Killed by : none
removed call to javax/swing/JMenuBar::setOpaque → NO_COVERAGE

596

1.1
Location : initializeMenuVendor
Killed by : none
removed call to javax/swing/JMenuBar::setBorder → NO_COVERAGE

599

1.1
Location : initializeMenuVendor
Killed by : none
removed call to javax/swing/JPopupMenu::setLayout → NO_COVERAGE

2.2
Location : initializeMenuVendor
Killed by : none
Replaced integer division with multiplication → NO_COVERAGE

605

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

2.2
Location : lambda$initializeMenuVendor$10
Killed by : none
replaced boolean return with true for com/jsql/view/swing/sql/SqlEngine::lambda$initializeMenuVendor$10 → NO_COVERAGE

611

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

614

1.1
Location : initializeMenuVendor
Killed by : none
removed call to javax/swing/JMenuItem::addActionListener → NO_COVERAGE

617

1.1
Location : lambda$initializeMenuVendor$11
Killed by : none
removed call to com/jsql/view/swing/sql/SqlEngine::initializeTextComponents → NO_COVERAGE

618

1.1
Location : lambda$initializeMenuVendor$11
Killed by : none
removed call to javax/swing/JMenu::setText → NO_COVERAGE

621

1.1
Location : initializeMenuVendor
Killed by : none
removed call to javax/swing/JMenuItem::setUI → NO_COVERAGE

627

1.1
Location : doClick
Killed by : none
removed call to javax/swing/JMenuItem::doClick → NO_COVERAGE

633

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

636

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

639

1.1
Location : initializeMenuVendor
Killed by : none
removed call to javax/swing/JPanel::setAlignmentX → NO_COVERAGE

640

1.1
Location : initializeMenuVendor
Killed by : none
removed call to javax/swing/JPanel::setAlignmentY → NO_COVERAGE

642

1.1
Location : initializeMenuVendor
Killed by : none
replaced return value with null for com/jsql/view/swing/sql/SqlEngine::initializeMenuVendor → NO_COVERAGE

650

1.1
Location : initializeTextComponents
Killed by : none
removed call to java/util/List::forEach → NO_COVERAGE

651

1.1
Location : initializeTextComponents
Killed by : none
removed call to java/util/List::forEach → NO_COVERAGE

652

1.1
Location : lambda$initializeTextComponents$12
Killed by : none
removed call to com/jsql/view/swing/sql/text/JTextPaneLexer::setText → NO_COVERAGE

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

655

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

656

1.1
Location : lambda$initializeTextComponents$13
Killed by : none
removed call to com/jsql/view/swing/sql/text/JTextPaneLexer::setText → NO_COVERAGE

664

1.1
Location : initializeTextComponents
Killed by : none
removed call to com/jsql/view/swing/sql/SqlEngine::populateTabError → NO_COVERAGE

672

1.1
Location : populateTabError
Killed by : none
removed call to javax/swing/JTabbedPane::removeAll → NO_COVERAGE

674

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

689

1.1
Location : populateTabError
Killed by : none
removed call to com/jsql/view/swing/sql/SqlEngine::resetLexer → NO_COVERAGE

690

1.1
Location : populateTabError
Killed by : none
removed call to com/jsql/view/swing/sql/text/JTextPaneLexer::switchSetterToVendor → NO_COVERAGE

691

1.1
Location : populateTabError
Killed by : none
removed call to com/jsql/view/swing/sql/text/JTextPaneLexer::setText → NO_COVERAGE

692

1.1
Location : populateTabError
Killed by : none
removed call to com/jsql/view/swing/sql/text/JTextPaneLexer::setBorder → NO_COVERAGE

694

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

697

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

702

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

704

1.1
Location : populateTabError
Killed by : none
removed call to javax/swing/JTabbedPane::addTab → NO_COVERAGE

706

1.1
Location : populateTabError
Killed by : none
removed call to javax/swing/JTabbedPane::setTitleAt → NO_COVERAGE

707

1.1
Location : populateTabError
Killed by : none
Replaced integer subtraction with addition → NO_COVERAGE

724

1.1
Location : clean
Killed by : none
removed call to java/util/List::forEach → NO_COVERAGE

733

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

736

1.1
Location : resetLexer
Killed by : none
removed call to com/jsql/view/swing/sql/lexer/HighlightedDocument::setHighlightStyle → NO_COVERAGE

737

1.1
Location : resetLexer
Killed by : none
removed call to com/jsql/view/swing/sql/text/JTextPaneLexer::setStyledDocument → NO_COVERAGE

739

1.1
Location : resetLexer
Killed by : none
removed call to com/jsql/view/swing/sql/lexer/HighlightedDocument::addDocumentListener → NO_COVERAGE

742

1.1
Location : process
Killed by : none
removed call to com/jsql/view/swing/sql/text/JTextPaneLexer::setAttribute → NO_COVERAGE

752

1.1
Location : getTextPanes
Killed by : none
replaced return value with Collections.emptyList for com/jsql/view/swing/sql/SqlEngine::getTextPanes → NO_COVERAGE

Active mutators

Tests examined


Report generated by PIT 1.16.1