Trimming works again #8147
Annotations
1 error, 44 warnings, and 24 notices
Hardcoded passwords:
ArchiSteamFarm/SharedInfo.cs#L76
Hardcoded password detected by "discord-client-id" default rule
|
RoslynAnalyzers Use properties where appropriate:
ArchiSteamFarm/Core/Utilities.cs#L109
Use properties where appropriate
|
RoslynAnalyzers Use properties where appropriate:
ArchiSteamFarm/Steam/Interaction/Actions.cs#L162
Use properties where appropriate
|
RoslynAnalyzers Use properties where appropriate:
ArchiSteamFarm/Steam/Interaction/Actions.cs#L176
Use properties where appropriate
|
RoslynAnalyzers Avoid dead conditional code:
ArchiSteamFarm/Steam/SteamKit2/ServerRecordEndPoint.cs#L61
'obj is ServerRecordEndPoint serverRecord' is always 'false'. Remove or refactor the condition(s) to avoid dead code.
|
RoslynAnalyzers Avoid dead conditional code:
ArchiSteamFarm/Steam/Cards/Game.cs#L66
'obj is Game game' is always 'false'. Remove or refactor the condition(s) to avoid dead code.
|
RoslynAnalyzers Avoid uninstantiated internal classes:
ArchiSteamFarm.OfficialPlugins.Monitoring/TradeStatistics.cs#L29
'TradeStatistics' is an internal class that is apparently never instantiated. If so, remove the code from the assembly. If this class is intended to contain only static members, make it 'static' (Module in Visual Basic).
|
RoslynAnalyzers Avoid uninstantiated internal classes:
ArchiSteamFarm/Steam/Data/ConfirmationsResponse.cs#L29
'ConfirmationsResponse' is an internal class that is apparently never instantiated. If so, remove the code from the assembly. If this class is intended to contain only static members, make it 'static' (Module in Visual Basic).
|
RoslynAnalyzers Avoid uninstantiated internal classes:
ArchiSteamFarm.OfficialPlugins.ItemsMatcher/Data/AnnouncementDiffRequest.cs#L34
'AnnouncementDiffRequest' is an internal class that is apparently never instantiated. If so, remove the code from the assembly. If this class is intended to contain only static members, make it 'static' (Module in Visual Basic).
|
RoslynAnalyzers Avoid uninstantiated internal classes:
ArchiSteamFarm/Steam/SteamKit2/InMemoryServerListProvider.cs#L36
'InMemoryServerListProvider' is an internal class that is apparently never instantiated. If so, remove the code from the assembly. If this class is intended to contain only static members, make it 'static' (Module in Visual Basic).
|
RoslynAnalyzers Avoid uninstantiated internal classes:
ArchiSteamFarm/IPC/Integration/CustomAttributesSchemaFilter.cs#L33
'CustomAttributesSchemaFilter' is an internal class that is apparently never instantiated. If so, remove the code from the assembly. If this class is intended to contain only static members, make it 'static' (Module in Visual Basic).
|
RoslynAnalyzers Avoid uninstantiated internal classes:
ArchiSteamFarm.OfficialPlugins.ItemsMatcher/Data/SetPartsRequest.cs#L33
'SetPartsRequest' is an internal class that is apparently never instantiated. If so, remove the code from the assembly. If this class is intended to contain only static members, make it 'static' (Module in Visual Basic).
|
RoslynAnalyzers Avoid uninstantiated internal classes:
ArchiSteamFarm/IPC/Integration/ReadOnlyFixesSchemaFilter.cs#L33
'ReadOnlyFixesSchemaFilter' is an internal class that is apparently never instantiated. If so, remove the code from the assembly. If this class is intended to contain only static members, make it 'static' (Module in Visual Basic).
|
RoslynAnalyzers Avoid uninstantiated internal classes:
ArchiSteamFarm/IPC/Integration/EnumSchemaFilter.cs#L35
'EnumSchemaFilter' is an internal class that is apparently never instantiated. If so, remove the code from the assembly. If this class is intended to contain only static members, make it 'static' (Module in Visual Basic).
|
RoslynAnalyzers Avoid uninstantiated internal classes:
ArchiSteamFarm.OfficialPlugins.SteamTokenDumper/SteamTokenDumperPlugin.cs#L54
'SteamTokenDumperPlugin' is an internal class that is apparently never instantiated. If so, remove the code from the assembly. If this class is intended to contain only static members, make it 'static' (Module in Visual Basic).
|
RoslynAnalyzers Avoid uninstantiated internal classes:
ArchiSteamFarm/Steam/Data/TradeOfferSendResponse.cs#L30
'TradeOfferSendResponse' is an internal class that is apparently never instantiated. If so, remove the code from the assembly. If this class is intended to contain only static members, make it 'static' (Module in Visual Basic).
|
RoslynAnalyzers Avoid uninstantiated internal classes:
ArchiSteamFarm.CustomPlugins.SignInWithSteam/SignInWithSteamPlugin.cs#L37
'SignInWithSteamPlugin' is an internal class that is apparently never instantiated. If so, remove the code from the assembly. If this class is intended to contain only static members, make it 'static' (Module in Visual Basic).
|
RoslynAnalyzers Avoid uninstantiated internal classes:
ArchiSteamFarm.OfficialPlugins.ItemsMatcher/Data/InventoriesRequest.cs#L34
'InventoriesRequest' is an internal class that is apparently never instantiated. If so, remove the code from the assembly. If this class is intended to contain only static members, make it 'static' (Module in Visual Basic).
|
RoslynAnalyzers Avoid uninstantiated internal classes:
ArchiSteamFarm.CustomPlugins.ExamplePlugin/ExamplePlugin.cs#L49
'ExamplePlugin' is an internal class that is apparently never instantiated. If so, remove the code from the assembly. If this class is intended to contain only static members, make it 'static' (Module in Visual Basic).
|
RoslynAnalyzers Avoid uninstantiated internal classes:
ArchiSteamFarm.OfficialPlugins.Monitoring/MonitoringPlugin.cs#L51
'MonitoringPlugin' is an internal class that is apparently never instantiated. If so, remove the code from the assembly. If this class is intended to contain only static members, make it 'static' (Module in Visual Basic).
|
RoslynAnalyzers Avoid uninstantiated internal classes:
ArchiSteamFarm/NLog/Targets/SteamTarget.cs#L41
'SteamTarget' is an internal class that is apparently never instantiated. If so, remove the code from the assembly. If this class is intended to contain only static members, make it 'static' (Module in Visual Basic).
|
RoslynAnalyzers Avoid uninstantiated internal classes:
ArchiSteamFarm.OfficialPlugins.SteamTokenDumper/Data/SubmitRequest.cs#L34
'SubmitRequest' is an internal class that is apparently never instantiated. If so, remove the code from the assembly. If this class is intended to contain only static members, make it 'static' (Module in Visual Basic).
|
RoslynAnalyzers Avoid uninstantiated internal classes:
ArchiSteamFarm/Steam/Data/TradeOfferAcceptResponse.cs#L30
'TradeOfferAcceptResponse' is an internal class that is apparently never instantiated. If so, remove the code from the assembly. If this class is intended to contain only static members, make it 'static' (Module in Visual Basic).
|
RoslynAnalyzers Avoid uninstantiated internal classes:
ArchiSteamFarm.OfficialPlugins.ItemsMatcher/Data/HeartBeatRequest.cs#L30
'HeartBeatRequest' is an internal class that is apparently never instantiated. If so, remove the code from the assembly. If this class is intended to contain only static members, make it 'static' (Module in Visual Basic).
|
RoslynAnalyzers Avoid uninstantiated internal classes:
ArchiSteamFarm/Steam/SteamKit2/ServerRecordEndPoint.cs#L31
'ServerRecordEndPoint' is an internal class that is apparently never instantiated. If so, remove the code from the assembly. If this class is intended to contain only static members, make it 'static' (Module in Visual Basic).
|
RoslynAnalyzers Avoid uninstantiated internal classes:
ArchiSteamFarm.CustomPlugins.PeriodicGC/PeriodicGCPlugin.cs#L39
'PeriodicGCPlugin' is an internal class that is apparently never instantiated. If so, remove the code from the assembly. If this class is intended to contain only static members, make it 'static' (Module in Visual Basic).
|
RoslynAnalyzers Avoid uninstantiated internal classes:
ArchiSteamFarm/Collections/ConcurrentEnumerator.cs#L30
'ConcurrentEnumerator' is an internal class that is apparently never instantiated. If so, remove the code from the assembly. If this class is intended to contain only static members, make it 'static' (Module in Visual Basic).
|
RoslynAnalyzers Avoid uninstantiated internal classes:
ArchiSteamFarm/Steam/Data/NewDiscoveryQueueResponse.cs#L31
'NewDiscoveryQueueResponse' is an internal class that is apparently never instantiated. If so, remove the code from the assembly. If this class is intended to contain only static members, make it 'static' (Module in Visual Basic).
|
RoslynAnalyzers Avoid uninstantiated internal classes:
ArchiSteamFarm.OfficialPlugins.MobileAuthenticator/MobileAuthenticatorPlugin.cs#L43
'MobileAuthenticatorPlugin' is an internal class that is apparently never instantiated. If so, remove the code from the assembly. If this class is intended to contain only static members, make it 'static' (Module in Visual Basic).
|
RoslynAnalyzers Avoid uninstantiated internal classes:
ArchiSteamFarm.OfficialPlugins.ItemsMatcher/ItemsMatcherPlugin.cs#L46
'ItemsMatcherPlugin' is an internal class that is apparently never instantiated. If so, remove the code from the assembly. If this class is intended to contain only static members, make it 'static' (Module in Visual Basic).
|
RoslynAnalyzers Avoid uninstantiated internal classes:
ArchiSteamFarm/Steam/Integration/CMsgs/CMsgClientAcknowledgeClanInvite.cs#L32
'CMsgClientAcknowledgeClanInvite' is an internal class that is apparently never instantiated. If so, remove the code from the assembly. If this class is intended to contain only static members, make it 'static' (Module in Visual Basic).
|
RoslynAnalyzers Avoid uninstantiated internal classes:
ArchiSteamFarm/Core/Debugging.cs#L41
'Debugging.DebugListener' is an internal class that is apparently never instantiated. If so, remove the code from the assembly. If this class is intended to contain only static members, make it 'static' (Module in Visual Basic).
|
RoslynAnalyzers Avoid uninstantiated internal classes:
ArchiSteamFarm/Steam/Data/InventoryResponse.cs#L34
'InventoryResponse' is an internal class that is apparently never instantiated. If so, remove the code from the assembly. If this class is intended to contain only static members, make it 'static' (Module in Visual Basic).
|
RoslynAnalyzers Avoid uninstantiated internal classes:
ArchiSteamFarm/Steam/Data/RedeemWalletResponse.cs#L31
'RedeemWalletResponse' is an internal class that is apparently never instantiated. If so, remove the code from the assembly. If this class is intended to contain only static members, make it 'static' (Module in Visual Basic).
|
RoslynAnalyzers Avoid uninstantiated internal classes:
ArchiSteamFarm/Steam/Data/TradeOfferSendRequest.cs#L29
'TradeOfferSendRequest' is an internal class that is apparently never instantiated. If so, remove the code from the assembly. If this class is intended to contain only static members, make it 'static' (Module in Visual Basic).
|
RoslynAnalyzers Avoid uninstantiated internal classes:
ArchiSteamFarm/Steam/Data/TradeOfferSendRequest.cs#L40
'TradeOfferSendRequest.ItemList' is an internal class that is apparently never instantiated. If so, remove the code from the assembly. If this class is intended to contain only static members, make it 'static' (Module in Visual Basic).
|
RoslynAnalyzers Avoid uninstantiated internal classes:
ArchiSteamFarm/IPC/Integration/ApiAuthenticationMiddleware.cs#L46
'ApiAuthenticationMiddleware' is an internal class that is apparently never instantiated. If so, remove the code from the assembly. If this class is intended to contain only static members, make it 'static' (Module in Visual Basic).
|
RoslynAnalyzers Properties should not return arrays:
ArchiSteamFarm/IPC/Integration/SwaggerValidValuesAttribute.cs#L35
Properties should not return arrays
|
RoslynAnalyzers Properties should not return arrays:
ArchiSteamFarm/IPC/Integration/SwaggerValidValuesAttribute.cs#L36
Properties should not return arrays
|
RoslynAnalyzers Avoid unused private fields:
ArchiSteamFarm/Helpers/SerializableFile.cs#L42
Unused field 'SavingScheduled'
|
RoslynAnalyzers Avoid unused private fields:
ArchiSteamFarm/Core/AprilFools.cs#L36
Unused field 'Timer'
|
Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior:
Dockerfile#L79
RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior
More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/
|
Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior:
Dockerfile#L79
RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior
More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/
|
Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior:
Dockerfile.Service#L79
RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior
More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/
|
Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior:
Dockerfile.Service#L79
RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior
More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/
|
RoslynAnalyzers Mark members as static:
ArchiSteamFarm.Tests/Bot.cs#L442
Member 'TooHighAmount' does not access instance data and can be marked as static
|
RoslynAnalyzers Mark members as static:
ArchiSteamFarm.CustomPlugins.ExamplePlugin/ExamplePlugin.cs#L117
Member 'OnBotDestroy' does not access instance data and can be marked as static
|
RoslynAnalyzers Mark members as static:
ArchiSteamFarm.Tests/Bot.cs#L328
Member 'OtherRarityFullSets' does not access instance data and can be marked as static
|
RoslynAnalyzers Mark members as static:
ArchiSteamFarm/IPC/Controllers/Api/IPCBansController.cs#L42
Member 'Delete' does not access instance data and can be marked as static
|
RoslynAnalyzers Mark members as static:
ArchiSteamFarm.Tests/Bot.cs#L346
Member 'OtherRarityNoSets' does not access instance data and can be marked as static
|
RoslynAnalyzers Mark members as static:
ArchiSteamFarm.Tests/Bot.cs#L215
Member 'NotAllCardsPresent' does not access instance data and can be marked as static
|
RoslynAnalyzers Mark members as static:
ArchiSteamFarm.Tests/Bot.cs#L403
Member 'OtherTypeNoSets' does not access instance data and can be marked as static
|
RoslynAnalyzers Mark members as static:
ArchiSteamFarm.Tests/Bot.cs#L133
Member 'MultipleSets' does not access instance data and can be marked as static
|
RoslynAnalyzers Mark members as static:
ArchiSteamFarm/IPC/Controllers/Api/PluginsController.cs#L42
Member 'PluginsGet' does not access instance data and can be marked as static
|
RoslynAnalyzers Mark members as static:
ArchiSteamFarm/IPC/Controllers/Api/ASFController.cs#L170
Member 'RestartPost' does not access instance data and can be marked as static
|
RoslynAnalyzers Mark members as static:
ArchiSteamFarm.Tests/Bot.cs#L174
Member 'MutliRarityAndType' does not access instance data and can be marked as static
|
RoslynAnalyzers Mark members as static:
ArchiSteamFarm.Tests/Bot.cs#L230
Member 'OneSet' does not access instance data and can be marked as static
|
RoslynAnalyzers Mark members as static:
ArchiSteamFarm.Tests/Bot.cs#L296
Member 'OtherAppIDOneSet' does not access instance data and can be marked as static
|
RoslynAnalyzers Mark members as static:
ArchiSteamFarm.CustomPlugins.ExamplePlugin/ExamplePlugin.cs#L122
Member 'OnBotDisconnected' does not access instance data and can be marked as static
|
RoslynAnalyzers Mark members as static:
ArchiSteamFarm.Tests/Bot.cs#L362
Member 'OtherRarityOneSet' does not access instance data and can be marked as static
|
RoslynAnalyzers Mark members as static:
ArchiSteamFarm/IPC/Controllers/Api/ASFController.cs#L159
Member 'ExitPost' does not access instance data and can be marked as static
|
RoslynAnalyzers Mark members as static:
ArchiSteamFarm.Tests/Bot.cs#L111
Member 'MoreCardsThanNeeded' does not access instance data and can be marked as static
|
RoslynAnalyzers Mark members as static:
ArchiSteamFarm.Tests/Bot.cs#L385
Member 'OtherTypeFullSets' does not access instance data and can be marked as static
|
RoslynAnalyzers Mark members as static:
ArchiSteamFarm.Tests/Bot.cs#L249
Member 'OtherAppIDFullSets' does not access instance data and can be marked as static
|
RoslynAnalyzers Mark members as static:
ArchiSteamFarm.Tests/Bot.cs#L274
Member 'OtherAppIDNoSets' does not access instance data and can be marked as static
|
RoslynAnalyzers Mark members as static:
ArchiSteamFarm.Tests/Bot.cs#L419
Member 'OtherTypeOneSet' does not access instance data and can be marked as static
|
RoslynAnalyzers Mark members as static:
ArchiSteamFarm.CustomPlugins.SignInWithSteam/SignInWithSteamPlugin.cs#L46
Member 'OnLoaded' does not access instance data and can be marked as static
|
RoslynAnalyzers Mark members as static:
ArchiSteamFarm.CustomPlugins.ExamplePlugin/ExamplePlugin.cs#L154
Member 'OnBotLoggedOn' does not access instance data and can be marked as static
|
RoslynAnalyzers Mark members as static:
ArchiSteamFarm.Tests/Bot.cs#L154
Member 'MultipleSetsDifferentAmount' does not access instance data and can be marked as static
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
JustArchiNET~ArchiSteamFarm~IQ71QX.dockerbuild
Expired
|
73.2 KB |
|
JustArchiNET~ArchiSteamFarm~KZ2RC7.dockerbuild
Expired
|
73.3 KB |
|
JustArchiNET~ArchiSteamFarm~M5FB9A.dockerbuild
Expired
|
77.1 KB |
|
JustArchiNET~ArchiSteamFarm~R998FN.dockerbuild
Expired
|
78.2 KB |
|