Showing 6,856 of 14,752 total issues
Function d3_transitionNode
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function d3_transitionNode(node, i, id, inherit) {
var lock = node.__transition__ || (node.__transition__ = {
active: 0,
count: 0
}), transition = lock[id];
- Create a ticketCreate a ticket
Function scale
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var effectScale = $.effects.effect.scale = function( o, done ) {
// Create element
var el = $( this ),
options = $.extend( true, {}, o ),
- Create a ticketCreate a ticket
Function fromTextArea
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function fromTextArea(textarea, options) {
options = options ? copyObj(options) : {}
options.value = textarea.value
if (!options.tabindex && textarea.tabIndex)
{ options.tabindex = textarea.tabIndex }
- Create a ticketCreate a ticket
Function makeChangeSingleDocInEditor
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function makeChangeSingleDocInEditor(cm, change, spans) {
var doc = cm.doc, display = cm.display, from = change.from, to = change.to
var recomputeMaxLength = false, checkWidthStart = from.line
if (!cm.options.lineWrapping) {
- Create a ticketCreate a ticket
Function fromTextArea
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function fromTextArea(textarea, options) {
options = options ? copyObj(options) : {}
options.value = textarea.value
if (!options.tabindex && textarea.tabIndex)
{ options.tabindex = textarea.tabIndex }
- Create a ticketCreate a ticket
Function makeChangeSingleDocInEditor
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function makeChangeSingleDocInEditor(cm, change, spans) {
var doc = cm.doc, display = cm.display, from = change.from, to = change.to
var recomputeMaxLength = false, checkWidthStart = from.line
if (!cm.options.lineWrapping) {
- Create a ticketCreate a ticket
Function exports
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function (data, opts) {
if (!opts) opts = {};
if (typeof opts === 'function') opts = { cmp: opts };
var cycles = (typeof opts.cycles === 'boolean') ? opts.cycles : false;
- Create a ticketCreate a ticket
Function trunc
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function trunc(string, options, guard) {
if (guard && isIterateeCall(string, options, guard)) {
options = undefined;
}
var length = DEFAULT_TRUNC_LENGTH,
- Create a ticketCreate a ticket
Function selectRow
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
selectRow : ( O, rowIndex, rowData ) => {
if(O.selectAllClicked){
this.checked = true;
$(this).closest("tr").css("background-color", "#e1e3e8");
- Create a ticketCreate a ticket
Method convertArrays2ParamXmlDoc
has 15 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public static PmmXmlDoc convertArrays2ParamXmlDoc(LinkedHashMap<String, String> varMap, Array name,
Array value, Array timeUnit, Array categories, Array units, Array error, Array min, Array max, Array desc, Array paramType, Array P, Array t, Integer modelId, Integer emid) {
- Create a ticketCreate a ticket
Method retrieveProduct
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static Product retrieveProduct(Row row, Map<String, Integer> columns) {
// Check first mandatory properties
if (row.getCell(columns.get("name")).getCellTypeEnum() != CellType.STRING) {
throw new IllegalArgumentException("Missing product name");
- Create a ticketCreate a ticket
Method execute
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
protected PortObject[] execute(PortObject[] inObjects, ExecutionContext exec)
throws Exception {
BufferedDataTable table = (BufferedDataTable) inObjects[0];
TableReader reader = new TableReader(table);
- Create a ticketCreate a ticket
Method actionPerformed
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void actionPerformed(ActionEvent e) {
String lastOutDir = DBKernel.prefs.get("LAST_OUTPUT_DIR", "");
JFileChooser fc = new JFileChooser(lastOutDir);
// if (!DBKernel.isKrise) fc.addChoosableFileFilter(new LieferkettenImporterNew());
fc.addChoosableFileFilter(new MyProzessXMLImporter());
- Create a ticketCreate a ticket
Method doRestore
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static boolean doRestore(final MyDBTable myDB, final File scriptFile, final boolean silent, boolean doReconnect) {
boolean result = true;
if (scriptFile != null && scriptFile.exists()) {
if (!silent) {
int returnVal = JOptionPane.showConfirmDialog(DBKernel.mainFrame,
- Create a ticketCreate a ticket
Method createSedml
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static SEDMLDocument createSedml(FskPortObject portObj) {
SEDMLDocument doc = Libsedml.createDocument();
SedML sedml = doc.getSedMLModel();
- Create a ticketCreate a ticket
Method performExecuteCreatePortObjects
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
protected PortObject[] performExecuteCreatePortObjects(PortObject svgImageFromView,
PortObject[] inObjects, ExecutionContext exec) throws Exception {
CombinedFskPortObject outObj = new CombinedFskPortObject(Optional.empty(), new ArrayList<>(),
- Create a ticketCreate a ticket
Method createSimulation
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void createSimulation(FskPortObject inObj, JSSimulatorViewValue val) {
if (inObj instanceof CombinedFskPortObject) {
final List<Parameter> inputParams = getViewRepresentation().parameters;
createSimulation(((CombinedFskPortObject) inObj).getFirstFskPortObject(), val);
- Create a ticketCreate a ticket
Method runFskPortObject
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public FskPortObject runFskPortObject(FskPortObject fskObj,
FskSimulation combinedSim,
ExecutionContext exec,
List<JoinRelationAdvanced> joinRelationList,
String suffix) throws Exception {
- Create a ticketCreate a ticket
Method createSedml
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static SEDMLDocument createSedml(FskPortObject portObj) {
SEDMLDocument doc = Libsedml.createDocument();
SedML sedml = doc.getSedMLModel();
- Create a ticketCreate a ticket
Method createSedml
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static SEDMLDocument createSedml(FskPortObject portObj, ScriptHandler scriptHandler) {
SEDMLDocument doc = Libsedml.createDocument();
SedML sedml = doc.getSedMLModel();
- Create a ticketCreate a ticket