Showing 14,752 of 14,752 total issues
Method eSet
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
case MetadataPackage.PRODUCT__PRODUCT_NAME:
setProductName((String)newValue);
- Create a ticketCreate a ticket
Method toString
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
- Create a ticketCreate a ticket
Method eUnset
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public void eUnset(int featureID) {
switch (featureID) {
case MetadataPackage.PRODUCT__PRODUCT_NAME:
setProductName(PRODUCT_NAME_EDEFAULT);
- Create a ticketCreate a ticket
Method toString
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
- Create a ticketCreate a ticket
Method setIndependentVariableData
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
void setIndependentVariableData() {
// Declare sets to hold data
List<VariableData> variableList = new LinkedList<>();
- Create a ticketCreate a ticket
Method parseFormula
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void parseFormula(ParametricModel oldPM, ParametricModel newPM) {
String formula = MathUtilities.getFormula(formulaArea.getText(), boundaryArea.getText());
formula = formula.replaceAll("\n", "");
formula = formula.replaceAll("\\s", "");
formula = formula.replace("~", "=").trim();
- Create a ticketCreate a ticket
Method actionPerformed
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public void actionPerformed(ActionEvent e) {
if (e.getSource() == fittingBox) {
initGUI();
} else if (e.getSource() == expertBox) {
- Create a ticketCreate a ticket
Method loadOldValidatedSettingsFrom
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected void loadOldValidatedSettingsFrom( final NodeSettingsRO settings )
throws InvalidSettingsException {
/*
filename = settings.getString( PARAM_FILENAME );
login = settings.getString( PARAM_LOGIN );
- Create a ticketCreate a ticket
Method okButtonActionPerformed
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void okButtonActionPerformed(ActionEvent e) {
String newSA = textField1.getText();
String newPass = String.valueOf(passwordField1.getPassword());
if (newPass.equals(String.valueOf(passwordField2.getPassword()))) {
String ibText = "";
- Create a ticketCreate a ticket
Method getCachedTable
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private ResultSet getCachedTable(String cacheTable, String selectSQL, String whereSQL, String cacheWhereSQL, String[] relevantTables) throws SQLException {
boolean dropCacheFirst = false;
long lastCaching = DBKernel.getLastCache(conn, cacheTable);
//System.err.println(selectSQL + whereSQL);
//long ttt = System.currentTimeMillis();
- Create a ticketCreate a ticket
Method loadPortObject
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public FskPortObject loadPortObject(PortObjectZipInputStream in, PortObjectSpec spec, ExecutionMonitor exec)
throws IOException, CanceledExecutionException {
FskPortObject portObj = new FskPortObject();
- Create a ticketCreate a ticket
Method resetParameterIdForObjectsFromJSON
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void resetParameterIdForObjectsFromJSON(FskPortObject outObj1, int suffixIndex) {
String modelName = SwaggerUtil.getModelName(outObj1.modelMetadata);
if (outObj1 instanceof CombinedFskPortObject) {
++suffixIndex;
if (fskID_to_fskObject.containsKey(modelName) && suffixIndex > 1) {
- Create a ticketCreate a ticket
Method getVisibleColumns
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public List<String> getVisibleColumns() {
List<String> visibleColumns = new ArrayList<>();
List<String> columns = new ArrayList<>();
columns.addAll(Arrays.asList(COLOR, SHAPE, DATA, FORMULA, PARAMETERS,
- Create a ticketCreate a ticket
Method passesFilter
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static boolean passesFilter(final String literatureString, final Integer literatureID, final KnimeTuple tuple, final int level) throws PmmException {
if (literatureString == null || literatureString.trim().isEmpty()) return true;
PmmXmlDoc litXmlDoc = tuple.getPmmXml(level == 1 ? Model1Schema.ATT_EMLIT : Model2Schema.ATT_EMLIT);
for (PmmXmlElementConvertable el : litXmlDoc.getElementSet()) {
if (el instanceof LiteratureItem) {
- Create a ticketCreate a ticket
Method testEquals
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Test
public void testEquals() {
Variable p = new Variable();
p.name = "Prevalence";
p.unit = "percent";
- Create a ticketCreate a ticket
Method createCategory
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private Category createCategory(Map<Integer, UnitsFromDB> units, String categoryName) {
DJep parser = MathUtilities.createParser();
Map<String, Node> fromFormulas = new LinkedHashMap<>();
Map<String, Node> toFormulas = new LinkedHashMap<>();
Map<String, String> fromFormulaStrings = new LinkedHashMap<>();
- Create a ticketCreate a ticket
Method install
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public synchronized void install(final List<String> packages)
throws RException, REXPMismatchException, NoInternetException {
if (Platform.isLinux() || Platform.isMac()) {
// Install missing packages
- Create a ticketCreate a ticket
Function token
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
token: function(stream, state) {
var sol = stream.sol() || state.afterSection;
var eol = stream.eol();
state.afterSection = false;
- Create a ticketCreate a ticket
Function _runModelView
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
async _runModelView ( modelId ) {
let O = this;
_log( 'PANEL SIM / _runModelView : '+ O._modelId, 'secondary' );
modelId = modelId || O._modelId;
- Create a ticketCreate a ticket
Function _checkValue
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _checkValue() {
var val, parsedval, returnval;
val = settings.callback_before_calculation(originalinput.val());
- Create a ticketCreate a ticket