id: 1 unit: fn send() file: src/sync/mpsc.rs start line: 134 end line: 233 size: 86 LOC McCabe index: 18 number of parameters: 2 id: 2 unit: fn step() file: src/runtime/execution.rs start line: 82 end line: 169 size: 74 LOC McCabe index: 8 number of parameters: 2 id: 3 unit: fn recv() file: src/sync/mpsc.rs start line: 235 end line: 347 size: 69 LOC McCabe index: 17 number of parameters: 1 id: 4 unit: fn lock() file: src/sync/rwlock.rs start line: 128 end line: 210 size: 68 LOC McCabe index: 4 number of parameters: 2 id: 5 unit: fn call_once_inner() file: src/sync/once.rs start line: 89 end line: 141 size: 42 LOC McCabe index: 5 number of parameters: 3 id: 6 unit: fn schedule() file: src/runtime/execution.rs start line: 494 end line: 549 size: 41 LOC McCabe index: 9 number of parameters: 1 id: 7 unit: fn vector_clock() file: src/runtime/task/clock.rs start line: 88 end line: 131 size: 37 LOC McCabe index: 3 number of parameters: 0 id: 8 unit: fn spawn_named() file: src/thread.rs start line: 54 end line: 103 size: 35 LOC McCabe index: 5 number of parameters: 3 id: 9 unit: fn reusable_continuation_drop() file: src/runtime/thread/continuation.rs start line: 273 end line: 313 size: 32 LOC McCabe index: 3 number of parameters: 0 id: 10 unit: fn drop() file: src/sync/rwlock.rs start line: 302 end line: 338 size: 30 LOC McCabe index: 3 number of parameters: 1 id: 11 unit: fn drop() file: src/sync/mutex.rs start line: 153 end line: 188 size: 25 LOC McCabe index: 3 number of parameters: 1 id: 12 unit: fn maybe_warn_about_ordering() file: src/sync/atomic/mod.rs start line: 71 end line: 98 size: 25 LOC McCabe index: 7 number of parameters: 1 id: 13 unit: fn next_task() file: src/scheduler/dfs.rs start line: 69 end line: 98 size: 25 LOC McCabe index: 3 number of parameters: 4 id: 14 unit: fn drop() file: src/sync/rwlock.rs start line: 375 end line: 407 size: 24 LOC McCabe index: 2 number of parameters: 1 id: 15 unit: fn next_task() file: src/scheduler/replay.rs start line: 67 end line: 90 size: 24 LOC McCabe index: 3 number of parameters: 4 id: 16 unit: fn new() file: src/sync/mpsc.rs start line: 111 end line: 132 size: 22 LOC McCabe index: 3 number of parameters: 1 id: 17 unit: fn persist_failure_to_file() file: src/runtime/failure.rs start line: 82 end line: 107 size: 22 LOC McCabe index: 4 number of parameters: 2 id: 18 unit: fn new() file: src/runtime/task/mod.rs start line: 64 end line: 85 size: 22 LOC McCabe index: 1 number of parameters: 5 id: 19 unit: fn next_task() file: src/scheduler/pct.rs start line: 92 end line: 128 size: 21 LOC McCabe index: 6 number of parameters: 4 id: 20 unit: fn unblock_waiters() file: src/sync/rwlock.rs start line: 227 end line: 248 size: 20 LOC McCabe index: 5 number of parameters: 3 id: 21 unit: fn cleanup() file: src/runtime/execution.rs start line: 321 end line: 345 size: 20 LOC McCabe index: 6 number of parameters: 0 id: 22 unit: fn counter_async() file: benches/counter.rs start line: 11 end line: 31 size: 19 LOC McCabe index: 3 number of parameters: 1 id: 23 unit: fn fetch_update() file: src/sync/atomic/mod.rs start line: 186 end line: 207 size: 19 LOC McCabe index: 2 number of parameters: 4 id: 24 unit: fn counter_sync() file: benches/counter.rs start line: 34 end line: 52 size: 17 LOC McCabe index: 4 number of parameters: 1 id: 25 unit: fn new() file: src/runtime/execution.rs start line: 225 end line: 241 size: 17 LOC McCabe index: 1 number of parameters: 3 id: 26 unit: fn next_task() file: src/scheduler/metrics.rs start line: 86 end line: 104 size: 17 LOC McCabe index: 3 number of parameters: 4 id: 27 unit: fn new_execution() file: src/scheduler/pct.rs start line: 60 end line: 90 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 28 unit: fn persist_failure_inner() file: src/runtime/failure.rs start line: 61 end line: 78 size: 16 LOC McCabe index: 3 number of parameters: 3 id: 29 unit: fn get() file: src/thread.rs start line: 271 end line: 290 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 30 unit: fn drop() file: src/scheduler/metrics.rs start line: 114 end line: 130 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 31 unit: fn drop() file: src/sync/mpsc.rs start line: 379 end line: 392 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 32 unit: fn drop() file: src/sync/mpsc.rs start line: 422 end line: 435 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 33 unit: fn drop() file: src/sync/mpsc.rs start line: 470 end line: 483 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 34 unit: fn new_execution() file: src/scheduler/metrics.rs start line: 69 end line: 84 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 35 unit: fn fmt() file: src/sync/mpsc.rs start line: 96 end line: 107 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 36 unit: fn block_waiters() file: src/sync/rwlock.rs start line: 212 end line: 225 size: 12 LOC McCabe index: 4 number of parameters: 3 id: 37 unit: fn next_task() file: src/runtime/runner.rs start line: 194 end line: 205 size: 12 LOC McCabe index: 2 number of parameters: 4 id: 38 unit: fn advance_to_next_task() file: src/runtime/execution.rs start line: 552 end line: 569 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 39 unit: fn next_task() file: src/scheduler/round_robin.rs start line: 34 end line: 46 size: 12 LOC McCabe index: 3 number of parameters: 4 id: 40 unit: fn acquire_inner() file: src/runtime/thread/continuation.rs start line: 188 end line: 201 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 41 unit: fn next_u64() file: src/scheduler/replay.rs start line: 92 end line: 102 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 42 unit: fn new_execution() file: src/scheduler/dfs.rs start line: 51 end line: 65 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 43 unit: fn new_execution() file: src/scheduler/mod.rs start line: 87 end line: 110 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 44 unit: fn serialization_roundtrip_basic() file: src/scheduler/serialization.rs start line: 115 end line: 124 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 45 unit: fn record_and_reset_metrics() file: src/scheduler/metrics.rs start line: 54 end line: 65 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 46 unit: fn record() file: src/scheduler/metrics.rs start line: 153 end line: 162 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 47 unit: fn swap() file: src/sync/atomic/mod.rs start line: 174 end line: 184 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 48 unit: fn unify() file: src/runtime/task/clock.rs start line: 58 end line: 67 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 49 unit: fn partial_cmp() file: src/runtime/task/clock.rs start line: 71 end line: 80 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 50 unit: fn clone() file: src/sync/mpsc.rs start line: 411 end line: 418 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 51 unit: fn clone() file: src/sync/mpsc.rs start line: 459 end line: 466 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 52 unit: fn load() file: src/sync/atomic/mod.rs start line: 155 end line: 163 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 53 unit: fn inhale_clock() file: src/sync/atomic/mod.rs start line: 219 end line: 226 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 54 unit: fn resume_with_input() file: src/runtime/thread/continuation.rs start line: 131 end line: 138 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 55 unit: fn drop() file: src/asynch.rs start line: 55 end line: 62 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 56 unit: fn next_task() file: src/scheduler/mod.rs start line: 115 end line: 122 size: 8 LOC McCabe index: 1 number of parameters: 4 id: 57 unit: fn new_execution() file: src/scheduler/replay.rs start line: 58 end line: 65 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 58 unit: fn schedule_strategy() file: src/scheduler/serialization.rs start line: 99 end line: 106 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 59 unit: fn new() file: src/scheduler/metrics.rs start line: 144 end line: 151 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 60 unit: fn fmt() file: src/scheduler/metrics.rs start line: 166 end line: 173 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 61 unit: fn new_execution() file: src/scheduler/random.rs start line: 45 end line: 52 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 62 unit: fn new_execution() file: src/scheduler/round_robin.rs start line: 25 end line: 32 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 63 unit: fn store() file: src/sync/atomic/mod.rs start line: 165 end line: 172 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 64 unit: fn exhale_clock() file: src/sync/atomic/mod.rs start line: 230 end line: 236 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 65 unit: fn new_execution() file: src/runtime/runner.rs start line: 186 end line: 192 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 66 unit: fn fmt() file: src/runtime/task/mod.rs start line: 323 end line: 329 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 67 unit: fn fmt() file: src/sync/once.rs start line: 28 end line: 33 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 68 unit: fn id() file: src/runtime/execution.rs start line: 212 end line: 217 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 69 unit: fn drop() file: src/runtime/thread/continuation.rs start line: 150 end line: 160 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 70 unit: fn drop() file: src/runtime/thread/continuation.rs start line: 228 end line: 233 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 71 unit: fn new_from_seed() file: src/scheduler/data/fixed.rs start line: 13 end line: 18 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 72 unit: fn new_from_seed() file: src/scheduler/data/random.rs start line: 14 end line: 19 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 73 unit: fn next_u64() file: src/scheduler/dfs.rs start line: 100 end line: 105 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 74 unit: fn drop() file: src/runtime/thread/continuation.rs start line: 205 end line: 217 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 75 unit: fn check_roundtrip() file: src/scheduler/serialization.rs start line: 108 end line: 112 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 76 unit: fn next_u64() file: src/scheduler/metrics.rs start line: 106 end line: 110 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 77 unit: fn reinitialize() file: src/scheduler/data/random.rs start line: 29 end line: 34 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 78 unit: fn get_mut() file: src/sync/atomic/mod.rs start line: 145 end line: 148 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 79 unit: fn into_inner() file: src/sync/atomic/mod.rs start line: 150 end line: 153 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 80 unit: fn try_fill_bytes() file: src/rand.rs start line: 38 end line: 41 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 81 unit: fn reinitialize() file: src/scheduler/data/fixed.rs start line: 28 end line: 31 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 82 unit: fn new() file: src/sync/mpsc.rs start line: 78 end line: 80 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 83 unit: fn default() file: src/sync/mutex.rs start line: 134 end line: 136 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 84 unit: fn fmt() file: src/sync/mutex.rs start line: 140 end line: 142 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 85 unit: fn deref() file: src/sync/mutex.rs start line: 194 end line: 196 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 86 unit: fn deref_mut() file: src/sync/mutex.rs start line: 200 end line: 202 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 87 unit: fn fmt() file: src/sync/mutex.rs start line: 206 end line: 208 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 88 unit: fn default() file: src/sync/rwlock.rs start line: 263 end line: 265 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 89 unit: fn fmt() file: src/sync/rwlock.rs start line: 269 end line: 271 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 90 unit: fn deref() file: src/sync/rwlock.rs start line: 284 end line: 286 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 91 unit: fn fmt() file: src/sync/rwlock.rs start line: 290 end line: 292 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 92 unit: fn fmt() file: src/sync/rwlock.rs start line: 296 end line: 298 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 93 unit: fn deref() file: src/sync/rwlock.rs start line: 351 end line: 353 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 94 unit: fn deref_mut() file: src/sync/rwlock.rs start line: 357 end line: 359 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 95 unit: fn fmt() file: src/sync/rwlock.rs start line: 363 end line: 365 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 96 unit: fn fmt() file: src/sync/rwlock.rs start line: 369 end line: 371 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 97 unit: fn default() file: src/sync/condvar.rs start line: 292 end line: 294 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 98 unit: fn get_state Option>() file: src/sync/once.rs start line: 143 end line: 145 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 99 unit: fn init_state() file: src/sync/once.rs start line: 147 end line: 149 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 100 unit: fn from() file: src/sync/once.rs start line: 167 end line: 169 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 101 unit: fn init_clock() file: src/sync/atomic/mod.rs start line: 213 end line: 215 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 102 unit: fn default() file: src/sync/atomic/bool.rs start line: 10 end line: 12 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 103 unit: fn from() file: src/sync/atomic/bool.rs start line: 16 end line: 18 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 104 unit: fn fmt() file: src/sync/atomic/bool.rs start line: 22 end line: 24 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 105 unit: fn default() file: src/sync/atomic/ptr.rs start line: 10 end line: 12 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 106 unit: fn from() file: src/sync/atomic/ptr.rs start line: 16 end line: 18 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 107 unit: fn fmt() file: src/sync/atomic/ptr.rs start line: 22 end line: 24 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 108 unit: fn default() file: src/sync/atomic/int.rs start line: 12 end line: 14 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 109 unit: fn from() file: src/sync/atomic/int.rs start line: 18 end line: 20 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 110 unit: fn fmt() file: src/sync/atomic/int.rs start line: 24 end line: 26 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 111 unit: fn drop() file: src/runtime/failure.rs start line: 126 end line: 128 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 112 unit: fn next_u64() file: src/runtime/runner.rs start line: 207 end line: 209 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 113 unit: fn take() file: src/runtime/execution.rs start line: 219 end line: 221 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 114 unit: fn reusable() file: src/runtime/thread/continuation.rs start line: 144 end line: 146 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 115 unit: fn deref() file: src/runtime/thread/continuation.rs start line: 239 end line: 241 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 116 unit: fn deref_mut() file: src/runtime/thread/continuation.rs start line: 245 end line: 247 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 117 unit: fn fmt() file: src/runtime/thread/continuation.rs start line: 251 end line: 253 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 118 unit: fn from() file: src/runtime/task/mod.rs start line: 268 end line: 270 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 119 unit: fn from() file: src/runtime/task/mod.rs start line: 274 end line: 276 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 120 unit: fn deref() file: src/runtime/task/clock.rs start line: 53 end line: 55 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 121 unit: fn next_u32() file: src/rand.rs start line: 25 end line: 27 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 122 unit: fn next_u64() file: src/rand.rs start line: 30 end line: 32 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 123 unit: fn fill_bytes() file: src/rand.rs start line: 34 end line: 36 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 124 unit: fn from() file: src/thread.rs start line: 17 end line: 19 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 125 unit: fn fmt() file: src/thread.rs start line: 230 end line: 232 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 126 unit: fn default() file: src/lib.rs start line: 234 end line: 236 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 127 unit: fn new_execution() file: src/scheduler/mod.rs start line: 111 end line: 113 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 128 unit: fn next_u64() file: src/scheduler/mod.rs start line: 124 end line: 126 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 129 unit: fn serialization_roundtrip_proptest() file: src/scheduler/serialization.rs start line: 128 end line: 130 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 130 unit: fn next_task() file: src/scheduler/random.rs start line: 54 end line: 56 size: 3 LOC McCabe index: 1 number of parameters: 4 id: 131 unit: fn next_u64() file: src/scheduler/random.rs start line: 58 end line: 60 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 132 unit: fn next_u64() file: src/scheduler/pct.rs start line: 130 end line: 132 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 133 unit: fn initialize() file: src/scheduler/data/fixed.rs start line: 24 end line: 26 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 134 unit: fn next_u64() file: src/scheduler/data/fixed.rs start line: 33 end line: 35 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 135 unit: fn initialize() file: src/scheduler/data/random.rs start line: 25 end line: 27 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 136 unit: fn next_u64() file: src/scheduler/data/random.rs start line: 36 end line: 38 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 137 unit: fn next_u64() file: src/scheduler/round_robin.rs start line: 48 end line: 50 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 138 unit: fn default() file: src/scheduler/round_robin.rs start line: 54 end line: 56 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 139 unit: fn has_more_choices() file: src/scheduler/dfs.rs start line: 45 end line: 47 size: 3 LOC McCabe index: 1 number of parameters: 2