Showing 6,856 of 14,752 total issues
Function runMode
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function runMode(cm, text, mode, context, f, lineClasses, forceToEnd) {
var flattenSpans = mode.flattenSpans
if (flattenSpans == null) { flattenSpans = cm.options.flattenSpans }
var curStart = 0, curStyle = null
var stream = new StringStream(text, cm.options.tabSize, context), style
- Create a ticketCreate a ticket
Function nodeAndOffsetInLineMap
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function nodeAndOffsetInLineMap(map, ch, bias) {
var node, start, end, collapse, mStart, mEnd
// First, search the line map for the text node corresponding to,
// or closest to, the target character.
for (var i = 0; i < map.length; i += 3) {
- Create a ticketCreate a ticket
Function resolveIds
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function resolveIds(schema) {
var schemaId = normalizeId(this._getId(schema));
var baseIds = {'': schemaId};
var fullPaths = {'': getFullPath(schemaId, false)};
var localRefs = {};
- Create a ticketCreate a ticket
Function baseIsMatch
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function baseIsMatch(object, matchData, customizer) {
var index = matchData.length,
length = index,
noCustomizer = !customizer;
- Create a ticketCreate a ticket
Function getComponentValue
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
view.getComponentValue = () => {
_metadata = _modalDetails._modelHandler.metaData;
delete _metadata['simulation'];
delete _metadata['modelscript'];
delete _metadata['visualization'];
- Create a ticketCreate a ticket
Function init
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
view.init = function (representation, value) {
knimeService.setSelectedRows('b800db46-4e25-4f77-bcc6-db0c21Global' , [{"editorAvailable":true}],{elements:[]})
_genericModelReference = JSON.parse(representation.genericModelReference);
_value = value;
_graphObject = JSON.parse(_value.jsonRepresentation)
- Create a ticketCreate a ticket
Method createProject
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private IProject createProject(final IPath workflowPath) throws CoreException {
IProgressMonitor monitor = new NullProgressMonitor();
IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();
IResource resource = root.findMember(workflowPath);
- Create a ticketCreate a ticket
Method convertStudySample
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
static StudySample convertStudySample(JsonNode node) {
StudySample sample = new StudySample();
if (node.has("sampleName")) {
- Create a ticketCreate a ticket
Method toString
has 32 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 toString
has 32 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 toString
has 32 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 setMetadata
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
void setMetadata() {
ResultComponent rc = doc.getResultComponent();
// Creator
- Create a ticketCreate a ticket
Method setFromXmlString
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void setFromXmlString(final String xmlString) {
try {
PmmXmlDoc doc = new PmmXmlDoc(xmlString);
// fetch model set
ParametricModel theModel = null;
- Create a ticketCreate a ticket
Method parse
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static ManualTertiaryModel parse(List<KnimeTuple> tupleList, boolean isPMFX, String mdName,
int modelNum, Metadata metadata, String notes) {
final String modelExtension = isPMFX ? "pmf" : "sbml";
- Create a ticketCreate a ticket
Method init
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void init(Point loc, Dimension siz, String inhalt, boolean keyDispose, Dimension dim, Font font, boolean modal) {
try {
this.inhalt = inhalt;
this.setResizable(false);
this.setSize(dim);
- Create a ticketCreate a ticket
Method check4Updates_170_171
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static void check4Updates_170_171() {
boolean isBios = false;
if (isBios) {
new GeneralXLSImporter(true).doImport("/org/hsh/bfr/db/res/Einheiten_130902.xls", null, false);
DBKernel.sendRequest("DELETE FROM " + DBKernel.delimitL("Einheiten") + " WHERE " + DBKernel.delimitL("ID") + "=102", false);
- Create a ticketCreate a ticket
Method dbBackup
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static boolean dbBackup(final JFrame frame) {
String lastOutDir = DBKernel.prefs.get("LAST_OUTPUT_DIR", "");
JFileChooser fc = new JFileChooser(lastOutDir);
BackupMyDBI bkp = new BackupMyDBI();
fc.setFileFilter(bkp);
- Create a ticketCreate a ticket
Method dbBackup
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static void dbBackup(final JFrame frame, final File backupFile, final boolean silent) {
if (backupFile != null && backupFile.getParentFile().exists()) {
try {
if (backupFile.exists()) backupFile.delete();
System.gc();
- Create a ticketCreate a ticket
Method handleForeignKey
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private Integer handleForeignKey(Integer foreignID, MyTable foreignTable, final Statement anfrage, boolean forceNewEntry) {
Integer cid = convertID(foreignTable.getTablename(), foreignID);
if (cid != null) return cid;
Integer result = null;
ResultSet rs1 = DBKernel.getResultSet(anfrage, "SELECT * FROM " + DBKernel.delimitL(foreignTable.getTablename()) + " WHERE " + DBKernel.delimitL("ID") + "=" + foreignID, false);
- Create a ticketCreate a ticket
Method okButtonActionPerformed
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void okButtonActionPerformed(ActionEvent e) {
String dbt = dbPath.getText();
boolean isServer = DBKernel.isHsqlServer(dbt);
if (!isServer && !dbt.endsWith(System.getProperty("file.separator"))) {
dbt += System.getProperty("file.separator");
- Create a ticketCreate a ticket