Showing 13 of 282 total issues
Function exports
has 209 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function(grunt) {
// requirements
require('load-grunt-tasks')(grunt);
- Create a ticketCreate a ticket
Function executeStandardRequest
has 77 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this.executeStandardRequest = function(requestString, deferred, additionalOpts, optionalCompleteCallback) {
var requestOptions = {
url : requestString,
method : 'GET',
- Create a ticketCreate a ticket
File pinboardservice.js
has 279 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/**
* @ngdoc service
* @name pinboredWebkitApp.services.Pinboardservice
* @description
- Create a ticketCreate a ticket
Function exports
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function(config) {
config.set({
basePath : './',
- Create a ticketCreate a ticket
Function checkDuplicates
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.checkDuplicates = function() {
// check if we 'have' bookmarks:
if(Object.keys($scope.duplicatecheck.bookmarks).length === 0) {
$scope.loadCachedBookmarks();
- Create a ticketCreate a ticket
Function selectionRecursiveDelete
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this.selectionRecursiveDelete = function(selection) {
var total = selection.length;
var deleted = 0;
console.log('bookmarks to delete: ' + total);
- Create a ticketCreate a ticket
Function req
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var req = https.get(requestString).on('response', function(res) {
var data = '';
var trackProgress = false;
- Create a ticketCreate a ticket
Function login
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.login = function(username, password) {
$scope.model.busy = true;
if(!_.isEmpty(username) && !_.isEmpty(password)) {
Pinboardservice.checkConnection()
- Create a ticketCreate a ticket
Function selectionStaleCheck
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this.selectionStaleCheck = function(selection) {
var total = selection.length;
var checked = 0;
console.log('bookmarks to stale check: ' + total);
- Create a ticketCreate a ticket
Function selectionDeleteAllTags
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this.selectionDeleteAllTags = function(selection) {
var total = selection.length;
var updated = 0;
console.log('bookmarks to delete all tags from: ' + total);
- Create a ticketCreate a ticket
Function createTags
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.createTags = function(tagdata) {
var deferred = $q.defer();
var tagID = 0;
for (var tag in tagdata) {
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
for(var m=0; m<searchTags.length; m++) {
var searchTag2 = searchTags[m];
var bookmarkTags2 = item2.data.tags.split(' ');
for(var n=0; n<bookmarkTags2.length; n++) {
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if(matches === false) {
var searchTag = searchTags[j];
var bookmarkTags = item.data.tags.split(' ');
for(var k=0; k<bookmarkTags.length; k++) {
if(bookmarkTags[k] === searchTag.text) {
- Create a ticketCreate a ticket