Showing 6,856 of 14,752 total issues
Function _destroy
has 45 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_destroy: function() {
if ( this.xhr ) {
this.xhr.abort();
}
- Create a ticketCreate a ticket
Function measureCharInner
has 45 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function measureCharInner(cm, prepared, ch, bias) {
var place = nodeAndOffsetInLineMap(prepared.map, ch, bias)
var node = place.node, start = place.start, end = place.end, collapse = place.collapse
var rect
- Create a ticketCreate a ticket
Function measureCharInner
has 45 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function measureCharInner(cm, prepared, ch, bias) {
var place = nodeAndOffsetInLineMap(prepared.map, ch, bias)
var node = place.node, start = place.start, end = place.end, collapse = place.collapse
var rect
- Create a ticketCreate a ticket
Function showTabs
has 45 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
TabCollapse.prototype.showTabs = function(){
var view = this;
this.$tabs.trigger($.Event('show-tabs.bs.tabcollapse'));
var $panelHeadings = this.$accordion.find('.js-tabcollapse-panel-heading').detach();
- Create a ticketCreate a ticket
Method convertHazard
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
static Hazard convertHazard(JsonNode node) {
Hazard hazard = new Hazard();
if (node.has("hazardType")) {
hazard.setType(node.get("hazardType").asText());
- Create a ticketCreate a ticket
Method actionPerformed
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public void actionPerformed(ActionEvent e) {
if (e.getSource() == okButton) {
for (Object value : mappings.values()) {
if (value == null) {
- Create a ticketCreate a ticket
Method createChart
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void createChart() {
String id = null;
if (configPanel.isDisplayFocusedRow()) {
id = selectionPanel.getFocusedID();
- Create a ticketCreate a ticket
Method manageDBMinMax
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void manageDBMinMax(ResultSet result, ParametricModel pm) throws SQLException {
Array array = result.getArray(Bfrdb.ATT_PARAMNAME);
Array arrayMin = result.getArray(Bfrdb.ATT_MINVALUE);
Array arrayMax = result.getArray(Bfrdb.ATT_MAXVALUE);
Array arrayCat = result.getArray("ParCategory");
- Create a ticketCreate a ticket
Method showAndFilterVals
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private boolean showAndFilterVals(String tablename, LinkedHashMap<String[], LinkedHashSet<String[]>> vals, int idColumn,
int lfd, int total) {
int i=0;
Integer lastShownID = -1;
for (String[] p : vals.keySet()) {
- Create a ticketCreate a ticket
Method managePs
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private boolean managePs(PreparedStatement ps) throws SQLException {
boolean allNullVals = true;
String[] fieldTypes = myT.getFieldTypes();
String[] fieldNames = myT.getFieldNames();
MyTable[] fieldFields = myT.getForeignFields();
- Create a ticketCreate a ticket
Method execute
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
protected PortObject[] execute(final PortObject[] inData, final ExecutionContext exec)
throws Exception {
FskPortObject portObject = (FskPortObject) inData[0];
- Create a ticketCreate a ticket
Method launchRserve
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static RInstance launchRserve(final String command, final String host, final Integer port)
throws IOException {
// if debugging, launch debug version of Rserve.
final String cmd = (DEBUG_RSERVE && Platform.isWindows()) ? command.replace(".exe", "_d.exe") : command;
- Create a ticketCreate a ticket
Method createChangeLists
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private List<List<Integer>> createChangeLists() {
int n = arguments.length;
boolean done = false;
List<List<Integer>> changeLists = new ArrayList<>();
List<Integer> list = new ArrayList<>(Collections.nCopies(n, -1));
- Create a ticketCreate a ticket
Method convertStringLists2TSXmlDoc
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static PmmXmlDoc convertStringLists2TSXmlDoc(Array t, Array tu, Array l, Array lu, Array lot, Array stddevs, Array wdhs, String modelUnit, String timeUnit) {
PmmXmlDoc tsDoc = new PmmXmlDoc();
if (t != null) {
try {
Object[] toksT = (Object[])t.getArray();
- Create a ticketCreate a ticket
Method checkCairoOnMac
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void checkCairoOnMac() throws RException {
if (cairoFound && quartzFound) {
return;
}
- Create a ticketCreate a ticket
Function readToken
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function readToken(stream, state) {
// whitespace
if (stream.eatSpace()) return null;
// comment
- Create a ticketCreate a ticket
Function token
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
token: function(stream, state) {
var ctx = state.context;
if (stream.sol()) {
if (ctx.align == null) ctx.align = false;
state.indented = stream.indentation();
- Create a ticketCreate a ticket
Function tokenBase
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function tokenBase(stream, state) {
var ch = stream.next();
// is a start of string?
if (ch == '"' || ch == "'")
- Create a ticketCreate a ticket
Function Select2
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var Select2 = function ($element, options) {
if ($element.data('select2') != null) {
$element.data('select2').destroy();
}
- Create a ticketCreate a ticket
Function histogram
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
d3.layout.histogram = function() {
var frequency = true, valuer = Number, ranger = d3_layout_histogramRange, binner = d3_layout_histogramBinSturges;
function histogram(data, i) {
var bins = [], values = data.map(valuer, this), range = ranger.call(this, values, i), thresholds = binner.call(this, range, values, i), bin, i = -1, n = values.length, m = thresholds.length - 1, k = frequency ? 1 : 1 / n, x;
while (++i < m) {
- Create a ticketCreate a ticket