azure / azure-sphere-gallery
Conditional Complexity

The distribution of complexity of units (measured with McCabe index).

Intro
Learn more...
Conditional Complexity Overall
1% | 6% | 20% | 20% | 51%
Legend:
51+
26-50
11-25
6-10
1-5
Alternative Visuals
Conditional Complexity per Extension
51+
26-50
11-25
6-10
1-5
c1% | 6% | 20% | 22% | 47%
cpp0% | 5% | 36% | 11% | 45%
cs0% | 0% | 26% | 16% | 56%
py0% | 0% | 13% | 23% | 62%
h0% | 0% | 0% | 0% | 100%
rs0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
EAP-TLS_Solution14% | 7% | 22% | 25% | 30%
BalancingRobot0% | 12% | 28% | 19% | 39%
IndustrialDeviceController0% | 4% | 20% | 19% | 56%
WifiConfigurationViaAppResource0% | 20% | 21% | 17% | 40%
TranslatorCognitiveServices0% | 19% | 20% | 14% | 45%
SetTimeFromLocation0% | 20% | 20% | 14% | 44%
AzureSphereSquirrel0% | 6% | 29% | 13% | 49%
LittleFs_SDCard0% | 0% | 23% | 24% | 52%
RS485Driver0% | 0% | 23% | 24% | 52%
OSNetworkRequirementChecker-PC0% | 0% | 81% | 0% | 18%
WiFiConfigurationViaNfc0% | 0% | 19% | 24% | 56%
AzureEventGrid0% | 0% | 19% | 21% | 58%
HTTPS_MutualAuth0% | 0% | 35% | 6% | 58%
OSNetworkRequirementChecker-HLApp0% | 0% | 19% | 43% | 37%
AzureSphereTenantDeviceTwinSync0% | 0% | 12% | 32% | 55%
DNSServiceDiscoveryUnicast0% | 0% | 26% | 21% | 52%
UdpDebugLog0% | 0% | 54% | 0% | 45%
DRAMClickboard0% | 0% | 17% | 51% | 30%
SetIoTCentralPropsForDeviceGroup0% | 0% | 35% | 22% | 42%
DeviceTenantFinder0% | 0% | 75% | 0% | 24%
AzureIoT_StoreAndForward0% | 0% | 27% | 19% | 52%
CrashDumpsConfigure0% | 0% | 20% | 17% | 62%
MultiDeviceProvisioning0% | 0% | 44% | 50% | 5%
SimpleFileSystem_RemoteDisk0% | 0% | 0% | 40% | 59%
LittleFs_Encrypted_RemoteDisk0% | 0% | 0% | 36% | 63%
WifiConfigurationViaUart0% | 0% | 0% | 54% | 45%
CO2_MonitorHealthySpaces0% | 0% | 0% | 26% | 73%
VS1053AudioStreaming0% | 0% | 0% | 29% | 70%
AzureIoTMessageWithProperties0% | 0% | 0% | 17% | 82%
Grove_16x2_RGB_LCD0% | 0% | 0% | 23% | 76%
NetworkInterfaceAddresses0% | 0% | 0% | 76% | 23%
LittleFs_RemoteDisk0% | 0% | 0% | 9% | 90%
Rust0% | 0% | 0% | 0% | 100%
HeapTracker0% | 0% | 0% | 0% | 100%
MQTT-C_Client0% | 0% | 0% | 0% | 100%
MutableStorageKVP0% | 0% | 0% | 0% | 100%
WebHookPublicAPIServicePrincipal0% | 0% | 0% | 0% | 100%
GetDeviceOsVersion0% | 0% | 0% | 0% | 100%
EncryptedStorage0% | 0% | 0% | 0% | 100%
scripts0% | 0% | 0% | 0% | 100%
AzureFunctionApp_AzureSpherePublicAPI0% | 0% | 0% | 0% | 100%
NativeBlink0% | 0% | 0% | 0% | 100%
ServiceAPIDeviceCodeAuth0% | 0% | 0% | 0% | 100%
PWMAudio0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
527 96 1
153 41 1
135 39 5
135 39 5
135 39 5
135 39 5
135 39 5
131 38 2
131 38 2
131 38 2
131 38 2
136 38 5
131 38 2
97 33 4
85 29 5
79 28 3
87 27 6
88 27 5
101 26 2
54 25 2
123 25 1
122 25 5
99 25 6
103 24 2
97 24 6
62 23 2
96 23 2
155 23 5
105 22 1
98 22 4
90 21 5
76 21 1
86 21 4
54 21 1
138 21 3
63 20 2
23 20 4
63 20 2
63 20 2
63 20 2
63 20 2
43 19 2
63 19 3
58 19 3
66 19 1
101 19 1
56 18 6
131 18 6
109 18 3
81 18 2