Trigger #1
Annotations
1 error, 10 warnings, and 10 notices
inspect
Issues found.
|
inspect:
Bot/Coc.cs#L17
"[NotAccessedField.Local] Field 'Clan' is assigned but its value is never used" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(17,342)
|
inspect:
Bot/Coc.cs#L20
"[CollectionNeverQueried.Local] Content of collection 'JoiningMembers' is only updated but never used" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(20,555)
|
inspect:
Bot/Coc.cs#L42
"[UnusedParameter.Local] Parameter 'init' is never used" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(42,1271)
|
inspect:
Bot/Coc.cs#L58
"[UnusedType.Local] Class 'MemberComparer' is never used" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(58,1638)
|
inspect:
Bot/Coc.cs#L66
"[UnusedMember.Local] Constant 'DimId' is never used" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(66,1928)
|
inspect:
Bot/Coc.cs#L67
"[InconsistentNaming] Name 's_client' does not match rule 'Static readonly fields (not private)'. Suggested name is 'SClient'." on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(67,1998)
|
inspect:
Bot/Coc.cs#L70
"[InconsistentNaming] Name 's_prevClan' does not match rule 'Static fields (private)'. Suggested name is '_sPrevClan'." on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(70,2197)
|
inspect:
Bot/Coc.cs#L81
"[ConditionIsAlwaysTrueOrFalseAccordingToNullableAPIContract] Expression is always false according to nullable reference types' annotations" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(81,2574)
|
inspect:
Bot/Coc.cs#L118
"[FunctionNeverReturns] Function never returns" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(118,3771)
|
inspect:
Bot/Discord.cs#L14
"[InconsistentNaming] Name 's_bot' does not match rule 'Static readonly fields (private)'. Suggested name is 'SBot'." on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Discord.cs(14,296)
|
inspect:
Bot/Coc.cs#L6
"[ClassNeverInstantiated.Global] Class 'Coc' is never instantiated" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(6,88)
|
inspect:
Bot/Coc.cs#L20
"[MemberCanBePrivate.Local] Field 'JoiningMembers' can be made private" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(20,506)
|
inspect:
Bot/Coc.cs#L21
"[MemberCanBePrivate.Local] Field 'LeavingMembers' can be made private" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(21,584)
|
inspect:
Bot/Coc.cs#L26
"[SuggestVarOrType_SimpleTypes] Use 'var' (simple types)" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(26,767)
|
inspect:
Bot/Coc.cs#L45
"[SuggestVarOrType_SimpleTypes] Use 'var' (simple types)" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(45,1341)
|
inspect:
Bot/Coc.cs#L52
"[MemberCanBePrivate.Local] Method 'HasMember' can be made private" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(52,1498)
|
inspect:
Bot/Coc.cs#L52
"[SuggestBaseTypeForParameter] Parameter can be of type 'ClashOfClans.Models.Identity'" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(52,1522)
|
inspect:
Bot/Coc.cs#L67
"[MemberCanBePrivate.Global] Field 's_client' can be made private" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(67,1954)
|
inspect:
Bot/Coc.cs#L91
"[SuggestVarOrType_BuiltInTypes] Use 'var' (built-in types)" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(91,2904)
|
inspect:
Bot/Coc.cs#L93
"[SuggestVarOrType_SimpleTypes] Use 'var' (simple types)" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(93,2967)
|