Showing 1,485 of 3,294 total issues
Function setOffset
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
setOffset: function( elem, options, i ) {
var curPosition, curLeft, curCSSTop, curTop, curOffset, curCSSLeft, calculatePosition,
position = jQuery.css( elem, "position" ),
curElem = jQuery( elem ),
props = {};
Function flipFactory
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function flipFactory(iterable) {
var flipSequence = makeSequence(iterable);
flipSequence._iter = iterable;
flipSequence.size = iterable.size;
flipSequence.flip = function() {return iterable};
Function _showSummary
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
SearchResultsView.prototype._showSummary = function () {
var count = this._model.countFilesMatches(),
lastIndex = this._getLastIndex(count.matches),
typeStr = (count.matches > 1) ? Strings.FIND_IN_FILES_MATCHES : Strings.FIND_IN_FILES_MATCH,
filesStr,
Function addCommunicationArgs
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function addCommunicationArgs(communication, processArgs, isRuntime) {
switch (communication) {
case CommunicationTypes.NodeIPC.type:
{
if (isRuntime) {
Function _render
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
QuickSearchField.prototype._render = function (results, query) {
this._displayedQuery = query;
this._displayedResults = results;
if (this._firstHighlightIndex >= 0) {
this._highlightIndex = this._firstHighlightIndex;
Function handleContentsModified
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function handleContentsModified() {
Dialogs.showModalDialog(
DefaultDialogs.DIALOG_ID_ERROR,
Strings.EXT_MODIFIED_TITLE,
StringUtils.format(
Consider simplifying this complex logical expression. Open
Open
if ( match[1] === "nth" ) {
if ( !match[2] ) {
Sizzle.error( match[0] );
}
Consider simplifying this complex logical expression. Open
Open
} else if ( useCache && (cache = (elem[ expando ] || (elem[ expando ] = {}))[ type ]) && cache[0] === dirruns ) {
diff = cache[1];
// xml :nth-child(...) or :nth-last-child(...) or :nth(-last)?-of-type(...)
} else {
Consider simplifying this complex logical expression. Open
Open
if ( start && start[ 3 ] !== unit ) {
// Trust units reported by jQuery.css
unit = unit || start[ 3 ];
// Make sure we update the tween properties later on
Function _performNpmInstall
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _performNpmInstall(installDirectory, npmOptions, callback) {
var npmPath = path.resolve(path.dirname(require.resolve("npm")), "..", "bin", "npm-cli.js");
var args = [npmPath, "install"].concat(npmOptions);
console.log("running npm " + args.slice(1).join(" ") + " in " + installDirectory);
Function _cmdDownloadFile
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _cmdDownloadFile(downloadId, url, proxy, callback, pCallback) {
// Backwards compatibility check, added in 0.37
if (typeof proxy === "function") {
callback = proxy;
proxy = undefined;
Function expectParameterHint
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function expectParameterHint(expectedParams, expectedParameter) {
var requestStatus = null;
var request,
complete = false;
runs(function () {
Function showErrorPopUp
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function showErrorPopUp(err) {
if(!err) {
return;
}
var localizedErrStr = "";
Function validatePhpExecutable
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function validatePhpExecutable(confParams) {
executablePath = confParams["executablePath"] ||
(process.platform === 'win32' ? 'php.exe' : 'php');
memoryLimit = confParams["memoryLimit"] || '4095M';
Function expectSymbols
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function expectSymbols(provider, query, expectedSymbols) {
var requestStatus = null;
var request,
matcher;
Function _dialogDatepicker
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_dialogDatepicker: function(input, date, onSelect, settings, pos) {
var inst = this._dialogInst; // internal instance
if (!inst) {
this.uuid += 1;
var id = 'dp' + this.uuid;
Function _keydown
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_keydown: function( event ) {
if ( event.altKey || event.ctrlKey ) {
return;
}
Function _setupHeightStyle
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_setupHeightStyle: function( heightStyle ) {
var maxHeight, overflow,
parent = this.element.parent();
if ( heightStyle === "fill" ) {
Function top
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
top: function( position, data ) {
var within = data.within,
withinOffset = within.offset.top + within.scrollTop,
outerHeight = within.height,
offsetTop = within.isWindow ? 0 : within.offset.top,
Function _position
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_position: function( position ) {
var myAt = [],
offset = [ 0, 0 ],
isVisible;