refactor: DynamicTree and Distance APIs for performance and safety #330
Annotations
90 warnings
|
test-macos-latest-9:
src/Box2D.NET.Samples/Graphics/FontsV1.cs#L152
The variable 'pw' is assigned but its value is never used
|
|
test-macos-latest-9:
src/Box2D.NET.Samples/Graphics/FontsV1.cs#L65
The variable 'fileBufferCapacity' is assigned but its value is never used
|
|
test-macos-latest-9:
src/Box2D.NET.Samples/Samples/Characters/Mover.cs#L310
The variable 'noWalkSteer' is assigned but its value is never used
|
|
test-macos-latest-9:
src/Box2D.NET.Samples/Primitives/TaskScheduler.cs#L40
The variable 'loop' is assigned but its value is never used
|
|
test-macos-latest-9:
test/Box2D.NET.Test/B2Vec2Test.cs#L184
Comparison made to same variable; did you mean to compare something else?
|
|
test-macos-latest-9:
test/Box2D.NET.Test/B2Vec2Test.cs#L183
Comparison made to same variable; did you mean to compare something else?
|
|
test-macos-latest-9:
test/Box2D.NET.Test/B2DeterminismTest.cs#L59
The variable 'index' is assigned but its value is never used
|
|
test-macos-latest-9:
src/Box2D.NET/B2Distances.cs#L497
Comparing a span to 'null' might be redundant, the 'null' literal will be implicitly converted to a 'Span<T>.Empty' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2265)
|
|
test-macos-latest-9:
src/Box2D.NET/B2Solvers.cs#L60
Unreachable code detected
|
|
test-macos-latest-9:
src/Box2D.NET/B2Solvers.cs#L52
Unreachable code detected
|
|
test-macos-latest-10:
src/Box2D.NET.Samples/Graphics/FontsV1.cs#L153
The variable 'ph' is assigned but its value is never used
|
|
test-macos-latest-10:
src/Box2D.NET.Samples/Graphics/FontsV1.cs#L152
The variable 'pw' is assigned but its value is never used
|
|
test-macos-latest-10:
src/Box2D.NET.Samples/Graphics/FontsV1.cs#L65
The variable 'fileBufferCapacity' is assigned but its value is never used
|
|
test-macos-latest-10:
src/Box2D.NET.Samples/Primitives/TaskScheduler.cs#L40
The variable 'loop' is assigned but its value is never used
|
|
test-macos-latest-10:
test/Box2D.NET.Test/B2Vec2Test.cs#L184
Comparison made to same variable; did you mean to compare something else?
|
|
test-macos-latest-10:
test/Box2D.NET.Test/B2Vec2Test.cs#L183
Comparison made to same variable; did you mean to compare something else?
|
|
test-macos-latest-10:
test/Box2D.NET.Test/B2DeterminismTest.cs#L59
The variable 'index' is assigned but its value is never used
|
|
test-macos-latest-10:
src/Box2D.NET/B2Distances.cs#L497
Comparing a span to 'null' might be redundant, the 'null' literal will be implicitly converted to a 'Span<T>.Empty' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2265)
|
|
test-macos-latest-10:
src/Box2D.NET/B2Solvers.cs#L60
Unreachable code detected
|
|
test-macos-latest-10:
src/Box2D.NET/B2Solvers.cs#L52
Unreachable code detected
|
|
test-macos-latest-8:
src/Box2D.NET.Samples/Samples/Characters/Mover.cs#L310
The variable 'noWalkSteer' is assigned but its value is never used
|
|
test-macos-latest-8:
src/Box2D.NET.Samples/Primitives/TaskScheduler.cs#L40
The variable 'loop' is assigned but its value is never used
|
|
test-macos-latest-8:
src/Box2D.NET.Samples/Graphics/FontsV1.cs#L153
The variable 'ph' is assigned but its value is never used
|
|
test-macos-latest-8:
src/Box2D.NET.Samples/Graphics/FontsV1.cs#L152
The variable 'pw' is assigned but its value is never used
|
|
test-macos-latest-8:
src/Box2D.NET.Samples/Graphics/FontsV1.cs#L65
The variable 'fileBufferCapacity' is assigned but its value is never used
|
|
test-macos-latest-8:
test/Box2D.NET.Test/B2DeterminismTest.cs#L59
The variable 'index' is assigned but its value is never used
|
|
test-macos-latest-8:
test/Box2D.NET.Test/B2Vec2Test.cs#L184
Comparison made to same variable; did you mean to compare something else?
|
|
test-macos-latest-8:
test/Box2D.NET.Test/B2Vec2Test.cs#L183
Comparison made to same variable; did you mean to compare something else?
|
|
test-macos-latest-8:
src/Box2D.NET/B2Solvers.cs#L60
Unreachable code detected
|
|
test-macos-latest-8:
src/Box2D.NET/B2Solvers.cs#L52
Unreachable code detected
|
|
test-ubuntu-latest-10:
src/Box2D.NET.Samples/Primitives/TaskScheduler.cs#L40
The variable 'loop' is assigned but its value is never used
|
|
test-ubuntu-latest-10:
src/Box2D.NET.Samples/Graphics/FontsV1.cs#L153
The variable 'ph' is assigned but its value is never used
|
|
test-ubuntu-latest-10:
src/Box2D.NET.Samples/Graphics/FontsV1.cs#L152
The variable 'pw' is assigned but its value is never used
|
|
test-ubuntu-latest-10:
src/Box2D.NET.Samples/Graphics/FontsV1.cs#L65
The variable 'fileBufferCapacity' is assigned but its value is never used
|
|
test-ubuntu-latest-10:
test/Box2D.NET.Test/B2DeterminismTest.cs#L59
The variable 'index' is assigned but its value is never used
|
|
test-ubuntu-latest-10:
test/Box2D.NET.Test/B2Vec2Test.cs#L184
Comparison made to same variable; did you mean to compare something else?
|
|
test-ubuntu-latest-10:
test/Box2D.NET.Test/B2Vec2Test.cs#L183
Comparison made to same variable; did you mean to compare something else?
|
|
test-ubuntu-latest-10:
src/Box2D.NET/B2Distances.cs#L497
Comparing a span to 'null' might be redundant, the 'null' literal will be implicitly converted to a 'Span<T>.Empty' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2265)
|
|
test-ubuntu-latest-10:
src/Box2D.NET/B2Solvers.cs#L60
Unreachable code detected
|
|
test-ubuntu-latest-10:
src/Box2D.NET/B2Solvers.cs#L52
Unreachable code detected
|
|
test-ubuntu-latest-8:
src/Box2D.NET.Samples/Samples/Characters/Mover.cs#L310
The variable 'noWalkSteer' is assigned but its value is never used
|
|
test-ubuntu-latest-8:
src/Box2D.NET.Samples/Graphics/FontsV1.cs#L153
The variable 'ph' is assigned but its value is never used
|
|
test-ubuntu-latest-8:
src/Box2D.NET.Samples/Graphics/FontsV1.cs#L152
The variable 'pw' is assigned but its value is never used
|
|
test-ubuntu-latest-8:
src/Box2D.NET.Samples/Graphics/FontsV1.cs#L65
The variable 'fileBufferCapacity' is assigned but its value is never used
|
|
test-ubuntu-latest-8:
src/Box2D.NET.Samples/Primitives/TaskScheduler.cs#L40
The variable 'loop' is assigned but its value is never used
|
|
test-ubuntu-latest-8:
test/Box2D.NET.Test/B2Vec2Test.cs#L184
Comparison made to same variable; did you mean to compare something else?
|
|
test-ubuntu-latest-8:
test/Box2D.NET.Test/B2Vec2Test.cs#L183
Comparison made to same variable; did you mean to compare something else?
|
|
test-ubuntu-latest-8:
test/Box2D.NET.Test/B2DeterminismTest.cs#L59
The variable 'index' is assigned but its value is never used
|
|
test-ubuntu-latest-8:
src/Box2D.NET/B2Solvers.cs#L60
Unreachable code detected
|
|
test-ubuntu-latest-8:
src/Box2D.NET/B2Solvers.cs#L52
Unreachable code detected
|
|
test-ubuntu-latest-9:
src/Box2D.NET.Samples/Graphics/FontsV1.cs#L152
The variable 'pw' is assigned but its value is never used
|
|
test-ubuntu-latest-9:
src/Box2D.NET.Samples/Graphics/FontsV1.cs#L65
The variable 'fileBufferCapacity' is assigned but its value is never used
|
|
test-ubuntu-latest-9:
src/Box2D.NET.Samples/Samples/Characters/Mover.cs#L310
The variable 'noWalkSteer' is assigned but its value is never used
|
|
test-ubuntu-latest-9:
src/Box2D.NET.Samples/Primitives/TaskScheduler.cs#L40
The variable 'loop' is assigned but its value is never used
|
|
test-ubuntu-latest-9:
test/Box2D.NET.Test/B2DeterminismTest.cs#L59
The variable 'index' is assigned but its value is never used
|
|
test-ubuntu-latest-9:
test/Box2D.NET.Test/B2Vec2Test.cs#L184
Comparison made to same variable; did you mean to compare something else?
|
|
test-ubuntu-latest-9:
test/Box2D.NET.Test/B2Vec2Test.cs#L183
Comparison made to same variable; did you mean to compare something else?
|
|
test-ubuntu-latest-9:
src/Box2D.NET/B2Distances.cs#L497
Comparing a span to 'null' might be redundant, the 'null' literal will be implicitly converted to a 'Span<T>.Empty' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2265)
|
|
test-ubuntu-latest-9:
src/Box2D.NET/B2Solvers.cs#L60
Unreachable code detected
|
|
test-ubuntu-latest-9:
src/Box2D.NET/B2Solvers.cs#L52
Unreachable code detected
|
|
test-windows-latest-10:
src/Box2D.NET.Samples/Samples/Collisions/OverlapWorld.cs#L53
The field 'OverlapWorld.m_basePosition' is never used
|
|
test-windows-latest-10:
src/Box2D.NET.Samples/Samples/Characters/Mover.cs#L89
The field 'Mover.m_deltaY' is never used
|
|
test-windows-latest-10:
src/Box2D.NET.Samples/Samples/Characters/Mover.cs#L310
The variable 'noWalkSteer' is assigned but its value is never used
|
|
test-windows-latest-10:
src/Box2D.NET.Samples/Graphics/FontsV1.cs#L153
The variable 'ph' is assigned but its value is never used
|
|
test-windows-latest-10:
src/Box2D.NET.Samples/Graphics/FontsV1.cs#L152
The variable 'pw' is assigned but its value is never used
|
|
test-windows-latest-10:
src/Box2D.NET.Samples/Graphics/FontsV1.cs#L65
The variable 'fileBufferCapacity' is assigned but its value is never used
|
|
test-windows-latest-10:
src/Box2D.NET.Samples/Primitives/TaskScheduler.cs#L40
The variable 'loop' is assigned but its value is never used
|
|
test-windows-latest-10:
src/Box2D.NET/B2Distances.cs#L497
Comparing a span to 'null' might be redundant, the 'null' literal will be implicitly converted to a 'Span<T>.Empty' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2265)
|
|
test-windows-latest-10:
src/Box2D.NET/B2Solvers.cs#L60
Unreachable code detected
|
|
test-windows-latest-10:
src/Box2D.NET/B2Solvers.cs#L52
Unreachable code detected
|
|
test-windows-latest-9:
src/Box2D.NET.Samples/Samples/Joints/MotorJoint.cs#L35
Field 'MotorJoint._transform' is never assigned to, and will always have its default value
|
|
test-windows-latest-9:
src/Box2D.NET.Samples/Samples/Stackings/CapsuleStack.cs#L18
The field 'CapsuleStack.Event.indexA' is never used
|
|
test-windows-latest-9:
src/Box2D.NET.Samples/Samples/Characters/Mover.cs#L310
The variable 'noWalkSteer' is assigned but its value is never used
|
|
test-windows-latest-9:
src/Box2D.NET.Samples/Primitives/TaskScheduler.cs#L40
The variable 'loop' is assigned but its value is never used
|
|
test-windows-latest-9:
src/Box2D.NET.Samples/Graphics/FontsV1.cs#L153
The variable 'ph' is assigned but its value is never used
|
|
test-windows-latest-9:
src/Box2D.NET.Samples/Graphics/FontsV1.cs#L152
The variable 'pw' is assigned but its value is never used
|
|
test-windows-latest-9:
src/Box2D.NET.Samples/Graphics/FontsV1.cs#L65
The variable 'fileBufferCapacity' is assigned but its value is never used
|
|
test-windows-latest-9:
src/Box2D.NET/B2Distances.cs#L497
Comparing a span to 'null' might be redundant, the 'null' literal will be implicitly converted to a 'Span<T>.Empty' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2265)
|
|
test-windows-latest-9:
src/Box2D.NET/B2Solvers.cs#L60
Unreachable code detected
|
|
test-windows-latest-9:
src/Box2D.NET/B2Solvers.cs#L52
Unreachable code detected
|
|
test-windows-latest-8:
src/Box2D.NET.Samples/Samples/Benchmarks/BenchmarkCast.cs#L35
The field 'BenchmarkCast.m_updateType' is never used
|
|
test-windows-latest-8:
src/Box2D.NET.Samples/Samples/Stackings/CapsuleStack.cs#L18
The field 'CapsuleStack.Event.indexA' is never used
|
|
test-windows-latest-8:
src/Box2D.NET.Samples/Samples/Benchmarks/BenchmarkSleep.cs#L27
The field 'BenchmarkSleep.m_awake' is never used
|
|
test-windows-latest-8:
src/Box2D.NET.Samples/Samples/Characters/Mover.cs#L310
The variable 'noWalkSteer' is assigned but its value is never used
|
|
test-windows-latest-8:
src/Box2D.NET.Samples/Graphics/FontsV1.cs#L153
The variable 'ph' is assigned but its value is never used
|
|
test-windows-latest-8:
src/Box2D.NET.Samples/Graphics/FontsV1.cs#L152
The variable 'pw' is assigned but its value is never used
|
|
test-windows-latest-8:
src/Box2D.NET.Samples/Primitives/TaskScheduler.cs#L40
The variable 'loop' is assigned but its value is never used
|
|
test-windows-latest-8:
src/Box2D.NET.Samples/Graphics/FontsV1.cs#L65
The variable 'fileBufferCapacity' is assigned but its value is never used
|
|
test-windows-latest-8:
src/Box2D.NET/B2Solvers.cs#L60
Unreachable code detected
|
|
test-windows-latest-8:
src/Box2D.NET/B2Solvers.cs#L52
Unreachable code detected
|