[Bot] Read members from db on init #25
Annotations
1 error, 16 warnings, and 10 notices
inspect
Issues found.
|
build:
Bot/Coc.cs#L37
Expression value is never used (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0058)
|
build:
Bot/Discord.cs#L29
Expression value is never used (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0058)
|
build:
Bot/Discord.cs#L65
Expression value is never used (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0058)
|
build:
Bot/Sql/Person.cs#L4
Type 'Person' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
|
build:
Bot/Sql/Alt.cs#L4
Type 'Alt' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
|
build:
Bot/Sql/Member.cs#L3
Type 'Member' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
|
inspect:
Bot/Coc.cs#L11
"[NotAccessedField.Local] Field '_clan' is assigned but its value is never used" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(11,187)
|
inspect:
Bot/Coc.cs#L14
"[CollectionNeverQueried.Local] Content of collection '_joiningMembers' is only updated but never used" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(14,403)
|
inspect:
Bot/Coc.cs#L37
"[IDE0058] Expression value is never used" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(37,1191)
|
inspect:
Bot/Coc.cs#L65
"[ConditionIsAlwaysTrueOrFalseAccordingToNullableAPIContract] Expression is always false according to nullable reference types' annotations" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(65,2067)
|
inspect:
Bot/Coc.cs#L105
"[FunctionNeverReturns] Function never returns" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(105,3223)
|
inspect:
Bot/Discord.cs#L29
"[IDE0058] Expression value is never used" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Discord.cs(29,904)
|
inspect:
Bot/Discord.cs#L65
"[IDE0058] Expression value is never used" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Discord.cs(65,1996)
|
inspect:
Bot/Secrets.cs#L3
"[CheckNamespace] Namespace does not correspond to file location, must be: 'Hyperstellar'" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Secrets.cs(3,46)
|
inspect:
Bot/Sql/Alt.cs#L4
"[CA1852] Type 'Alt' can be sealed because it has no subtypes in its containing assembly and is not externally visible" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Sql/Alt.cs(4,58)
|
inspect:
Bot/Sql/Member.cs#L3
"[CA1852] Type 'Member' can be sealed because it has no subtypes in its containing assembly and is not externally visible" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Sql/Member.cs(3,44)
|
inspect:
Bot/Coc.cs#L7
"[ClassNeverInstantiated.Global] Class 'Coc' is never instantiated" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(7,119)
|
inspect:
Bot/Coc.cs#L14
"[MemberCanBePrivate.Local] Field '_joiningMembers' can be made private" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(14,354)
|
inspect:
Bot/Coc.cs#L15
"[MemberCanBePrivate.Local] Field '_leavingMembers' can be made private" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(15,433)
|
inspect:
Bot/Coc.cs#L15
"[FieldCanBeMadeReadOnly.Local] Field can be made readonly" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(15,473)
|
inspect:
Bot/Coc.cs#L22
"[ArrangeObjectCreationWhenTypeNotEvident] Missing type specification" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(22,700)
|
inspect:
Bot/Coc.cs#L24
"[ArrangeObjectCreationWhenTypeNotEvident] Missing type specification" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(24,757)
|
inspect:
Bot/Coc.cs#L47
"[MemberCanBePrivate.Local] Method 'HasMember' can be made private" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(47,1419)
|
inspect:
Bot/Coc.cs#L47
"[SuggestBaseTypeForParameter] Parameter can be of type 'ClashOfClans.Models.Identity'" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(47,1443)
|
inspect:
Bot/Coc.cs#L57
"[MemberCanBePrivate.Global] Field 's_client' can be made private" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(57,1743)
|
inspect:
Bot/Coc.cs#L89
"[ArrangeObjectCreationWhenTypeNotEvident] Missing type specification" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(89,2803)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
Bot
Expired
|
5.48 MB |
|