Skip to content

(改) 更改 Qodana 版本 #2

(改) 更改 Qodana 版本

(改) 更改 Qodana 版本 #2

Triggered via push December 11, 2023 04:32
Status Success
Total duration 1m 54s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 warnings and 10 notices
Async function without await expression: Carbonyl/Class/Commands/RunCommands/RunCommand.cs#L10
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
Async function without await expression: Carbonyl/Class/Commands/RootCommands/RootCommand.cs#L11
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
Async function without await expression: Carbonyl/Class/Commands/HelpCommands/HelpCommand.cs#L11
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
Redundant using directive: Carbonyl/Class/Workflows/Preprocess/Tokenizer.cs#L1
Using directive is not required by the code and can be safely removed
Redundant using directive: Carbonyl/Class/CommandHandler/CommandRunner.cs#L1
Using directive is not required by the code and can be safely removed
Redundant using directive: Carbonyl/Class/Commands/HelpCommands/HelpCommand.cs#L2
Using directive is not required by the code and can be safely removed
Redundant using directive: Carbonyl/Class/Workflows/Preprocess/CommentRemover.cs#L1
Using directive is not required by the code and can be safely removed
Redundant using directive: Carbonyl/Class/GlobalVars.cs#L1
Using directive is not required by the code and can be safely removed
Redundant using directive: Example/Program.cs#L1
Using directive is not required by the code and can be safely removed
Redundant using directive: Carbonyl/Class/Workflows/FileInput/FileInputHandle.cs#L1
Using directive is not required by the code and can be safely removed
Invert 'if' statement to reduce nesting: Example/Program.cs#L407
Invert 'if' statement to reduce nesting
Member can be made private (non-private accessibility): Example/Program.cs#L253
Constant 'TokeniseExampleCode' can be made private
Member can be made private (non-private accessibility): Example/Program.cs#L368
Method 'RemoveComments' can be made private
Member can be made private (non-private accessibility): Example/Program.cs#L185
Constant 'SymbolPairsCheckExampleCorrectCode' can be made private
Member can be made private (non-private accessibility): Example/Program.cs#L7
Constant 'CarbonExampleCode' can be made private
Member can be made private (non-private accessibility): Example/Program.cs#L393
Method 'ExtractCPreprocessorDirectives' can be made private