Showing 14,752 of 14,752 total issues
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 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
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
Function tokenBase
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function tokenBase(stream, state) {
var ch = stream.next();
if (ch == '"' || ch == "'") {
state.tokenize = tokenString(ch);
- Create a ticketCreate a ticket
Function tokenBase
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function tokenBase(stream, state) {
var ch;
// get next character
ch = stream.next();
- Create a ticketCreate a ticket
Function clipLine
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function clipLine(listener) {
var point0, c0, v0, v00, clean;
return {
lineStart: function() {
v00 = v0 = false;
- Create a ticketCreate a ticket
Function d3_scale_log
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function d3_scale_log(linear, base, positive, domain) {
function log(x) {
return (positive ? Math.log(x < 0 ? 0 : x) : -Math.log(x > 0 ? 0 : -x)) / Math.log(base);
}
function pow(x) {
- Create a ticketCreate a ticket
Function drag
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
drag: function( event, ui, inst ) {
var ts, bs, ls, rs, l, r, t, b, i, first,
o = inst.options,
d = o.snapTolerance,
- Create a ticketCreate a ticket
Function change_parameters
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function change_parameters(name) {
$("#formula, #boundary_conditions").change(function() {
if($("#formula").val() === ''){
$("#formula").val($("#formula").data('value'));
$("#boundary_conditions").val($("#boundary_conditions").data('value'));
- Create a ticketCreate a ticket
Function explode
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var effectExplode = $.effects.effect.explode = function( o, done ) {
var rows = o.pieces ? Math.round( Math.sqrt( o.pieces ) ) : 3,
cells = rows,
el = $( this ),
- Create a ticketCreate a ticket