id: 1 unit: export default function FileUpload() file: src/FileUpload.tsx start line: 63 end line: 258 size: 186 LOC McCabe index: 14 number of parameters: 0 id: 2 unit: export function useSensors() file: src/hooks/common.ts start line: 110 end line: 276 size: 160 LOC McCabe index: 5 number of parameters: 0 id: 3 unit: color: getRandomColor() file: src/Chart.tsx start line: 248 end line: 385 size: 129 LOC McCabe index: 10 number of parameters: 0 id: 4 unit: render() file: src/components/qrcodeScanner.tsx start line: 60 end line: 175 size: 111 LOC McCabe index: 3 number of parameters: 0 id: 5 unit: function UploadProgress() file: src/FileUpload.tsx start line: 290 end line: 390 size: 95 LOC McCabe index: 8 number of parameters: 1 id: 6 unit: export default function Settings() file: src/Settings.tsx start line: 40 end line: 183 size: 95 LOC McCabe index: 3 number of parameters: 0 id: 7 unit: export function Welcome() file: src/Welcome.tsx start line: 40 end line: 138 size: 85 LOC McCabe index: 5 number of parameters: 1 id: 8 unit: await handleUpdate() file: src/Welcome.tsx start line: 100 end line: 156 size: 53 LOC McCabe index: 6 number of parameters: 5 id: 9 unit: function BluetoothDetail() file: src/bluetooth/Bluetooth.tsx start line: 239 end line: 294 size: 46 LOC McCabe index: 6 number of parameters: 4 id: 10 unit: export function useProperties() file: src/hooks/common.ts start line: 380 end line: 428 size: 45 LOC McCabe index: 3 number of parameters: 0 id: 11 unit: function handleUpdate() file: src/Welcome.tsx start line: 140 end line: 193 size: 43 LOC McCabe index: 4 number of parameters: 5 id: 12 unit: getItemProps: function() file: src/bluetooth/devices/Govee5074.ts start line: 43 end line: 84 size: 41 LOC McCabe index: 4 number of parameters: 1 id: 13 unit: function BluetoothList() file: src/bluetooth/Bluetooth.tsx start line: 80 end line: 122 size: 40 LOC McCabe index: 1 number of parameters: 1 id: 14 unit: function BluetoothDeviceListItem() file: src/bluetooth/Bluetooth.tsx start line: 130 end line: 168 size: 38 LOC McCabe index: 1 number of parameters: 4 id: 15 unit: fontSize: normalize() file: src/CardView.tsx start line: 40 end line: 78 size: 37 LOC McCabe index: 3 number of parameters: 1 id: 16 unit: async function scan() file: src/bluetooth/Bluetooth.tsx start line: 181 end line: 221 size: 36 LOC McCabe index: 7 number of parameters: 0 id: 17 unit: export function BluetoothPage() file: src/bluetooth/Bluetooth.tsx start line: 33 end line: 73 size: 34 LOC McCabe index: 2 number of parameters: 0 id: 18 unit: export async function playTorch() file: src/tools/Torch.ts start line: 8 end line: 40 size: 32 LOC McCabe index: 5 number of parameters: 3 id: 19 unit: export function useThemeMode() file: src/hooks/layout.ts start line: 48 end line: 83 size: 32 LOC McCabe index: 3 number of parameters: 0 id: 20 unit: export function Loader() file: src/components/loader.tsx start line: 24 end line: 55 size: 29 LOC McCabe index: 3 number of parameters: 1 id: 21 unit: function UploadIcon() file: src/FileUpload.tsx start line: 260 end line: 288 size: 28 LOC McCabe index: 1 number of parameters: 0 id: 22 unit: export function useScreenDimensions() file: src/hooks/layout.ts start line: 19 end line: 46 size: 26 LOC McCabe index: 2 number of parameters: 0 id: 23 unit: export function useIoTCentralClient() file: src/hooks/iotc.ts start line: 22 end line: 49 size: 25 LOC McCabe index: 5 number of parameters: 1 id: 24 unit: export default function App() file: src/App.tsx start line: 52 end line: 75 size: 23 LOC McCabe index: 2 number of parameters: 0 id: 25 unit: export function useBoolean() file: src/hooks/common.ts start line: 77 end line: 102 size: 23 LOC McCabe index: 1 number of parameters: 1 id: 26 unit: export async function getDeviceInfo() file: src/properties/deviceInfo.ts start line: 24 end line: 44 size: 21 LOC McCabe index: 1 number of parameters: 0 id: 27 unit: fn: async() file: src/Settings.tsx start line: 135 end line: 156 size: 20 LOC McCabe index: 2 number of parameters: 2 id: 28 unit: export function Name() file: src/components/typography.tsx start line: 92 end line: 111 size: 18 LOC McCabe index: 1 number of parameters: 1 id: 29 unit: fontSize: normalize() file: src/components/typography.tsx start line: 99 end line: 119 size: 17 LOC McCabe index: 1 number of parameters: 1 id: 30 unit: function() file: src/sensors/geolocation.ts start line: 66 end line: 83 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 31 unit: async run() file: src/sensors/battery.ts start line: 54 end line: 84 size: 17 LOC McCabe index: 2 number of parameters: 0 id: 32 unit: export function Text() file: src/components/typography.tsx start line: 63 end line: 79 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 33 unit: function useBluetoothDevicesList() file: src/bluetooth/Bluetooth.tsx start line: 170 end line: 232 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 34 unit: function ReloadButton() file: src/bluetooth/Bluetooth.tsx start line: 296 end line: 311 size: 16 LOC McCabe index: 1 number of parameters: 0 id: 35 unit: onPress: async() file: src/Registration.tsx start line: 460 end line: 476 size: 16 LOC McCabe index: 1 number of parameters: 0 id: 36 unit: fontSize: normalize() file: src/components/form.tsx start line: 74 end line: 89 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 37 unit: setLogLevel() file: src/tools/EventLogger.ts start line: 15 end line: 29 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 38 unit: setLogLevel() file: src/tools/WebhookLogger.ts start line: 12 end line: 26 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 39 unit: async run() file: src/sensors/barometer.ts start line: 66 end line: 94 size: 15 LOC McCabe index: 2 number of parameters: 0 id: 40 unit: export function bytesToSize() file: src/components/typography.tsx start line: 125 end line: 138 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 41 unit: export function getNegativeColor() file: src/components/typography.tsx start line: 146 end line: 162 size: 14 LOC McCabe index: 4 number of parameters: 1 id: 42 unit: export function Card() file: src/components/card.tsx start line: 28 end line: 40 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 43 unit: getItemProps: function() file: src/bluetooth/devices/GenericDevice.ts start line: 17 end line: 29 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 44 unit: onPress: async() file: src/Registration.tsx start line: 501 end line: 514 size: 13 LOC McCabe index: 1 number of parameters: 0 id: 45 unit: export function useDeliveryInterval() file: src/hooks/iotc.ts start line: 235 end line: 248 size: 13 LOC McCabe index: 1 number of parameters: 0 id: 46 unit: sendInterval() file: src/sensors/accelerometer.ts start line: 43 end line: 55 size: 13 LOC McCabe index: 6 number of parameters: 1 id: 47 unit: sendInterval() file: src/sensors/gyroscope.ts start line: 42 end line: 54 size: 13 LOC McCabe index: 6 number of parameters: 1 id: 48 unit: sendInterval() file: src/sensors/barometer.ts start line: 41 end line: 53 size: 13 LOC McCabe index: 6 number of parameters: 1 id: 49 unit: sendInterval() file: src/sensors/magnetometer.ts start line: 42 end line: 54 size: 13 LOC McCabe index: 6 number of parameters: 1 id: 50 unit: export function Headline() file: src/components/typography.tsx start line: 34 end line: 46 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 51 unit: export function Detail() file: src/components/typography.tsx start line: 48 end line: 61 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 52 unit: function formatBytes() file: src/FileUpload.tsx start line: 392 end line: 403 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 53 unit: lat: getRandom() file: src/sensors/geolocation.ts start line: 57 end line: 68 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 54 unit: async debug() file: src/tools/EventLogger.ts start line: 31 end line: 41 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 55 unit: async log() file: src/tools/EventLogger.ts start line: 42 end line: 52 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 56 unit: lon: getRandom() file: src/sensors/geolocation.ts start line: 58 end line: 68 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 57 unit: export function useSimulation() file: src/hooks/iotc.ts start line: 223 end line: 233 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 58 unit: alt: getRandom() file: src/sensors/geolocation.ts start line: 59 end line: 68 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 59 unit: sendInterval() file: src/sensors/battery.ts start line: 32 end line: 41 size: 10 LOC McCabe index: 4 number of parameters: 1 id: 60 unit: export function Link() file: src/components/typography.tsx start line: 81 end line: 90 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 61 unit: export function camelToName() file: src/components/typography.tsx start line: 113 end line: 123 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 62 unit: async function toggleLight() file: src/tools/Torch.ts start line: 42 end line: 50 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 63 unit: x: getRandom() file: src/sensors/accelerometer.ts start line: 88 end line: 96 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 64 unit: x: getRandom() file: src/sensors/gyroscope.ts start line: 71 end line: 79 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 65 unit: x: getRandom() file: src/sensors/magnetometer.ts start line: 71 end line: 79 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 66 unit: await playTorch() file: src/Home.tsx start line: 231 end line: 239 size: 9 LOC McCabe index: 2 number of parameters: 3 id: 67 unit: await handleUpdate() file: src/Welcome.tsx start line: 84 end line: 92 size: 9 LOC McCabe index: 1 number of parameters: 5 id: 68 unit: function initValues() file: src/components/form.tsx start line: 32 end line: 40 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 69 unit: export function normalize() file: src/components/typography.tsx start line: 25 end line: 32 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 70 unit: window.onload = function() file: src/Chart.tsx start line: 193 end line: 201 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 71 unit: public getModelForDevice() file: src/bluetooth/BleManager.ts start line: 24 end line: 32 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 72 unit: onPress: async() file: src/Registration.tsx start line: 143 end line: 150 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 73 unit: y: getRandom() file: src/sensors/accelerometer.ts start line: 89 end line: 96 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 74 unit: y: getRandom() file: src/sensors/gyroscope.ts start line: 72 end line: 79 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 75 unit: sendInterval() file: src/sensors/geolocation.ts start line: 31 end line: 38 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 76 unit: y: getRandom() file: src/sensors/magnetometer.ts start line: 72 end line: 79 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 77 unit: await fetch() file: src/tools/WebhookLogger.ts start line: 30 end line: 36 size: 7 LOC McCabe index: 2 number of parameters: 3 id: 78 unit: await fetch() file: src/tools/WebhookLogger.ts start line: 41 end line: 47 size: 7 LOC McCabe index: 2 number of parameters: 3 id: 79 unit: export function useTheme() file: src/hooks/layout.ts start line: 85 end line: 92 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 80 unit: export function usePrevious() file: src/hooks/common.ts start line: 49 end line: 61 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 81 unit: constructor() file: src/sensors/accelerometer.ts start line: 24 end line: 30 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 82 unit: function() file: src/sensors/accelerometer.ts start line: 85 end line: 92 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 83 unit: z: getRandom() file: src/sensors/accelerometer.ts start line: 90 end line: 96 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 84 unit: function() file: src/sensors/accelerometer.ts start line: 102 end line: 108 size: 7 LOC McCabe index: 1 number of parameters: 4 id: 85 unit: constructor() file: src/sensors/gyroscope.ts start line: 23 end line: 29 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 86 unit: function() file: src/sensors/gyroscope.ts start line: 69 end line: 75 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 87 unit: z: getRandom() file: src/sensors/gyroscope.ts start line: 73 end line: 79 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 88 unit: function() file: src/sensors/geolocation.ts start line: 55 end line: 61 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 89 unit: constructor() file: src/sensors/barometer.ts start line: 22 end line: 28 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 90 unit: function() file: src/sensors/battery.ts start line: 58 end line: 64 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 91 unit: async function() file: src/sensors/battery.ts start line: 69 end line: 75 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 92 unit: constructor() file: src/sensors/magnetometer.ts start line: 23 end line: 29 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 93 unit: function() file: src/sensors/magnetometer.ts start line: 69 end line: 75 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 94 unit: z: getRandom() file: src/sensors/magnetometer.ts start line: 73 end line: 79 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 95 unit: onPress: async() file: src/Settings.tsx start line: 58 end line: 65 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 96 unit: subtitle: camelToName() file: src/Settings.tsx start line: 106 end line: 112 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 97 unit: override fun onCreate() file: android/app/src/main/java/com/iot_pnp/MainApplication.kt start line: 35 end line: 42 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 98 unit: public static getInstance() file: src/bluetooth/BleManager.ts start line: 16 end line: 22 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 99 unit: function getOrientation() file: src/hooks/layout.ts start line: 12 end line: 17 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 100 unit: export function useScreenIcon() file: src/hooks/common.ts start line: 36 end line: 42 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 101 unit: function() file: src/sensors/accelerometer.ts start line: 109 end line: 114 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 102 unit: function() file: src/sensors/gyroscope.ts start line: 88 end line: 93 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 103 unit: constructor() file: src/sensors/geolocation.ts start line: 13 end line: 18 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 104 unit: function() file: src/sensors/barometer.ts start line: 86 end line: 91 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 105 unit: constructor() file: src/sensors/battery.ts start line: 13 end line: 18 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 106 unit: function() file: src/sensors/magnetometer.ts start line: 88 end line: 93 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 107 unit: int main() file: ios/IoT_PnP/main.m start line: 5 end line: 10 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 108 unit: constructor() file: src/components/qrcodeScanner.tsx start line: 47 end line: 51 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 109 unit: export function getRandomColor() file: src/components/typography.tsx start line: 140 end line: 144 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 110 unit: export function Debug() file: src/tools/CustomLogger.ts start line: 8 end line: 12 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 111 unit: headerLeft: isListPage ?() file: src/bluetooth/Bluetooth.tsx start line: 53 end line: 57 size: 5 LOC McCabe index: 3 number of parameters: 0 id: 112 unit: onScan() file: src/bluetooth/devices/GenericDevice.ts start line: 12 end line: 16 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 113 unit: function() file: src/sensors/barometer.ts start line: 81 end line: 85 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 114 unit: async debug() file: src/tools/WebhookLogger.ts start line: 28 end line: 38 size: 4 LOC McCabe index: 2 number of parameters: 2 id: 115 unit: async log() file: src/tools/WebhookLogger.ts start line: 39 end line: 49 size: 4 LOC McCabe index: 2 number of parameters: 2 id: 116 unit: fontSize: normalize() file: src/CardView.tsx start line: 36 end line: 39 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 117 unit: export function resolveString() file: src/strings.ts start line: 175 end line: 178 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 118 unit: onPress: async() file: src/Registration.tsx start line: 135 end line: 138 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 119 unit: export function useLogger() file: src/hooks/common.ts start line: 44 end line: 47 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 120 unit: async run() file: src/sensors/accelerometer.ts start line: 82 end line: 117 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 121 unit: async run() file: src/sensors/gyroscope.ts start line: 66 end line: 96 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 122 unit: async run() file: src/sensors/magnetometer.ts start line: 66 end line: 96 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 123 unit: onPress: async() file: src/Welcome.tsx start line: 172 end line: 175 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 124 unit: onPress: async() file: src/Welcome.tsx start line: 183 end line: 186 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 125 unit: private calculateSideWidth() file: src/components/qrcodeScanner.tsx start line: 39 end line: 41 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 126 unit: private calculateVerticals() file: src/components/qrcodeScanner.tsx start line: 43 end line: 45 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 127 unit: public reactivate() file: src/components/qrcodeScanner.tsx start line: 53 end line: 55 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 128 unit: componentWillUnmount() file: src/components/qrcodeScanner.tsx start line: 56 end line: 58 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 129 unit: export async function TimeOut() file: src/tools/index.ts start line: 6 end line: 8 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 130 unit: export function Log() file: src/tools/CustomLogger.ts start line: 4 end line: 6 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 131 unit: protected constructor() file: src/bluetooth/BleManager.ts start line: 9 end line: 11 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 132 unit: public resetDeviceList() file: src/bluetooth/BleManager.ts start line: 34 end line: 36 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 133 unit: public setResetDeviceListCallback() file: src/bluetooth/BleManager.ts start line: 38 end line: 40 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 134 unit: export function useConnectIoTCentralClient() file: src/hooks/iotc.ts start line: 71 end line: 73 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 135 unit: function() file: src/sensors/gyroscope.ts start line: 85 end line: 87 size: 3 LOC McCabe index: 1 number of parameters: 4 id: 136 unit: function() file: src/sensors/barometer.ts start line: 69 end line: 71 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 137 unit: function() file: src/sensors/magnetometer.ts start line: 85 end line: 87 size: 3 LOC McCabe index: 1 number of parameters: 4 id: 138 unit: export function getRandom() file: src/sensors/internal.ts start line: 16 end line: 18 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 139 unit: onPress: async() file: src/Welcome.tsx start line: 158 end line: 160 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 140 unit: async run() file: src/sensors/geolocation.ts start line: 51 end line: 92 size: 1 LOC McCabe index: 2 number of parameters: 0