Skip to content

[ADD] Resolving External Xmi #68

[ADD] Resolving External Xmi

[ADD] Resolving External Xmi #68

Triggered via pull request October 28, 2024 15:57
Status Success
Total duration 1m 37s
Artifacts

CodeQuality.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Build: uml4net.xmireader/Cache/Assembler.cs#L141
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Build: uml4net.xmireader/Readers/CommonStructure/PackageImportReader.cs#L75
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
Build: uml4net.xmireader/Readers/XmiReader.cs#L161
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
Build: uml4net.xmireader/XmiReaderScope.cs#L45
Fix this implementation of 'IDisposable' to conform to the dispose pattern. (https://rules.sonarsource.com/csharp/RSPEC-3881)
Build: uml4net.xmireader/Readers/XmiReader.cs#L37
Fix this implementation of 'IDisposable' to conform to the dispose pattern. (https://rules.sonarsource.com/csharp/RSPEC-3881)
Build: uml4net.xmireader/Readers/Classification/PropertyReader.cs#L80
Refactor this method to reduce its Cognitive Complexity from 66 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build: uml4net.xmireader/Cache/Assembler.cs#L104
'System.NullReferenceException' should not be thrown by user code. (https://rules.sonarsource.com/csharp/RSPEC-112)
Build: uml4net.xmireader/Cache/ExternalReferenceResolver.cs#L137
Extract this nested ternary operation into an independent statement. (https://rules.sonarsource.com/csharp/RSPEC-3358)
Build: uml4net.xmireader/Cache/Assembler.cs#L166
Use the 'IsInstanceOfType()' method instead. (https://rules.sonarsource.com/csharp/RSPEC-2219)
Build: uml4net.xmi.Tests/SysML2.XmiReaderTestFixture.cs#L44
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.