| 1 | /******************************************************************************* | |
| 2 | * Copyhacked (H) 2012-2025. | |
| 3 | * This program and the accompanying materials | |
| 4 | * are made available under no term at all, use it like | |
| 5 | * you want, but share and discuss it | |
| 6 | * every time possible with every body. | |
| 7 | * | |
| 8 | * Contributors: | |
| 9 | * ron190 at ymail dot com - initial implementation | |
| 10 | ******************************************************************************/ | |
| 11 | package com.jsql.view.swing.manager; | |
| 12 | ||
| 13 | import com.jsql.util.I18nUtil; | |
| 14 | import com.jsql.util.bruter.ActionCoder; | |
| 15 | import com.jsql.view.swing.manager.util.ActionBruteForce; | |
| 16 | import com.jsql.view.swing.manager.util.JButtonStateful; | |
| 17 | import com.jsql.view.swing.manager.util.ModelBrute; | |
| 18 | import com.jsql.view.swing.manager.util.ModelSpinner; | |
| 19 | import com.jsql.view.swing.panel.preferences.listener.SpinnerMouseWheelListener; | |
| 20 | import com.jsql.view.swing.text.*; | |
| 21 | import com.jsql.view.swing.util.I18nViewUtil; | |
| 22 | import org.apache.commons.lang3.StringUtils; | |
| 23 | ||
| 24 | import javax.swing.*; | |
| 25 | import java.awt.*; | |
| 26 | import java.util.Arrays; | |
| 27 | import java.util.concurrent.atomic.AtomicReference; | |
| 28 | ||
| 29 | /** | |
| 30 | * Manager to brute force a hash of various types. | |
| 31 | */ | |
| 32 | public class ManagerBruteForce extends JPanel { | |
| 33 | ||
| 34 | public static final String BRUTEFORCE_RUN_BUTTON_TOOLTIP = "BRUTEFORCE_RUN_BUTTON_TOOLTIP"; | |
| 35 | public static final String BRUTEFORCE_HASH_TOOLTIP = "BRUTEFORCE_HASH_TOOLTIP"; | |
| 36 | public static final String BRUTEFORCE_EXCLUDE_TOOLTIP = "BRUTEFORCE_EXCLUDE_TOOLTIP"; | |
| 37 | ||
| 38 | private JButtonStateful run; | |
| 39 | private JTextField hash; | |
| 40 | private JComboBox<String> hashTypes; | |
| 41 | private final AtomicReference<JCheckBox> lowerCaseCharacters = new AtomicReference<>(); | |
| 42 | private final AtomicReference<JCheckBox> upperCaseCharacters = new AtomicReference<>(); | |
| 43 | private final AtomicReference<JCheckBox> numericCharacters = new AtomicReference<>(); | |
| 44 | private final AtomicReference<JCheckBox> specialCharacters = new AtomicReference<>(); | |
| 45 | private JTextField exclude; | |
| 46 | private final AtomicReference<JSpinner> minimumLength = new AtomicReference<>(); | |
| 47 | private final AtomicReference<JSpinner> maximumLength = new AtomicReference<>(); | |
| 48 | private final JTextPane result; | |
| 49 | | |
| 50 | /** | |
| 51 | * Animated GIF displayed during attack. | |
| 52 | */ | |
| 53 | private JProgressBar progressBar; | |
| 54 | private final Component horizontalGlue = Box.createHorizontalGlue(); | |
| 55 | ||
| 56 | /** | |
| 57 | * Create a panel to run brute force attack. | |
| 58 | */ | |
| 59 | public ManagerBruteForce() { | |
| 60 | super(new BorderLayout()); | |
| 61 | ||
| 62 | JPanel panelOptions = this.initOptionsPanel(); | |
| 63 |
1
1. <init> : removed call to com/jsql/view/swing/manager/ManagerBruteForce::add → NO_COVERAGE |
this.add(panelOptions, BorderLayout.NORTH); |
| 64 | ||
| 65 | var placeholder = new JTextPanePlaceholder(I18nUtil.valueByKey("BRUTEFORCE_RESULT")); | |
| 66 | this.result = new JPopupTextPane(placeholder).getProxy(); | |
| 67 |
1
1. <init> : removed call to com/jsql/view/swing/util/I18nViewUtil::addComponentForKey → NO_COVERAGE |
I18nViewUtil.addComponentForKey("BRUTEFORCE_RESULT", placeholder); |
| 68 |
1
1. <init> : removed call to javax/swing/JTextPane::setName → NO_COVERAGE |
this.result.setName("managerBruterResult"); |
| 69 |
1
1. <init> : removed call to javax/swing/JTextPane::setEditable → NO_COVERAGE |
this.result.setEditable(false); |
| 70 |
1
1. <init> : removed call to com/jsql/view/swing/manager/ManagerBruteForce::add → NO_COVERAGE |
this.add(new JScrollPane(this.result), BorderLayout.CENTER); |
| 71 | ||
| 72 | JPanel panelButton = this.initPanelButton(); | |
| 73 |
1
1. <init> : removed call to com/jsql/view/swing/manager/ManagerBruteForce::add → NO_COVERAGE |
this.add(panelButton, BorderLayout.SOUTH); |
| 74 | } | |
| 75 | ||
| 76 | private JPanel initPanelButton() { | |
| 77 | var lastLine = new JPanel(); | |
| 78 |
1
1. initPanelButton : removed call to javax/swing/JPanel::setLayout → NO_COVERAGE |
lastLine.setLayout(new BoxLayout(lastLine, BoxLayout.X_AXIS)); |
| 79 | ||
| 80 | var tooltip = new AtomicReference<>(new JToolTipI18n(I18nUtil.valueByKey(ManagerBruteForce.BRUTEFORCE_RUN_BUTTON_TOOLTIP))); | |
| 81 | this.run = new JButtonStateful("BRUTEFORCE_RUN_BUTTON_LABEL") { | |
| 82 | @Override | |
| 83 | public JToolTip createToolTip() { | |
| 84 |
1
1. createToolTip : replaced return value with null for com/jsql/view/swing/manager/ManagerBruteForce$1::createToolTip → NO_COVERAGE |
return tooltip.get(); |
| 85 | } | |
| 86 | }; | |
| 87 |
1
1. initPanelButton : removed call to com/jsql/view/swing/util/I18nViewUtil::addComponentForKey → NO_COVERAGE |
I18nViewUtil.addComponentForKey("BRUTEFORCE_RUN_BUTTON_LABEL", this.run); |
| 88 |
1
1. initPanelButton : removed call to com/jsql/view/swing/util/I18nViewUtil::addComponentForKey → NO_COVERAGE |
I18nViewUtil.addComponentForKey(ManagerBruteForce.BRUTEFORCE_RUN_BUTTON_TOOLTIP, tooltip.get()); |
| 89 |
1
1. initPanelButton : removed call to com/jsql/view/swing/manager/util/JButtonStateful::setToolTipText → NO_COVERAGE |
this.run.setToolTipText(I18nUtil.valueByKey(ManagerBruteForce.BRUTEFORCE_RUN_BUTTON_TOOLTIP)); |
| 90 | ||
| 91 |
1
1. initPanelButton : removed call to com/jsql/view/swing/manager/util/JButtonStateful::setName → NO_COVERAGE |
this.run.setName("managerBruterRun"); |
| 92 |
1
1. initPanelButton : removed call to com/jsql/view/swing/manager/util/JButtonStateful::addActionListener → NO_COVERAGE |
this.run.addActionListener(new ActionBruteForce(this)); |
| 93 | ||
| 94 | this.progressBar = new JProgressBar(); | |
| 95 |
1
1. initPanelButton : removed call to javax/swing/JProgressBar::setIndeterminate → NO_COVERAGE |
this.progressBar.setIndeterminate(true); |
| 96 |
1
1. initPanelButton : removed call to javax/swing/JProgressBar::setVisible → NO_COVERAGE |
this.progressBar.setVisible(false); |
| 97 |
1
1. initPanelButton : removed call to javax/swing/JProgressBar::setBorder → NO_COVERAGE |
this.progressBar.setBorder(BorderFactory.createEmptyBorder(0, 5, 0, 5)); |
| 98 | ||
| 99 | lastLine.add(this.horizontalGlue); | |
| 100 | lastLine.add(this.progressBar); | |
| 101 | lastLine.add(this.run); | |
| 102 |
1
1. initPanelButton : replaced return value with null for com/jsql/view/swing/manager/ManagerBruteForce::initPanelButton → NO_COVERAGE |
return lastLine; |
| 103 | } | |
| 104 | ||
| 105 | public void showLoader(boolean isVisible) { | |
| 106 |
1
1. showLoader : removed call to javax/swing/JProgressBar::setVisible → NO_COVERAGE |
this.progressBar.setVisible(isVisible); |
| 107 |
2
1. showLoader : removed call to java/awt/Component::setVisible → NO_COVERAGE 2. showLoader : negated conditional → NO_COVERAGE |
this.horizontalGlue.setVisible(!isVisible); |
| 108 | } | |
| 109 | ||
| 110 | private JPanel initOptionsPanel() { | |
| 111 | var options = new JPanel(new BorderLayout()); | |
| 112 | JPanel firstLine = this.initFirstLine(); | |
| 113 | final JPanel secondLine = this.initSecondLine(); | |
| 114 | JPanel thirdLine = this.initThirdLine(); | |
| 115 | | |
| 116 | final var secondAndThirdLine = new JPanel(new BorderLayout()); | |
| 117 |
1
1. initOptionsPanel : removed call to javax/swing/JPanel::add → NO_COVERAGE |
secondAndThirdLine.add(secondLine, BorderLayout.NORTH); |
| 118 |
1
1. initOptionsPanel : removed call to javax/swing/JPanel::add → NO_COVERAGE |
secondAndThirdLine.add(thirdLine, BorderLayout.SOUTH); |
| 119 | ||
| 120 |
1
1. initOptionsPanel : removed call to javax/swing/JPanel::add → NO_COVERAGE |
options.add(firstLine, BorderLayout.NORTH); |
| 121 |
1
1. initOptionsPanel : removed call to javax/swing/JPanel::add → NO_COVERAGE |
options.add(secondAndThirdLine, BorderLayout.SOUTH); |
| 122 |
1
1. initOptionsPanel : replaced return value with null for com/jsql/view/swing/manager/ManagerBruteForce::initOptionsPanel → NO_COVERAGE |
return options; |
| 123 | } | |
| 124 | ||
| 125 | private JPanel initFirstLine() { | |
| 126 | var tooltip = new AtomicReference<>(new JToolTipI18n(I18nUtil.valueByKey(ManagerBruteForce.BRUTEFORCE_HASH_TOOLTIP))); | |
| 127 | var placeholder = new JTextFieldPlaceholder(I18nUtil.valueByKey("BRUTEFORCE_HASH_LABEL")) { | |
| 128 | @Override | |
| 129 | public JToolTip createToolTip() { | |
| 130 |
1
1. createToolTip : replaced return value with null for com/jsql/view/swing/manager/ManagerBruteForce$2::createToolTip → NO_COVERAGE |
return tooltip.get(); |
| 131 | } | |
| 132 | }; | |
| 133 | this.hash = new JPopupTextField(placeholder).getProxy(); | |
| 134 |
1
1. initFirstLine : removed call to com/jsql/view/swing/util/I18nViewUtil::addComponentForKey → NO_COVERAGE |
I18nViewUtil.addComponentForKey(ManagerBruteForce.BRUTEFORCE_HASH_TOOLTIP, tooltip.get()); |
| 135 |
1
1. initFirstLine : removed call to com/jsql/view/swing/util/I18nViewUtil::addComponentForKey → NO_COVERAGE |
I18nViewUtil.addComponentForKey("BRUTEFORCE_HASH_LABEL", this.hash); |
| 136 |
1
1. initFirstLine : removed call to javax/swing/JTextField::setName → NO_COVERAGE |
this.hash.setName("managerBruterHash"); |
| 137 |
1
1. initFirstLine : removed call to javax/swing/JTextField::setToolTipText → NO_COVERAGE |
this.hash.setToolTipText(I18nUtil.valueByKey(ManagerBruteForce.BRUTEFORCE_HASH_TOOLTIP)); |
| 138 | ||
| 139 | var firstLine = new JPanel(new BorderLayout()); | |
| 140 |
1
1. initFirstLine : removed call to javax/swing/JPanel::add → NO_COVERAGE |
firstLine.add(this.hash, BorderLayout.CENTER); |
| 141 |
1
1. initFirstLine : replaced return value with null for com/jsql/view/swing/manager/ManagerBruteForce::initFirstLine → NO_COVERAGE |
return firstLine; |
| 142 | } | |
| 143 | ||
| 144 | private JPanel initSecondLine() { | |
| 145 | final var secondLine = new JPanel(); | |
| 146 |
1
1. initSecondLine : removed call to javax/swing/JPanel::setLayout → NO_COVERAGE |
secondLine.setLayout(new BoxLayout(secondLine, BoxLayout.X_AXIS)); |
| 147 | ||
| 148 |
1
1. lambda$initSecondLine$0 : replaced return value with null for com/jsql/view/swing/manager/ManagerBruteForce::lambda$initSecondLine$0 → NO_COVERAGE |
this.hashTypes = new JComboBox<>(ActionCoder.getHashes().toArray(String[]::new)); |
| 149 |
1
1. initSecondLine : removed call to javax/swing/JComboBox::setSelectedIndex → NO_COVERAGE |
this.hashTypes.setSelectedIndex(6); |
| 150 |
1
1. initSecondLine : removed call to javax/swing/JComboBox::setToolTipText → NO_COVERAGE |
this.hashTypes.setToolTipText(I18nUtil.valueByKey("BRUTEFORCE_HASH_TYPE_TOOLTIP")); |
| 151 |
1
1. initSecondLine : removed call to com/jsql/view/swing/util/I18nViewUtil::addComponentForKey → NO_COVERAGE |
I18nViewUtil.addComponentForKey("BRUTEFORCE_HASH_TYPE_TOOLTIP", this.hashTypes); |
| 152 | secondLine.add(this.hashTypes); | |
| 153 | ||
| 154 | Arrays.asList( | |
| 155 | new ModelBrute(this.lowerCaseCharacters, "a-z", "BRUTEFORCE_LCASE_TOOLTIP"), | |
| 156 | new ModelBrute(this.upperCaseCharacters, "A-Z", "BRUTEFORCE_UCASE_TOOLTIP"), | |
| 157 | new ModelBrute(this.numericCharacters, "0-9", "BRUTEFORCE_NUM_TOOLTIP"), | |
| 158 | new ModelBrute(this.specialCharacters, "Special", "BRUTEFORCE_SPEC_TOOLTIP") | |
| 159 |
1
1. initSecondLine : removed call to java/util/List::forEach → NO_COVERAGE |
).forEach(modelBrute -> { |
| 160 | var tooltip = new AtomicReference<>(new JToolTipI18n(I18nUtil.valueByKey(modelBrute.i18nTooltip()))); | |
| 161 | var checkbox = new JCheckBox(modelBrute.text(), true) { | |
| 162 | @Override | |
| 163 | public JToolTip createToolTip() { | |
| 164 |
1
1. createToolTip : replaced return value with null for com/jsql/view/swing/manager/ManagerBruteForce$3::createToolTip → NO_COVERAGE |
return tooltip.get(); |
| 165 | } | |
| 166 | }; | |
| 167 |
1
1. lambda$initSecondLine$1 : removed call to com/jsql/view/swing/manager/ManagerBruteForce$3::setName → NO_COVERAGE |
checkbox.setName(modelBrute.text()); |
| 168 |
1
1. lambda$initSecondLine$1 : removed call to com/jsql/view/swing/manager/ManagerBruteForce$3::setToolTipText → NO_COVERAGE |
checkbox.setToolTipText(I18nUtil.valueByKey(modelBrute.i18nTooltip())); |
| 169 |
1
1. lambda$initSecondLine$1 : removed call to com/jsql/view/swing/util/I18nViewUtil::addComponentForKey → NO_COVERAGE |
I18nViewUtil.addComponentForKey(modelBrute.i18nTooltip(), tooltip.get()); |
| 170 | secondLine.add(Box.createHorizontalStrut(5)); | |
| 171 | secondLine.add(checkbox); | |
| 172 |
1
1. lambda$initSecondLine$1 : removed call to java/util/concurrent/atomic/AtomicReference::set → NO_COVERAGE |
modelBrute.checkbox().set(checkbox); |
| 173 | }); | |
| 174 | ||
| 175 |
1
1. initSecondLine : replaced return value with null for com/jsql/view/swing/manager/ManagerBruteForce::initSecondLine → NO_COVERAGE |
return secondLine; |
| 176 | } | |
| 177 | ||
| 178 | private JPanel initThirdLine() { | |
| 179 | var thirdLine = new JPanel(); | |
| 180 |
1
1. initThirdLine : removed call to javax/swing/JPanel::setLayout → NO_COVERAGE |
thirdLine.setLayout(new BoxLayout(thirdLine, BoxLayout.X_AXIS)); |
| 181 | ||
| 182 | final var tooltip = new AtomicReference<>(new JToolTipI18n(I18nUtil.valueByKey(ManagerBruteForce.BRUTEFORCE_EXCLUDE_TOOLTIP))); | |
| 183 | var placeholderTooltip = new JTextFieldPlaceholder(I18nUtil.valueByKey("BRUTEFORCE_EXCLUDE_LABEL")) { | |
| 184 | @Override | |
| 185 | public JToolTip createToolTip() { | |
| 186 |
1
1. createToolTip : replaced return value with null for com/jsql/view/swing/manager/ManagerBruteForce$4::createToolTip → NO_COVERAGE |
return tooltip.get(); |
| 187 | } | |
| 188 | }; | |
| 189 | this.exclude = new JPopupTextField(placeholderTooltip).getProxy(); | |
| 190 |
1
1. initThirdLine : removed call to javax/swing/JTextField::setToolTipText → NO_COVERAGE |
this.exclude.setToolTipText(I18nUtil.valueByKey(ManagerBruteForce.BRUTEFORCE_EXCLUDE_TOOLTIP)); |
| 191 |
1
1. initThirdLine : removed call to com/jsql/view/swing/util/I18nViewUtil::addComponentForKey → NO_COVERAGE |
I18nViewUtil.addComponentForKey("BRUTEFORCE_EXCLUDE_LABEL", this.exclude); |
| 192 |
1
1. initThirdLine : removed call to com/jsql/view/swing/util/I18nViewUtil::addComponentForKey → NO_COVERAGE |
I18nViewUtil.addComponentForKey(ManagerBruteForce.BRUTEFORCE_EXCLUDE_TOOLTIP, tooltip.get()); |
| 193 | thirdLine.add(this.exclude); | |
| 194 | ||
| 195 | Arrays.asList( | |
| 196 | new ModelSpinner(1, this.minimumLength, "BRUTEFORCE_MIN_LABEL", "BRUTEFORCE_MIN_TOOLTIP"), | |
| 197 | new ModelSpinner(5, this.maximumLength, "BRUTEFORCE_MAX_LABEL", "BRUTEFORCE_MAX_TOOLTIP") | |
| 198 |
2
1. lambda$initThirdLine$3 : removed call to javax/swing/SwingUtilities::invokeLater → NO_COVERAGE 2. initThirdLine : removed call to java/util/List::forEach → NO_COVERAGE |
).forEach(model -> SwingUtilities.invokeLater(() -> { // #96099: JSpinner not fully initialized |
| 199 | final var tooltipMax = new AtomicReference<>(new JToolTipI18n(I18nUtil.valueByKey(model.i18n()))); | |
| 200 | var spinner = new JSpinner() { | |
| 201 | @Override | |
| 202 | public JToolTip createToolTip() { | |
| 203 |
1
1. createToolTip : replaced return value with null for com/jsql/view/swing/manager/ManagerBruteForce$5::createToolTip → NO_COVERAGE |
return tooltipMax.get(); |
| 204 | } | |
| 205 | }; | |
| 206 |
1
1. lambda$initThirdLine$2 : removed call to com/jsql/view/swing/manager/ManagerBruteForce$5::setModel → NO_COVERAGE |
spinner.setModel(new SpinnerNumberModel(model.value(), 1, 10000, 1)); |
| 207 |
1
1. lambda$initThirdLine$2 : removed call to com/jsql/view/swing/manager/ManagerBruteForce$5::addMouseWheelListener → NO_COVERAGE |
spinner.addMouseWheelListener(new SpinnerMouseWheelListener()); |
| 208 |
1
1. lambda$initThirdLine$2 : removed call to com/jsql/view/swing/manager/ManagerBruteForce$5::setToolTipText → NO_COVERAGE |
spinner.setToolTipText(I18nUtil.valueByKey(model.i18n())); |
| 209 |
1
1. lambda$initThirdLine$2 : removed call to com/jsql/view/swing/util/I18nViewUtil::addComponentForKey → NO_COVERAGE |
I18nViewUtil.addComponentForKey(model.i18n(), tooltipMax.get()); |
| 210 |
1
1. lambda$initThirdLine$2 : removed call to com/jsql/view/swing/manager/ManagerBruteForce$5::setPreferredSize → NO_COVERAGE |
spinner.setPreferredSize(new Dimension( |
| 211 |
1
1. lambda$initThirdLine$2 : Replaced double division with multiplication → NO_COVERAGE |
(int) (spinner.getPreferredSize().width/1.8), |
| 212 | spinner.getPreferredSize().height | |
| 213 | )); | |
| 214 | ||
| 215 | var label = new JLabel(StringUtils.SPACE + I18nUtil.valueByKey(model.label()), SwingConstants.RIGHT); | |
| 216 |
1
1. lambda$initThirdLine$2 : removed call to javax/swing/JLabel::setMaximumSize → NO_COVERAGE |
label.setMaximumSize(new Dimension(label.getPreferredSize().width, label.getPreferredSize().height)); |
| 217 | thirdLine.add(Box.createHorizontalStrut(5)); | |
| 218 | thirdLine.add(label); | |
| 219 |
1
1. lambda$initThirdLine$2 : removed call to com/jsql/view/swing/util/I18nViewUtil::addComponentForKey → NO_COVERAGE |
I18nViewUtil.addComponentForKey(model.label(), label); |
| 220 | ||
| 221 | thirdLine.add(spinner); | |
| 222 |
1
1. lambda$initThirdLine$2 : removed call to java/util/concurrent/atomic/AtomicReference::set → NO_COVERAGE |
model.spinner().set(spinner); |
| 223 | })); | |
| 224 | ||
| 225 |
1
1. initThirdLine : replaced return value with null for com/jsql/view/swing/manager/ManagerBruteForce::initThirdLine → NO_COVERAGE |
return thirdLine; |
| 226 | } | |
| 227 | ||
| 228 | | |
| 229 | // Getter and setter | |
| 230 | ||
| 231 | public JButtonStateful getRun() { | |
| 232 |
1
1. getRun : replaced return value with null for com/jsql/view/swing/manager/ManagerBruteForce::getRun → NO_COVERAGE |
return this.run; |
| 233 | } | |
| 234 | ||
| 235 | public JTextField getHash() { | |
| 236 |
1
1. getHash : replaced return value with null for com/jsql/view/swing/manager/ManagerBruteForce::getHash → NO_COVERAGE |
return this.hash; |
| 237 | } | |
| 238 | ||
| 239 | public JComboBox<String> getHashTypes() { | |
| 240 |
1
1. getHashTypes : replaced return value with null for com/jsql/view/swing/manager/ManagerBruteForce::getHashTypes → NO_COVERAGE |
return this.hashTypes; |
| 241 | } | |
| 242 | ||
| 243 | public JCheckBox getLowerCaseCharacters() { | |
| 244 |
1
1. getLowerCaseCharacters : replaced return value with null for com/jsql/view/swing/manager/ManagerBruteForce::getLowerCaseCharacters → NO_COVERAGE |
return this.lowerCaseCharacters.get(); |
| 245 | } | |
| 246 | ||
| 247 | public JCheckBox getUpperCaseCharacters() { | |
| 248 |
1
1. getUpperCaseCharacters : replaced return value with null for com/jsql/view/swing/manager/ManagerBruteForce::getUpperCaseCharacters → NO_COVERAGE |
return this.upperCaseCharacters.get(); |
| 249 | } | |
| 250 | ||
| 251 | public JCheckBox getNumericCharacters() { | |
| 252 |
1
1. getNumericCharacters : replaced return value with null for com/jsql/view/swing/manager/ManagerBruteForce::getNumericCharacters → NO_COVERAGE |
return this.numericCharacters.get(); |
| 253 | } | |
| 254 | ||
| 255 | public JCheckBox getSpecialCharacters() { | |
| 256 |
1
1. getSpecialCharacters : replaced return value with null for com/jsql/view/swing/manager/ManagerBruteForce::getSpecialCharacters → NO_COVERAGE |
return this.specialCharacters.get(); |
| 257 | } | |
| 258 | ||
| 259 | public JTextField getExclude() { | |
| 260 |
1
1. getExclude : replaced return value with null for com/jsql/view/swing/manager/ManagerBruteForce::getExclude → NO_COVERAGE |
return this.exclude; |
| 261 | } | |
| 262 | ||
| 263 | public JSpinner getMinimumLength() { | |
| 264 |
1
1. getMinimumLength : replaced return value with null for com/jsql/view/swing/manager/ManagerBruteForce::getMinimumLength → NO_COVERAGE |
return this.minimumLength.get(); |
| 265 | } | |
| 266 | ||
| 267 | public JSpinner getMaximumLength() { | |
| 268 |
1
1. getMaximumLength : replaced return value with null for com/jsql/view/swing/manager/ManagerBruteForce::getMaximumLength → NO_COVERAGE |
return this.maximumLength.get(); |
| 269 | } | |
| 270 | ||
| 271 | public JTextPane getResult() { | |
| 272 |
1
1. getResult : replaced return value with null for com/jsql/view/swing/manager/ManagerBruteForce::getResult → NO_COVERAGE |
return this.result; |
| 273 | } | |
| 274 | } | |
Mutations | ||
| 63 |
1.1 |
|
| 67 |
1.1 |
|
| 68 |
1.1 |
|
| 69 |
1.1 |
|
| 70 |
1.1 |
|
| 73 |
1.1 |
|
| 78 |
1.1 |
|
| 84 |
1.1 |
|
| 87 |
1.1 |
|
| 88 |
1.1 |
|
| 89 |
1.1 |
|
| 91 |
1.1 |
|
| 92 |
1.1 |
|
| 95 |
1.1 |
|
| 96 |
1.1 |
|
| 97 |
1.1 |
|
| 102 |
1.1 |
|
| 106 |
1.1 |
|
| 107 |
1.1 2.2 |
|
| 117 |
1.1 |
|
| 118 |
1.1 |
|
| 120 |
1.1 |
|
| 121 |
1.1 |
|
| 122 |
1.1 |
|
| 130 |
1.1 |
|
| 134 |
1.1 |
|
| 135 |
1.1 |
|
| 136 |
1.1 |
|
| 137 |
1.1 |
|
| 140 |
1.1 |
|
| 141 |
1.1 |
|
| 146 |
1.1 |
|
| 148 |
1.1 |
|
| 149 |
1.1 |
|
| 150 |
1.1 |
|
| 151 |
1.1 |
|
| 159 |
1.1 |
|
| 164 |
1.1 |
|
| 167 |
1.1 |
|
| 168 |
1.1 |
|
| 169 |
1.1 |
|
| 172 |
1.1 |
|
| 175 |
1.1 |
|
| 180 |
1.1 |
|
| 186 |
1.1 |
|
| 190 |
1.1 |
|
| 191 |
1.1 |
|
| 192 |
1.1 |
|
| 198 |
1.1 2.2 |
|
| 203 |
1.1 |
|
| 206 |
1.1 |
|
| 207 |
1.1 |
|
| 208 |
1.1 |
|
| 209 |
1.1 |
|
| 210 |
1.1 |
|
| 211 |
1.1 |
|
| 216 |
1.1 |
|
| 219 |
1.1 |
|
| 222 |
1.1 |
|
| 225 |
1.1 |
|
| 232 |
1.1 |
|
| 236 |
1.1 |
|
| 240 |
1.1 |
|
| 244 |
1.1 |
|
| 248 |
1.1 |
|
| 252 |
1.1 |
|
| 256 |
1.1 |
|
| 260 |
1.1 |
|
| 264 |
1.1 |
|
| 268 |
1.1 |
|
| 272 |
1.1 |