Showing 6,856 of 14,752 total issues
Function token
has 60 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
token: function(stream, state) {
if (state.tokenize) {
return state.tokenize(stream, state);
}
- Create a ticketCreate a ticket
Function normal
has 60 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function normal(source, state) {
var plug;
// Do we look like '\command' ? If so, attempt to apply the plugin 'command'
if (source.match(/^\\[a-zA-Z@]+/)) {
var cmdName = source.current().slice(1);
- Create a ticketCreate a ticket
Function init
has 60 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
init: function () {
var isValueByText = false,
doAutotext, finalize;
//name
- Create a ticketCreate a ticket
Function hull
has 60 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function hull(data) {
if (data.length < 3) return [];
var fx = d3_functor(x), fy = d3_functor(y), n = data.length, vertices, plen = n - 1, points = [], stack = [], d, i, j, h = 0, x1, y1, x2, y2, u, v, a, sp;
if (fx === d3_svg_lineX && y === d3_svg_lineY) vertices = data; else for (i = 0,
vertices = []; i < n; ++i) {
- Create a ticketCreate a ticket
Function keydown
has 60 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
keydown: function( event ) {
var allowed, curVal, newVal, step,
index = $( event.target ).data( "ui-slider-handle-index" );
switch ( event.keyCode ) {
- Create a ticketCreate a ticket
File idl.js
has 266 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: https://codemirror.net/LICENSE
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
- Create a ticketCreate a ticket
File django.js
has 266 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: https://codemirror.net/LICENSE
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
- Create a ticketCreate a ticket
Method retrieveHazard
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static Hazard retrieveHazard(Row row, Map<String, Integer> columns) {
// Check mandatory properties
final Cell nameCell = row.getCell(columns.get("name"));
if (nameCell.getCellTypeEnum() != CellType.STRING) {
- Create a ticketCreate a ticket
Method get
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static PublicationType get(int value) {
switch (value) {
case NULL_VALUE: return NULL;
case ABST_VALUE: return ABST;
case ADVS_VALUE: return ADVS;
- Create a ticketCreate a ticket
Method createMainComponent
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private JComponent createMainComponent() {
Map<String, List<String>> categories = new LinkedHashMap<>();
Map<String, String> units = new LinkedHashMap<>();
Map<String, List<Double>> paramsX = new LinkedHashMap<>();
- Create a ticketCreate a ticket
Method initComponents
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@SuppressWarnings("deprecation")
private void initComponents() {
// JFormDesigner - Component initialization - DO NOT MODIFY //GEN-BEGIN:initComponents
dialogPane = new JPanel();
contentPanel = new JPanel();
- Create a ticketCreate a ticket
Method initCs
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void initCs() {
componentMap = new HashMap<>();
componentMap.put("ID", textField1);
componentMap.put("Referenz", textField2);
componentMap.put("Agens", textField3);
- Create a ticketCreate a ticket
Method initComponents
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void initComponents() {
// JFormDesigner - Component initialization - DO NOT MODIFY //GEN-BEGIN:initComponents
ResourceBundle bundle = ResourceBundle.getBundle("org.hsh.bfr.db.gui.PanelProps");
DefaultComponentFactory compFactory = DefaultComponentFactory.getInstance();
dialogPane = new JPanel();
- Create a ticketCreate a ticket
Method updateChangeLog
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static boolean updateChangeLog(final String tablename, final int modifiedCol, final boolean deleted, final int oSize) {
boolean result = true;
boolean showMessages = false;
ResultSet rs = DBKernel.getResultSet("SELECT " + DBKernel.delimitL("ID") + "," + DBKernel.delimitL("Alteintrag") + " FROM " + DBKernel.delimitL("ChangeLog") + " WHERE "
+ DBKernel.delimitL("Tabelle") + "='" + tablename + "'", false); // + " AND " + DBKernel.delimitL("ID") + " > 169000"
- Create a ticketCreate a ticket
Method insertTs
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public Integer insertTs(final PmmTimeSeries ts) throws PmmException {
Integer condId = ts.getCondId();
Double ph = ts.getPh();
Double temp = ts.getTemperature();
temp = convert(Categories.getTempCategory(), ts.getTemperatureUnit(), temp, "°C");
- Create a ticketCreate a ticket
Method savePortObject
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public void savePortObject(final FskPortObject portObject, final PortObjectZipOutputStream out,
final ExecutionMonitor exec) throws IOException, CanceledExecutionException {
// model entry (file with model script)
- Create a ticketCreate a ticket
Method createEmptyViewRepresentation
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public FSKEditorJSViewRepresentation createEmptyViewRepresentation() {
FSKEditorJSViewRepresentation representation = super.getViewRepresentation();
if (representation == null) {
representation = new FSKEditorJSViewRepresentation();
- Create a ticketCreate a ticket
Method savePortObject
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public void savePortObject(final FskPortObject portObject, final PortObjectZipOutputStream out,
final ExecutionMonitor exec) throws IOException, CanceledExecutionException {
// model entry (file with model script)
- Create a ticketCreate a ticket
Method savePortObject
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public void savePortObject(final FskPortObject portObject, final PortObjectZipOutputStream out,
final ExecutionMonitor exec) throws IOException, CanceledExecutionException {
// model entry (file with model script)
- Create a ticketCreate a ticket
Function token
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
token: function(stream, state) {
state.combineTokens = null;
// Hack to prevent formatting override inside code blocks (block and inline)
if (state.codeBlock) {
- Create a ticketCreate a ticket