Showing 6,856 of 14,752 total issues
Function validateConnection
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
validateConnection: function (cellViewS, magnetS, cellViewT, magnetT, end, linkView) {
var links = _graph.getLinks();
for (var i = 0; i < links.length; i++)
{
- Create a ticketCreate a ticket
Function init
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
view.init = function (representation, value) {
_representation = representation;
_value = value;
- Create a ticketCreate a ticket
Function 26
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{}],26:[function(require,module,exports){
'use strict';
//all requires must be explicit because browserify won't work with dynamic requires
module.exports = {
- Create a ticketCreate a ticket
Function serialize$$1
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
serialize: function serialize$$1(mailtoComponents, options) {
var components = mailtoComponents;
var to = toArray(mailtoComponents.to);
if (to) {
for (var x = 0, xl = to.length; x < xl; ++x) {
- Create a ticketCreate a ticket
Function show
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Tab.prototype.show = function () {
var $this = this.element
var $ul = $this.closest('ul:not(.dropdown-menu)')
var selector = $this.data('target')
- Create a ticketCreate a ticket
Function dateUpdated
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
dateUpdated: function(e){
// `this.updating` is a workaround for preventing infinite recursion
// between `changeDate` triggering and `setUTCDate` calling. Until
// there is a better mechanism.
if (this.updating)
- Create a ticketCreate a ticket
Method getSetting
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public AgentsSetting getSetting() throws InvalidSettingsException {
AgentsSetting as;
as = new AgentsSetting();
- Create a ticketCreate a ticket
Method convertAssay
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
static Assay convertAssay(JsonNode node) {
Assay assay = new Assay();
if (node.has("assayName")) {
- Create a ticketCreate a ticket
Method eIsSet
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
case MetadataPackage.POPULATION_GROUP__POPULATION_NAME:
return POPULATION_NAME_EDEFAULT == null ? populationName != null : !POPULATION_NAME_EDEFAULT.equals(populationName);
- Create a ticketCreate a ticket
Method eGet
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
case MetadataPackage.POPULATION_GROUP__POPULATION_NAME:
return getPopulationName();
- Create a ticketCreate a ticket
Method getInvalidIds
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private Map<String, String> getInvalidIds(List<String> selectedIDs)
throws ConvertException {
Map<String, String> invalid = new LinkedHashMap<>();
Set<String> nonVariables = new LinkedHashSet<>();
- Create a ticketCreate a ticket
Method getValueAt
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public Object getValueAt(int rowIndex, int columnIndex) {
if (thePM == null) return null;
if (rowIndex == 0) {
DepXml dx = thePM.getDepXml();
if (columnIndex < 2) return thePM.getDepVar();
- Create a ticketCreate a ticket
Method getColumnClass
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public Class<?> getColumnClass(int columnIndex) {
switch (columnIndex) {
case 0:
return String.class;
- Create a ticketCreate a ticket
Method getWhere
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private String getWhere() {
String result = " WHERE TRUE";
if (agentID > 0) result += " AND \"Agens\" = " + agentID;
if (agentString != null && !agentString.trim().isEmpty()) {
- Create a ticketCreate a ticket
Method saveSettings
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void saveSettings(NodeSettingsWO settings) {
settings.addString(CFG_SELECTEDID, selectedID);
settings.addString(CFG_CURRENTPARAMX, currentParamX);
settings.addString(CFG_SELECTEDVALUESX,
XmlConverter.objectToXml(selectedValuesX));
- Create a ticketCreate a ticket
Method readPrimaryTable
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void readPrimaryTable(BufferedDataTable table) {
modelNames = new LinkedHashMap<>();
parameters = new LinkedHashMap<>();
minValues = new LinkedHashMap<>();
maxValues = new LinkedHashMap<>();
- Create a ticketCreate a ticket
Method copyKennzahlen
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void copyKennzahlen(final MyTable myT, final Integer oldID, final Integer newID, final Integer toRow) throws Exception {
MyTable[] foreignFields = myT.getForeignFields();
if (foreignFields != null) {
for (int i=0; i<foreignFields.length; i++) {
if (foreignFields[i] != null && foreignFields[i].getTablename().equals("DoubleKennzahlen")) {
- Create a ticketCreate a ticket
Method isCellEditable
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public boolean isCellEditable(EventObject anEvent) {
if (anEvent == null) { // null wird übergeben bei selectCell(row, column) in der Funktion setSelectedRowCol in MyDBTable
return false;
}
else {
- Create a ticketCreate a ticket
Method deleteRow
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
void deleteRow() {
String tablename = this.getActualTable().getTablename();
int selRow = this.getSelectedRow();
if (!this.actualTable.isReadOnly() && this.getRowCount() > 0 && selRow >= 0 && selRow < this.getRowCount()) {
int id = this.getSelectedID();
- Create a ticketCreate a ticket
Method paintComponent
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public void paintComponent( Graphics g ) {
MyTable myT = myDBTable1.getActualTable();
if (myDBTable1 != null && myT != null) {
button1.setEnabled(!myT.isReadOnly());
- Create a ticketCreate a ticket