id: 1 unit: function DeviceClient() file: device/index.js start line: 211 end line: 927 size: 258 LOC McCabe index: 58 number of parameters: 1 id: 2 unit: this.register = function() file: thing/index.js start line: 529 end line: 614 size: 69 LOC McCabe index: 18 number of parameters: 3 id: 3 unit: module.exports = function() file: common/lib/tls-reader.js start line: 33 end line: 111 size: 61 LOC McCabe index: 22 number of parameters: 1 id: 4 unit: function ThingShadowsClient() file: thing/index.js start line: 76 end line: 764 size: 53 LOC McCabe index: 7 number of parameters: 2 id: 5 unit: this._handleMessages = function() file: thing/index.js start line: 197 end line: 313 size: 52 LOC McCabe index: 16 number of parameters: 4 id: 6 unit: function signUrl() file: device/index.js start line: 76 end line: 141 size: 49 LOC McCabe index: 8 number of parameters: 14 id: 7 unit: this._handleSubscriptions = function() file: thing/index.js start line: 127 end line: 192 size: 46 LOC McCabe index: 12 number of parameters: 4 id: 8 unit: function _drainOperationQueue() file: device/index.js start line: 688 end line: 750 size: 36 LOC McCabe index: 9 number of parameters: 0 id: 9 unit: this._handleMessages = function() file: jobs/index.js start line: 152 end line: 204 size: 33 LOC McCabe index: 11 number of parameters: 2 id: 10 unit: function jobsClient() file: jobs/index.js start line: 57 end line: 327 size: 31 LOC McCabe index: 2 number of parameters: 1 id: 11 unit: this.unsubscribeFromJobs = function() file: jobs/index.js start line: 247 end line: 288 size: 31 LOC McCabe index: 8 number of parameters: 3 id: 12 unit: this.subscribeToJobs = function() file: jobs/index.js start line: 206 end line: 245 size: 30 LOC McCabe index: 8 number of parameters: 3 id: 13 unit: this.subscribe = function() file: device/index.js start line: 853 end line: 879 size: 27 LOC McCabe index: 5 number of parameters: 3 id: 14 unit: function isThingShadowTopic() file: thing/index.js start line: 36 end line: 72 size: 25 LOC McCabe index: 13 number of parameters: 2 id: 15 unit: this.unregister = function() file: thing/index.js start line: 616 end line: 661 size: 24 LOC McCabe index: 5 number of parameters: 1 id: 16 unit: function _wrapper() file: device/index.js start line: 615 end line: 643 size: 22 LOC McCabe index: 7 number of parameters: 1 id: 17 unit: function() file: thing/index.js start line: 463 end line: 494 size: 22 LOC McCabe index: 8 number of parameters: 2 id: 18 unit: this.publish = function() file: device/index.js start line: 832 end line: 852 size: 21 LOC McCabe index: 7 number of parameters: 4 id: 19 unit: this._thingOperation = function() file: thing/index.js start line: 373 end line: 527 size: 20 LOC McCabe index: 3 number of parameters: 3 id: 20 unit: function _updateSubscriptionCache() file: device/index.js start line: 581 end line: 605 size: 18 LOC McCabe index: 5 number of parameters: 3 id: 21 unit: this._updateJobStatus = function() file: jobs/index.js start line: 97 end line: 117 size: 17 LOC McCabe index: 6 number of parameters: 5 id: 22 unit: function prepareWebSocketUrl() file: device/index.js start line: 143 end line: 162 size: 16 LOC McCabe index: 3 number of parameters: 4 id: 23 unit: this.unsubscribe = function() file: device/index.js start line: 880 end line: 895 size: 16 LOC McCabe index: 4 number of parameters: 2 id: 24 unit: function getSignatureKey() file: device/index.js start line: 60 end line: 74 size: 15 LOC McCabe index: 1 number of parameters: 4 id: 25 unit: function buildBuilder() file: device/lib/tls.js start line: 23 end line: 43 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 26 unit: arrayEach() file: device/index.js start line: 190 end line: 202 size: 13 LOC McCabe index: 5 number of parameters: 1 id: 27 unit: function _trimOfflinePublishQueueIfNecessary() file: device/index.js start line: 666 end line: 682 size: 12 LOC McCabe index: 4 number of parameters: 0 id: 28 unit: function() file: thing/index.js start line: 423 end line: 451 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 29 unit: function _addToSubscriptionCache() file: device/index.js start line: 559 end line: 572 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 30 unit: function buildJobTopic() file: jobs/index.js start line: 39 end line: 52 size: 10 LOC McCabe index: 2 number of parameters: 3 id: 31 unit: function getDateTimeString() file: device/index.js start line: 41 end line: 54 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 32 unit: this.update = function() file: thing/index.js start line: 666 end line: 678 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 33 unit: this.subscribe = function() file: thing/index.js start line: 713 end line: 721 size: 9 LOC McCabe index: 4 number of parameters: 3 id: 34 unit: this.unsubscribe = function() file: thing/index.js start line: 725 end line: 733 size: 9 LOC McCabe index: 4 number of parameters: 2 id: 35 unit: function prepareWebSocketCustomAuthUrl() file: device/index.js start line: 164 end line: 176 size: 8 LOC McCabe index: 4 number of parameters: 1 id: 36 unit: function makeTwoDigits() file: device/index.js start line: 33 end line: 39 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 37 unit: function arrayEach() file: device/index.js start line: 178 end line: 184 size: 7 LOC McCabe index: 3 number of parameters: 2 id: 38 unit: this.get = function() file: thing/index.js start line: 685 end line: 691 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 39 unit: this.delete = function() file: thing/index.js start line: 696 end line: 702 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 40 unit: function _loadDefaultFilename() file: device/index.js start line: 552 end line: 558 size: 6 LOC McCabe index: 5 number of parameters: 0 id: 41 unit: function _deleteFromSubscriptionCache() file: device/index.js start line: 574 end line: 579 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 42 unit: function _markConnectionStable() file: device/index.js start line: 653 end line: 661 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 43 unit: this.startJobNotifications = function() file: jobs/index.js start line: 290 end line: 296 size: 6 LOC McCabe index: 3 number of parameters: 2 id: 44 unit: function buildThingShadowTopic() file: thing/index.js start line: 29 end line: 34 size: 6 LOC McCabe index: 2 number of parameters: 3 id: 45 unit: function getCredentials() file: device/index.js start line: 186 end line: 204 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 46 unit: this.updateWebSocketCredentials = function() file: device/index.js start line: 906 end line: 910 size: 5 LOC McCabe index: 1 number of parameters: 4 id: 47 unit: function handleTLSerrors() file: device/lib/tls.js start line: 28 end line: 31 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 48 unit: this.simulateNetworkFailure = function() file: device/index.js start line: 923 end line: 926 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 49 unit: module.exports = function() file: common/lib/is-undefined.js start line: 30 end line: 32 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 50 unit: function buildBuilder() file: device/lib/ws.js start line: 23 end line: 25 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 51 unit: function getDateString() file: device/index.js start line: 56 end line: 58 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 52 unit: function _filling() file: device/index.js start line: 611 end line: 613 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 53 unit: this.end = function() file: device/index.js start line: 896 end line: 898 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 54 unit: device.handleMessage = function() file: device/index.js start line: 902 end line: 904 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 55 unit: this.getWebsocketHeaders = function() file: device/index.js start line: 911 end line: 913 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 56 unit: this.updateCustomAuthHeaders = function() file: device/index.js start line: 917 end line: 919 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 57 unit: function isJobTopic() file: jobs/index.js start line: 30 end line: 37 size: 3 LOC McCabe index: 3 number of parameters: 1 id: 58 unit: job.inProgress = function() file: jobs/index.js start line: 134 end line: 136 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 59 unit: job.failed = function() file: jobs/index.js start line: 138 end line: 140 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 60 unit: job.succeeded = function() file: jobs/index.js start line: 142 end line: 144 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 61 unit: isUndefined() file: jobs/index.js start line: 185 end line: 187 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 62 unit: this.publish = function() file: thing/index.js start line: 706 end line: 708 size: 3 LOC McCabe index: 1 number of parameters: 4 id: 63 unit: this.end = function() file: thing/index.js start line: 738 end line: 740 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 64 unit: this.updateWebSocketCredentials = function() file: thing/index.js start line: 746 end line: 748 size: 3 LOC McCabe index: 1 number of parameters: 4 id: 65 unit: this.updateCustomAuthHeaders = function() file: thing/index.js start line: 753 end line: 755 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 66 unit: this.setConnectionStatus = function() file: thing/index.js start line: 760 end line: 762 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 67 unit: this._buildJobObject = function() file: jobs/index.js start line: 122 end line: 147 size: 2 LOC McCabe index: 3 number of parameters: 2