id: 1 unit: public int InstallKernelSpec() file: src/KernelApplication.cs start line: 387 end line: 540 size: 136 LOC McCabe index: 12 number of parameters: 8 id: 2 unit: public KernelApplication AddInstallCommand() file: src/KernelApplication.cs start line: 153 end line: 244 size: 91 LOC McCabe index: 8 number of parameters: 1 id: 3 unit: protected async virtual Task ExecutionTaskForMessage() file: src/Engines/ExecuteRequestHandler.cs start line: 55 end line: 159 size: 88 LOC McCabe index: 4 number of parameters: 3 id: 4 unit: public virtual void OnKernelInfoRequest() file: src/Servers/ShellServer.cs start line: 164 end line: 225 size: 54 LOC McCabe index: 2 number of parameters: 1 id: 5 unit: public async Task HandleAsync() file: src/Engines/CompleteRequestHandler.cs start line: 41 end line: 97 size: 51 LOC McCabe index: 5 number of parameters: 1 id: 6 unit: public virtual async Task Complete() file: src/Engines/BaseEngine.cs start line: 667 end line: 744 size: 47 LOC McCabe index: 8 number of parameters: 2 id: 7 unit: public static Message ReceiveMessage() file: src/Extensions/Messages.cs start line: 25 end line: 103 size: 47 LOC McCabe index: 3 number of parameters: 3 id: 8 unit: public EncodedData? Encode() file: src/ResultEncoding/Table.cs start line: 156 end line: 201 size: 41 LOC McCabe index: 6 number of parameters: 1 id: 9 unit: public override async Task HandleAsync() file: src/Engines/ExecuteRequestHandler.cs start line: 210 end line: 252 size: 40 LOC McCabe index: 5 number of parameters: 3 id: 10 unit: public KernelApplication AddKernelCommand() file: src/KernelApplication.cs start line: 254 end line: 294 size: 36 LOC McCabe index: 3 number of parameters: 1 id: 11 unit: public EncodedData? Encode() file: src/ResultEncoding/Table.cs start line: 111 end line: 147 size: 36 LOC McCabe index: 2 number of parameters: 1 id: 12 unit: public virtual ServiceProvider InitServiceProvider() file: src/KernelApplication.cs start line: 608 end line: 659 size: 35 LOC McCabe index: 1 number of parameters: 1 id: 13 unit: protected async Task SendAbortMessage() file: src/Engines/ExecuteRequestHandler.cs start line: 161 end line: 197 size: 33 LOC McCabe index: 1 number of parameters: 1 id: 14 unit: internal MimeBundle EncodeForDisplay() file: src/Engines/BaseEngine.cs start line: 357 end line: 393 size: 32 LOC McCabe index: 6 number of parameters: 1 id: 15 unit: public CommandType GetNextCommand() file: src/Engines/InputParser.cs start line: 29 end line: 70 size: 30 LOC McCabe index: 10 number of parameters: 4 id: 16 unit: public virtual Task HandleAsync() file: src/ShellRouting/OrderedShellHandler.cs start line: 26 end line: 57 size: 30 LOC McCabe index: 3 number of parameters: 3 id: 17 unit: public async Task ExecuteAndNotify() file: src/Engines/BaseEngine.cs start line: 864 end line: 897 size: 29 LOC McCabe index: 1 number of parameters: 5 id: 18 unit: private void WriteDisplayData() file: src/Engines/BaseEngine.cs start line: 425 end line: 454 size: 28 LOC McCabe index: 3 number of parameters: 4 id: 19 unit: public virtual Task ExecuteMundane() file: src/Engines/BaseEngine.cs start line: 823 end line: 859 size: 28 LOC McCabe index: 1 number of parameters: 3 id: 20 unit: public virtual IServiceCollection InitServiceCollection() file: src/KernelApplication.cs start line: 564 end line: 602 size: 28 LOC McCabe index: 1 number of parameters: 2 id: 21 unit: private void EventLoop() file: src/Servers/ShellServer.cs start line: 120 end line: 155 size: 28 LOC McCabe index: 5 number of parameters: 1 id: 22 unit: private void EventLoop() file: src/Servers/HeartbeatServer.cs start line: 49 end line: 78 size: 27 LOC McCabe index: 5 number of parameters: 0 id: 23 unit: public void RegisterFallback() file: src/ShellRouting/ShellRouter.cs start line: 64 end line: 92 size: 26 LOC McCabe index: 4 number of parameters: 1 id: 24 unit: public virtual void OnInterruptRequest() file: src/Engines/BaseEngine.cs start line: 492 end line: 516 size: 25 LOC McCabe index: 2 number of parameters: 1 id: 25 unit: public MagicCommandResolver() file: src/Symbols/Magic.cs start line: 114 end line: 139 size: 25 LOC McCabe index: 1 number of parameters: 1 id: 26 unit: private void WriteToStream() file: src/Engines/BaseEngine.cs start line: 399 end line: 423 size: 24 LOC McCabe index: 2 number of parameters: 3 id: 27 unit: internal static CompletionResult AsCompletionResult() file: src/Extensions/Extensions.cs start line: 60 end line: 86 size: 24 LOC McCabe index: 2 number of parameters: 3 id: 28 unit: public async Task SendMessage() file: src/ShellRouting/CommsRouter.cs start line: 50 end line: 74 size: 24 LOC McCabe index: 2 number of parameters: 1 id: 29 unit: private bool StartsWithMagic() file: src/Engines/InputParser.cs start line: 72 end line: 96 size: 22 LOC McCabe index: 4 number of parameters: 3 id: 30 unit: private ISymbol SymbolForMethod() file: src/Symbols/Magic.cs start line: 141 end line: 162 size: 22 LOC McCabe index: 3 number of parameters: 2 id: 31 unit: public BaseEngine() file: src/Engines/BaseEngine.cs start line: 224 end line: 248 size: 21 LOC McCabe index: 2 number of parameters: 5 id: 32 unit: public virtual async Task ExecuteMagic() file: src/Engines/BaseEngine.cs start line: 762 end line: 787 size: 21 LOC McCabe index: 4 number of parameters: 3 id: 33 unit: public static void SendMessage() file: src/Extensions/Messages.cs start line: 105 end line: 135 size: 20 LOC McCabe index: 1 number of parameters: 3 id: 34 unit: public void Start() file: src/Servers/ShellServer.cs start line: 75 end line: 95 size: 20 LOC McCabe index: 1 number of parameters: 0 id: 35 unit: public async Task Close() file: src/ShellRouting/CommsRouter.cs start line: 90 end line: 113 size: 20 LOC McCabe index: 2 number of parameters: 0 id: 36 unit: public async Task OpenSession() file: src/ShellRouting/CommsRouter.cs start line: 227 end line: 248 size: 20 LOC McCabe index: 2 number of parameters: 2 id: 37 unit: public void RegisterDisplayEncoder() file: src/Engines/BaseEngine.cs start line: 307 end line: 355 size: 18 LOC McCabe index: 1 number of parameters: 2 id: 38 unit: public void SendShellMessage() file: src/Servers/ShellServer.cs start line: 97 end line: 118 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 39 unit: public KernelApplication() file: src/KernelApplication.cs start line: 75 end line: 92 size: 17 LOC McCabe index: 1 number of parameters: 2 id: 40 unit: public EncodedData? Encode() file: src/ResultEncoding/BasicEncoders.cs start line: 74 end line: 91 size: 17 LOC McCabe index: 4 number of parameters: 1 id: 41 unit: public ShellRouter() file: src/ShellRouting/ShellRouter.cs start line: 29 end line: 47 size: 17 LOC McCabe index: 3 number of parameters: 2 id: 42 unit: public async Task ExecuteVersion() file: src/Engines/BaseEngine.cs start line: 913 end line: 928 size: 16 LOC McCabe index: 1 number of parameters: 2 id: 43 unit: internal static void NotifyBusyStatus() file: src/Extensions/Extensions.cs start line: 42 end line: 58 size: 16 LOC McCabe index: 1 number of parameters: 3 id: 44 unit: public KernelApplication WithDefaultCommands() file: src/KernelApplication.cs start line: 102 end line: 132 size: 16 LOC McCabe index: 3 number of parameters: 0 id: 45 unit: public override IPAddress ReadJson() file: src/Data/Serialization.cs start line: 14 end line: 28 size: 15 LOC McCabe index: 3 number of parameters: 5 id: 46 unit: public EncodedData? Encode() file: src/ResultEncoding/BasicEncoders.cs start line: 53 end line: 68 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 47 unit: public ShellServer() file: src/Servers/ShellServer.cs start line: 58 end line: 73 size: 15 LOC McCabe index: 1 number of parameters: 4 id: 48 unit: public virtual async Task ExecuteHelp() file: src/Engines/BaseEngine.cs start line: 746 end line: 760 size: 14 LOC McCabe index: 2 number of parameters: 3 id: 49 unit: public static bool TryAs() file: src/Extensions/Extensions.cs start line: 27 end line: 40 size: 14 LOC McCabe index: 2 number of parameters: 2 id: 50 unit: public EncodedData? Encode() file: src/ResultEncoding/BasicEncoders.cs start line: 26 end line: 40 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 51 unit: public EncodedData? Encode() file: src/ResultEncoding/SymbolEncoder.cs start line: 49 end line: 64 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 52 unit: public int ReturnExitCode() file: src/KernelApplication.cs start line: 321 end line: 333 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 53 unit: protected virtual void Dispose() file: src/Servers/ShellServer.cs start line: 242 end line: 254 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 54 unit: internal async Task Handle() file: src/ShellRouting/CommsRouter.cs start line: 122 end line: 145 size: 13 LOC McCabe index: 1 number of parameters: 2 id: 55 unit: public ICommSessionOpen SessionOpenEvent() file: src/ShellRouting/CommsRouter.cs start line: 267 end line: 279 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 56 unit: public MagicCommandAttribute() file: src/Symbols/Magic.cs start line: 39 end line: 51 size: 13 LOC McCabe index: 1 number of parameters: 3 id: 57 unit: public ExecuteRequestHandler() file: src/Engines/ExecuteRequestHandler.cs start line: 41 end line: 51 size: 11 LOC McCabe index: 2 number of parameters: 4 id: 58 unit: public static string ToMarkdownHtml() file: src/ResultEncoding/SymbolEncoder.cs start line: 25 end line: 37 size: 11 LOC McCabe index: 4 number of parameters: 2 id: 59 unit: protected virtual void Dispose() file: src/Servers/HeartbeatServer.cs start line: 83 end line: 93 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 60 unit: public LanguageInfo AsLanguageInfo() file: src/Data/Metadata.cs start line: 162 end line: 171 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 61 unit: internal KernelInfoReplyContent AsKernelInfoReply() file: src/Data/Metadata.cs start line: 173 end line: 182 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 62 unit: public ISymbol? Resolve() file: src/Engines/BaseEngine.cs start line: 275 end line: 284 size: 10 LOC McCabe index: 4 number of parameters: 1 id: 63 unit: public virtual void Start() file: src/Engines/BaseEngine.cs start line: 469 end line: 479 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 64 unit: public CompleteRequestHandler() file: src/Engines/CompleteRequestHandler.cs start line: 28 end line: 37 size: 10 LOC McCabe index: 2 number of parameters: 3 id: 65 unit: public IUpdatableDisplay DisplayUpdatable() file: src/Engines/BaseEngine.cs start line: 79 end line: 87 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 66 unit: public void RegisterDisplayEncoder() file: src/Engines/BaseEngine.cs start line: 297 end line: 305 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 67 unit: public static IServiceCollection AddKernelServers() file: src/Extensions/ServiceCollection.cs start line: 21 end line: 30 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 68 unit: public EncodedData? Encode() file: src/ResultEncoding/SymbolEncoder.cs start line: 12 end line: 20 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 69 unit: internal void RemoveSession() file: src/ShellRouting/CommsRouter.cs start line: 250 end line: 258 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 70 unit: public ISymbol Resolve() file: src/Symbols/Magic.cs start line: 165 end line: 173 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 71 unit: public void UpdateDisplay() file: src/Engines/BaseEngine.cs start line: 89 end line: 96 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 72 unit: public static IEnumerable AsEnumerable() file: src/Extensions/Collections.cs start line: 33 end line: 40 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 73 unit: public static Dictionary Update() file: src/Extensions/Collections.cs start line: 41 end line: 49 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 74 unit: public HeartbeatServer() file: src/Servers/HeartbeatServer.cs start line: 22 end line: 29 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 75 unit: public void Stop() file: src/Servers/HeartbeatServer.cs start line: 40 end line: 47 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 76 unit: public Task? Handle() file: src/ShellRouting/ShellRouter.cs start line: 49 end line: 56 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 77 unit: public Message WithSessionFrom() file: src/Data/Protocol.cs start line: 70 end line: 76 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 78 unit: public Message AsReplyTo() file: src/Data/Protocol.cs start line: 78 end line: 86 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 79 unit: public ExecutedEventArgs() file: src/Engines/BaseEngine.cs start line: 130 end line: 136 size: 7 LOC McCabe index: 1 number of parameters: 4 id: 80 unit: private int IncrementExecutionCount() file: src/Engines/ExecuteRequestHandler.cs start line: 199 end line: 205 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 81 unit: public static bool IsEqual() file: src/Extensions/Collections.cs start line: 25 end line: 31 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 82 unit: public static IEnumerable EnumerateInReverse() file: src/Extensions/Collections.cs start line: 57 end line: 63 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 83 unit: public THandler RegisterHandler() file: src/ShellRouting/IShellRouter.cs start line: 49 end line: 55 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 84 unit: public IEnumerable MaybeResolvePrefix() file: src/Symbols/Magic.cs start line: 176 end line: 182 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 85 unit: public void LoadConnectionFile() file: src/Data/KernelContext.cs start line: 34 end line: 39 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 86 unit: public MessageHeader() file: src/Data/Protocol.cs start line: 25 end line: 30 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 87 unit: public ExecutionChannel() file: src/Engines/BaseEngine.cs start line: 56 end line: 61 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 88 unit: public static EncodedData ToEncodedData() file: src/Extensions/Conversions.cs start line: 41 end line: 46 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 89 unit: public static ExecutionResult ToExecutionResult() file: src/Extensions/Conversions.cs start line: 57 end line: 62 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 90 unit: public static ExecutionResult ToExecutionResult() file: src/Extensions/Conversions.cs start line: 75 end line: 80 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 91 unit: public KernelApplication ConfigureLogging() file: src/KernelApplication.cs start line: 304 end line: 309 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 92 unit: public virtual int Run() file: src/KernelApplication.cs start line: 549 end line: 555 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 93 unit: public JsonResultEncoder() file: src/ResultEncoding/BasicEncoders.cs start line: 19 end line: 24 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 94 unit: public static MimeBundle Empty() file: src/ResultEncoding/DisplayData.cs start line: 34 end line: 39 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 95 unit: public static string ToStyleAttribute() file: src/ResultEncoding/Table.cs start line: 46 end line: 51 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 96 unit: public static string PadCell() file: src/ResultEncoding/Table.cs start line: 66 end line: 71 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 97 unit: public void Start() file: src/Servers/HeartbeatServer.cs start line: 31 end line: 36 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 98 unit: internal CommSession() file: src/ShellRouting/CommsRouter.cs start line: 42 end line: 47 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 99 unit: internal async Task HandleClose() file: src/ShellRouting/CommsRouter.cs start line: 76 end line: 81 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 100 unit: public KernelProperties WithAdditionalVersion() file: src/Data/Metadata.cs start line: 194 end line: 198 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 101 unit: public KernelProperties WithAdditionalVersion() file: src/Data/Metadata.cs start line: 212 end line: 216 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 102 unit: public UpdatableDisplay() file: src/Engines/BaseEngine.cs start line: 39 end line: 43 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 103 unit: public virtual bool IsMagic() file: src/Engines/BaseEngine.cs start line: 544 end line: 548 size: 5 LOC McCabe index: 2 number of parameters: 4 id: 104 unit: public virtual bool IsHelp() file: src/Engines/BaseEngine.cs start line: 576 end line: 580 size: 5 LOC McCabe index: 2 number of parameters: 4 id: 105 unit: public IUpdatableDisplay DisplayUpdatable() file: src/Engines/IChannel.cs start line: 78 end line: 82 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 106 unit: public static ChannelWithNewLines WithNewLines() file: src/Extensions/ChannelWithNewLines.cs start line: 26 end line: 36 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 107 unit: public static TValue GetValueOrDefault() file: src/Extensions/Collections.cs start line: 19 end line: 23 size: 5 LOC McCabe index: 2 number of parameters: 3 id: 108 unit: public static void Deconstruct() file: src/Extensions/Collections.cs start line: 51 end line: 55 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 109 unit: public KernelApplication WithKernelArguments() file: src/KernelApplication.cs start line: 139 end line: 143 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 110 unit: public EncodedData? Encode() file: src/ResultEncoding/BasicEncoders.cs start line: 46 end line: 51 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 111 unit: public FuncResultEncoder() file: src/ResultEncoding/BasicEncoders.cs start line: 101 end line: 105 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 112 unit: public EncodedData? Encode() file: src/ResultEncoding/BasicEncoders.cs start line: 110 end line: 114 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 113 unit: public virtual void OnShutdownRequest() file: src/Servers/ShellServer.cs start line: 227 end line: 233 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 114 unit: internal async Task HandleMessage() file: src/ShellRouting/CommsRouter.cs start line: 83 end line: 87 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 115 unit: internal Task SendMessage() file: src/ShellRouting/CommsRouter.cs start line: 260 end line: 264 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 116 unit: public void Update() file: src/Engines/BaseEngine.cs start line: 45 end line: 48 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 117 unit: public void Display() file: src/Engines/BaseEngine.cs start line: 66 end line: 69 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 118 unit: public void Stderr() file: src/Engines/BaseEngine.cs start line: 98 end line: 101 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 119 unit: public void Stdout() file: src/Engines/BaseEngine.cs start line: 103 end line: 106 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 120 unit: public void SendIoPubMessage() file: src/Engines/BaseEngine.cs start line: 108 end line: 111 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 121 unit: public void RegisterSymbolResolver() file: src/Engines/BaseEngine.cs start line: 257 end line: 260 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 122 unit: public async Task ExecuteHistory() file: src/Engines/BaseEngine.cs start line: 905 end line: 908 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 123 unit: public UpdatableDisplayFallback() file: src/Engines/IChannel.cs start line: 36 end line: 39 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 124 unit: public void Update() file: src/Engines/IChannel.cs start line: 41 end line: 44 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 125 unit: public InputParser() file: src/Engines/InputParser.cs start line: 24 end line: 27 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 126 unit: private void OnShutdownRequest() file: src/KernelApplication.cs start line: 661 end line: 664 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 127 unit: public void Dispose() file: src/Servers/HeartbeatServer.cs start line: 96 end line: 100 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 128 unit: public void Dispose() file: src/Servers/ShellServer.cs start line: 257 end line: 261 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 129 unit: public void RegisterHandler() file: src/ShellRouting/ShellRouter.cs start line: 58 end line: 61 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 130 unit: public CancellableMagicSymbol() file: src/Symbols/Magic.cs start line: 86 end line: 94 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 131 unit: internal HMAC NewHmac() file: src/Data/KernelContext.cs start line: 41 end line: 45 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 132 unit: public override async Task HandleAsync() file: src/Engines/ExecuteRequestHandler.cs start line: 207 end line: 208 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 133 unit: public FuncResultEncoder() file: src/ResultEncoding/BasicEncoders.cs start line: 107 end line: 108 size: 2 LOC McCabe index: 1 number of parameters: 2