id: 1 unit: ClientImpl.prototype._handleMessage = function() file: content/lib/paho-mqtt.js start line: 1255 end line: 1442 size: 161 LOC McCabe index: 48 number of parameters: 1 id: 2 unit: WireMessage.prototype.encode = function() file: content/lib/paho-mqtt.js start line: 273 end line: 457 size: 136 LOC McCabe index: 39 number of parameters: 0 id: 3 unit: async connect() file: content/AzIotHubClient.js start line: 96 end line: 182 size: 85 LOC McCabe index: 7 number of parameters: 0 id: 4 unit: ClientImpl.prototype._disconnected = function() file: content/lib/paho-mqtt.js start line: 1546 end line: 1618 size: 66 LOC McCabe index: 19 number of parameters: 2 id: 5 unit: function decodeMessage() file: content/lib/paho-mqtt.js start line: 459 end line: 537 size: 65 LOC McCabe index: 16 number of parameters: 2 id: 6 unit: function parseUTF8() file: content/lib/paho-mqtt.js start line: 640 end line: 686 size: 45 LOC McCabe index: 10 number of parameters: 3 id: 7 unit: ClientImpl.prototype.restore = function() file: content/lib/paho-mqtt.js start line: 1118 end line: 1158 size: 34 LOC McCabe index: 7 number of parameters: 1 id: 8 unit: ClientImpl.prototype.store = function() file: content/lib/paho-mqtt.js start line: 1077 end line: 1116 size: 33 LOC McCabe index: 9 number of parameters: 2 id: 9 unit: ClientImpl.prototype._deframeMessages = function() file: content/lib/paho-mqtt.js start line: 1222 end line: 1253 size: 32 LOC McCabe index: 7 number of parameters: 1 id: 10 unit: async connect() file: content/device.js start line: 142 end line: 178 size: 32 LOC McCabe index: 3 number of parameters: 0 id: 11 unit: module.exports = function() file: azure-function/index.js start line: 4 end line: 43 size: 30 LOC McCabe index: 3 number of parameters: 2 id: 12 unit: function stringToUTF8() file: content/lib/paho-mqtt.js start line: 606 end line: 638 size: 29 LOC McCabe index: 8 number of parameters: 3 id: 13 unit: var ClientImpl = function() file: content/lib/paho-mqtt.js start line: 760 end line: 815 size: 29 LOC McCabe index: 10 number of parameters: 5 id: 14 unit: ClientImpl.prototype.send = function() file: content/lib/paho-mqtt.js start line: 944 end line: 981 size: 29 LOC McCabe index: 8 number of parameters: 1 id: 15 unit: ClientImpl.prototype._doConnect = function() file: content/lib/paho-mqtt.js start line: 1031 end line: 1061 size: 26 LOC McCabe index: 4 number of parameters: 1 id: 16 unit: ClientImpl.prototype.subscribe = function() file: content/lib/paho-mqtt.js start line: 886 end line: 917 size: 25 LOC McCabe index: 6 number of parameters: 2 id: 17 unit: ClientImpl.prototype._trace = function() file: content/lib/paho-mqtt.js start line: 1621 end line: 1644 size: 23 LOC McCabe index: 9 number of parameters: 0 id: 18 unit: async provision() file: content/device.js start line: 80 end line: 102 size: 23 LOC McCabe index: 2 number of parameters: 0 id: 19 unit: ClientImpl.prototype.connect = function() file: content/lib/paho-mqtt.js start line: 857 end line: 884 size: 22 LOC McCabe index: 5 number of parameters: 1 id: 20 unit: function UTF8Length() file: content/lib/paho-mqtt.js start line: 579 end line: 600 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 21 unit: ClientImpl.prototype._receivePublish = function() file: content/lib/paho-mqtt.js start line: 1473 end line: 1497 size: 21 LOC McCabe index: 5 number of parameters: 1 id: 22 unit: syntaxHighlight() file: content/device.js start line: 225 end line: 245 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 23 unit: ClientImpl.prototype.unsubscribe = function() file: content/lib/paho-mqtt.js start line: 920 end line: 942 size: 18 LOC McCabe index: 4 number of parameters: 2 id: 24 unit: async created() file: content/device.js start line: 46 end line: 66 size: 17 LOC McCabe index: 5 number of parameters: 0 id: 25 unit: var validate = function() file: content/lib/paho-mqtt.js start line: 143 end line: 158 size: 16 LOC McCabe index: 7 number of parameters: 2 id: 26 unit: var format = function() file: content/lib/paho-mqtt.js start line: 218 end line: 233 size: 16 LOC McCabe index: 4 number of parameters: 2 id: 27 unit: ClientImpl.prototype._requires_ack = function() file: content/lib/paho-mqtt.js start line: 1181 end line: 1197 size: 16 LOC McCabe index: 5 number of parameters: 1 id: 28 unit: ClientImpl.prototype._reconnect = function() file: content/lib/paho-mqtt.js start line: 1522 end line: 1537 size: 16 LOC McCabe index: 4 number of parameters: 0 id: 29 unit: async registerDevice() file: content/AzDpsClient.js start line: 30 end line: 44 size: 15 LOC McCabe index: 1 number of parameters: 0 id: 30 unit: ClientImpl.prototype._process_queue = function() file: content/lib/paho-mqtt.js start line: 1160 end line: 1174 size: 14 LOC McCabe index: 3 number of parameters: 0 id: 31 unit: function encodeMBI() file: content/lib/paho-mqtt.js start line: 559 end line: 573 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 32 unit: ClientImpl.prototype.disconnect = function() file: content/lib/paho-mqtt.js start line: 983 end line: 1005 size: 13 LOC McCabe index: 3 number of parameters: 0 id: 33 unit: startTelemetry() file: content/device.js start line: 184 end line: 199 size: 13 LOC McCabe index: 1 number of parameters: 0 id: 34 unit: ClientImpl.prototype._traceMask = function() file: content/lib/paho-mqtt.js start line: 1647 end line: 1658 size: 12 LOC McCabe index: 4 number of parameters: 2 id: 35 unit: clearForm() file: content/device.js start line: 212 end line: 223 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 36 unit: async function generateSasToken() file: content/AzIotHubClient.js start line: 34 end line: 44 size: 11 LOC McCabe index: 2 number of parameters: 4 id: 37 unit: var doPing = function() file: content/lib/paho-mqtt.js start line: 707 end line: 717 size: 11 LOC McCabe index: 2 number of parameters: 0 id: 38 unit: ClientImpl.prototype.getTraceLog = function() file: content/lib/paho-mqtt.js start line: 1007 end line: 1018 size: 11 LOC McCabe index: 4 number of parameters: 0 id: 39 unit: async processDirectMethods() file: content/device.js start line: 121 end line: 131 size: 11 LOC McCabe index: 2 number of parameters: 3 id: 40 unit: ClientImpl.prototype._socket_send = function() file: content/lib/paho-mqtt.js start line: 1459 end line: 1470 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 41 unit: var WireMessage = function() file: content/lib/paho-mqtt.js start line: 264 end line: 271 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 42 unit: writeToConsole() file: content/device.js start line: 71 end line: 78 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 43 unit: async desiredPropertyAck() file: content/device.js start line: 111 end line: 119 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 44 unit: var Pinger = function() file: content/lib/paho-mqtt.js start line: 692 end line: 729 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 45 unit: ClientImpl.prototype._on_socket_message = function() file: content/lib/paho-mqtt.js start line: 1214 end line: 1220 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 46 unit: this.reset = function() file: content/lib/paho-mqtt.js start line: 719 end line: 724 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 47 unit: var Timeout = function() file: content/lib/paho-mqtt.js start line: 735 end line: 750 size: 6 LOC McCabe index: 2 number of parameters: 5 id: 48 unit: ClientImpl.prototype.startTrace = function() file: content/lib/paho-mqtt.js start line: 1020 end line: 1025 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 49 unit: ClientImpl.prototype._schedule_message = function() file: content/lib/paho-mqtt.js start line: 1069 end line: 1075 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 50 unit: ClientImpl.prototype._on_socket_open = function() file: content/lib/paho-mqtt.js start line: 1203 end line: 1208 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 51 unit: async fetchTwin() file: content/device.js start line: 247 end line: 252 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 52 unit: var scope = function() file: content/lib/paho-mqtt.js start line: 168 end line: 172 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 53 unit: function writeUint16() file: content/lib/paho-mqtt.js start line: 539 end line: 543 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 54 unit: function writeString() file: content/lib/paho-mqtt.js start line: 545 end line: 549 size: 5 LOC McCabe index: 1 number of parameters: 4 id: 55 unit: var doTimeout = function() file: content/lib/paho-mqtt.js start line: 700 end line: 704 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 56 unit: var doTimeout = function() file: content/lib/paho-mqtt.js start line: 740 end line: 744 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 57 unit: ClientImpl.prototype._on_socket_error = function() file: content/lib/paho-mqtt.js start line: 1445 end line: 1449 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 58 unit: ClientImpl.prototype._on_socket_close = function() file: content/lib/paho-mqtt.js start line: 1452 end line: 1456 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 59 unit: ClientImpl.prototype._receiveMessage = function() file: content/lib/paho-mqtt.js start line: 1500 end line: 1504 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 60 unit: ClientImpl.prototype._connected = function() file: content/lib/paho-mqtt.js start line: 1511 end line: 1515 size: 5 LOC McCabe index: 3 number of parameters: 2 id: 61 unit: async refreshDeviceId() file: content/device.js start line: 105 end line: 109 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 62 unit: stopTelemetry() file: content/device.js start line: 201 end line: 205 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 63 unit: async processDesiredPropertyPatch() file: content/device.js start line: 133 end line: 136 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 64 unit: clearConsole() file: content/device.js start line: 207 end line: 210 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 65 unit: async updateDeviceKey() file: content/device.js start line: 254 end line: 257 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 66 unit: function readUint16() file: content/lib/paho-mqtt.js start line: 551 end line: 553 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 67 unit: this.cancel = function() file: content/lib/paho-mqtt.js start line: 726 end line: 728 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 68 unit: this.cancel = function() file: content/lib/paho-mqtt.js start line: 747 end line: 749 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 69 unit: ClientImpl.prototype.stopTrace = function() file: content/lib/paho-mqtt.js start line: 1027 end line: 1029 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 70 unit: async processCloudToDeviceMessage() file: content/device.js start line: 138 end line: 140 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 71 unit: getRandomArbitrary() file: content/device.js start line: 180 end line: 182 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 72 unit: connectionString() file: content/device.js start line: 261 end line: 263 size: 3 LOC McCabe index: 1 number of parameters: 0