Showing 6,856 of 14,752 total issues
Method retrieveHazard
has 58 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public Hazard retrieveHazard(Row row) {
// Check mandatory properties
if (row.getCell(W).getCellType() != Cell.CELL_TYPE_STRING) {
throw new IllegalArgumentException("Hazard name is missing");
}
- Create a ticketCreate a ticket
Method retrieveHazard
has 58 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public Hazard retrieveHazard(Row row) {
// Check mandatory properties
if (row.getCell(X).getCellType() != Cell.CELL_TYPE_STRING) {
throw new IllegalArgumentException("Hazard name is missing");
}
- Create a ticketCreate a ticket
Method createMainComponent
has 58 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 copyDetails
has 58 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void copyDetails(final MyTable myT, final Integer oldID, final Integer id) {
try {
String tablename = myT.getTablename();
copyKennzahlen(myT, oldID, id);
- Create a ticketCreate a ticket
Method addBindings
has 58 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void addBindings() {
InputMap inputMap = toolBar1.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW);
ActionMap actionMap = toolBar1.getActionMap();
inputMap.put(KeyStroke.getKeyStroke(KeyEvent.VK_F, InputEvent.CTRL_DOWN_MASK), "CTRL+F");
- Create a ticketCreate a ticket
Method execute
has 58 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
protected PortObject[] execute(PortObject[] inObjects, ExecutionContext exec) throws Exception {
exec.checkCanceled();
FskPortObject fskObj = (FskPortObject) inObjects[0];
- Create a ticketCreate a ticket
Method createUI
has 58 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void createUI() {
// Fields
resolutionField.setColumns(5);
resolutionField.setHorizontalAlignment(SwingConstants.RIGHT);
- Create a ticketCreate a ticket
Method createUI
has 58 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void createUI() {
// Fields
resolutionField.setColumns(5);
resolutionField.setHorizontalAlignment(SwingConstants.RIGHT);
- Create a ticketCreate a ticket
Method getFunctionPoints
has 58 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public double[][] getFunctionPoints(String paramX, String paramY,
String unitX, String unitY, String transformX, String transformY,
double minX, double maxX, double minY, double maxY,
Map<String, Integer> choice) throws ConvertException {
if (function == null) {
- Create a ticketCreate a ticket
Method createDoc
has 58 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private PCMLDocument createDoc() {
PCMLDocument pcmlDoc = PCMLUtil.create();
PCML pcml = pcmlDoc.getPCML();
ProcessChain pChain = pcml.addNewProcessChain();
// create a new process node
- Create a ticketCreate a ticket
Method testConstructors
has 58 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Test
public void testConstructors() {
// Test constructor with id, name, sse, rms, r2, aic, bic, dof
final EstModelXml model0 = new EstModelXml(0, "name", .0, .0, .0, .0, .0, 1);
- Create a ticketCreate a ticket
Function tokenBase
has 58 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function tokenBase(stream, state) {
var ch = stream.next();
if (ch == "/" && stream.eat("*")) {
state.tokenize = tokenCComment;
- Create a ticketCreate a ticket
Function produceTokenFunction
has 58 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function produceTokenFunction(pConfig) {
return function(pStream, pState) {
if (pStream.match(wordRegexp(pConfig.brackets), true, true)) {
return "bracket";
- Create a ticketCreate a ticket
Function tokenBase
has 58 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function tokenBase(stream, state) {
var ch = stream.next();
if (ch === '"') {
state.tokenize = tokenString;
- Create a ticketCreate a ticket
Function token
has 58 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
token: function (stream, state) {
if (state.indentStack == null && stream.sol()) {
// update indentation, but only if indentStack is empty
state.indentation = 6 ; //stream.indentation();
}
- Create a ticketCreate a ticket
Function _populateSimForm
has 58 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_populateSimForm () {
let O = this;
_log( 'PANEL SIM / _populateSimForm' );
// clear
- Create a ticketCreate a ticket
Function reset
has 58 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Defaults.prototype.reset = function () {
function stripDiacritics (text) {
// Used 'uni range + named function' from http://jsperf.com/diacritics/18
function match(a) {
return DIACRITICS[a] || a;
- Create a ticketCreate a ticket
Function update
has 58 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
update: function(){
if (!this._allow_update)
return this;
var oldDates = this.dates.copy(),
- Create a ticketCreate a ticket
Function tick
has 58 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
force.tick = function() {
if ((alpha *= .99) < .005) {
event.end({
type: "end",
alpha: alpha = 0
- Create a ticketCreate a ticket
Function createAtomic
has 58 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function createAtomic(x, y, width, height, modelName, inputs, outputs) {
let atomic = new joint.shapes.devs.Atomic({
position: {
x: x, y: y
},
- Create a ticketCreate a ticket