Skip to content

chore: cleanup usings

a8cf53a
Select commit
Loading
Failed to load commit list.
Merged

feat: add ArchiveCommandHandler.Handle() tests & harden ArchiveCommandHandler #82

chore: cleanup usings
a8cf53a
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL succeeded Nov 12, 2025 in 2s

22 new alerts

New alerts in code changed by this pull request

  • 13 warnings
  • 9 notes

See annotations below for details.

View all branch alerts.

Annotations

Check warning on line 202 in src/Arius.Core.Tests/Features/Commands/Archive/ArchiveCommandHandlerHandleTests.cs

See this annotation in the file changed.

Code scanning / CodeQL

Useless assignment to local variable Warning test

This assignment to
emptyFile
is useless, since its value is never read.

Check warning on line 309 in src/Arius.Core.Tests/Features/Commands/Archive/ArchiveCommandHandlerHandleTests.cs

See this annotation in the file changed.

Code scanning / CodeQL

Useless assignment to local variable Warning test

This assignment to
storageBuilder
is useless, since its value is never read.

Check warning on line 349 in src/Arius.Core.Tests/Features/Commands/Archive/ArchiveCommandHandlerHandleTests.cs

See this annotation in the file changed.

Code scanning / CodeQL

Useless assignment to local variable Warning test

This assignment to
command
is useless, since its value is never read.

Check warning on line 170 in src/Arius.Core.Tests/Features/Commands/Archive/MockArchiveStorageBuilder.cs

See this annotation in the file changed.

Code scanning / CodeQL

Missing Dispose call on local IDisposable Warning test

Disposable 'MemoryStream' is created but not disposed.

Check warning on line 157 in src/Arius.Core.Tests/Features/Commands/Archive/MockArchiveStorageBuilder.cs

See this annotation in the file changed.

Code scanning / CodeQL

Missing Dispose call on local IDisposable Warning test

Disposable 'MemoryStream' is created but not disposed.

Check warning on line 152 in src/Arius.Core.Tests/Features/Commands/Archive/MockArchiveStorageBuilder.cs

See this annotation in the file changed.

Code scanning / CodeQL

Missing Dispose call on local IDisposable Warning test

Disposable 'MemoryStream' is created but not disposed.

Check warning on line 966 in src/Arius.Core.Tests/Features/Commands/Archive/ArchiveCommandHandlerHandleTests.cs

See this annotation in the file changed.

Code scanning / CodeQL

Useless assignment to local variable Warning test

This assignment to
failingFile
is useless, since its value is never read.

Check warning on line 893 in src/Arius.Core.Tests/Features/Commands/Archive/ArchiveCommandHandlerHandleTests.cs

See this annotation in the file changed.

Code scanning / CodeQL

Useless assignment to local variable Warning test

This assignment to
baselineFile
is useless, since its value is never read.

Check warning on line 649 in src/Arius.Core.Tests/Features/Commands/Archive/ArchiveCommandHandlerHandleTests.cs

See this annotation in the file changed.

Code scanning / CodeQL

Useless assignment to local variable Warning test

This assignment to
initialFileCount
is useless, since its value is never read.

Check warning on line 700 in src/Arius.Core.Tests/Features/Commands/Archive/ArchiveCommandHandlerHandleTests.cs

See this annotation in the file changed.

Code scanning / CodeQL

Useless assignment to local variable Warning test

This assignment to
existingFile
is useless, since its value is never read.

Check warning on line 763 in src/Arius.Core.Tests/Features/Commands/Archive/ArchiveCommandHandlerHandleTests.cs

See this annotation in the file changed.

Code scanning / CodeQL

Useless assignment to local variable Warning test

This assignment to
expectedFileCount
is useless, since its value is never read.
This assignment to
existingPointerCount
is useless, since its value is never read.

Check warning on line 810 in src/Arius.Core.Tests/Features/Commands/Archive/ArchiveCommandHandlerHandleTests.cs

See this annotation in the file changed.

Code scanning / CodeQL

Useless assignment to local variable Warning test

This assignment to
expectedFileCount
is useless, since its value is never read.
This assignment to
existingPointerCount
is useless, since its value is never read.

Check warning on line 856 in src/Arius.Core.Tests/Features/Commands/Archive/ArchiveCommandHandlerHandleTests.cs

See this annotation in the file changed.

Code scanning / CodeQL

Useless assignment to local variable Warning test

This assignment to
expectedFileCount
is useless, since its value is never read.
This assignment to
existingPointerCount
is useless, since its value is never read.

Check notice on line 39 in src/Arius.Core.Tests/Utils.cs

See this annotation in the file changed.

Code scanning / CodeQL

Missed opportunity to use Select Note test

This foreach loop immediately
maps its iteration variable to another variable
- consider mapping the sequence explicitly using '.Select(...)'.

Check notice on line 1081 in src/Arius.Core.Tests/Features/Commands/Archive/ArchiveCommandHandlerHandleTests.cs

See this annotation in the file changed.

Code scanning / CodeQL

Call to System.IO.Path.Combine Note test

Call to 'System.IO.Path.Combine'.

Check notice on line 448 in src/Arius.Core.Tests/Features/Commands/Archive/ArchiveCommandHandlerHandleTests.cs

See this annotation in the file changed.

Code scanning / CodeQL

Call to System.IO.Path.Combine Note test

Call to 'System.IO.Path.Combine'.

Check notice on line 447 in src/Arius.Core.Tests/Features/Commands/Archive/ArchiveCommandHandlerHandleTests.cs

See this annotation in the file changed.

Code scanning / CodeQL

Call to System.IO.Path.Combine Note test

Call to 'System.IO.Path.Combine'.

Check notice on line 446 in src/Arius.Core.Tests/Features/Commands/Archive/ArchiveCommandHandlerHandleTests.cs

See this annotation in the file changed.

Code scanning / CodeQL

Call to System.IO.Path.Combine Note test

Call to 'System.IO.Path.Combine'.

Check notice on line 445 in src/Arius.Core.Tests/Features/Commands/Archive/ArchiveCommandHandlerHandleTests.cs

See this annotation in the file changed.

Code scanning / CodeQL

Call to System.IO.Path.Combine Note test

Call to 'System.IO.Path.Combine'.

Check notice on line 384 in src/Arius.Core.Tests/Features/Commands/Archive/ArchiveCommandHandlerHandleTests.cs

See this annotation in the file changed.

Code scanning / CodeQL

Call to System.IO.Path.Combine Note test

Call to 'System.IO.Path.Combine'.

Check notice on line 381 in src/Arius.Core.Tests/Features/Commands/Archive/ArchiveCommandHandlerHandleTests.cs

See this annotation in the file changed.

Code scanning / CodeQL

Call to System.IO.Path.Combine Note test

Call to 'System.IO.Path.Combine'.

Check notice on line 33 in src/Arius.Core.Tests/Features/Commands/Archive/ArchiveCommandHandlerHandleTests.cs

See this annotation in the file changed.

Code scanning / CodeQL

Call to System.IO.Path.Combine Note test

Call to 'System.IO.Path.Combine'.