Resolve most CA warnings #50
Annotations
1 error, 2 warnings, and 10 notices
inspect
Issues found.
|
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
inspect:
Bot/Sql/Member.cs#L11
"[UnusedAutoPropertyAccessor.Global] Auto-property accessor 'DiscordId.get' is never used" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Sql/Member.cs(11,199)
|
inspect:
Bot/Clash/ClanUtil.cs#L27
"[ForeachCanBePartlyConvertedToQueryUsingAnotherGetEnumerator] Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/ClanUtil.cs(27,884)
|
inspect:
Bot/Clash/ClanUtil.cs#L29
"[InvertIf] Invert 'if' statement to reduce nesting" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/ClanUtil.cs(29,966)
|
inspect:
Bot/Clash/ClanUtil.cs#L39
"[ArrangeObjectCreationWhenTypeNotEvident] Missing type specification" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/ClanUtil.cs(39,1314)
|
inspect:
Bot/Clash/ClanUtil.cs#L47
"[ArrangeObjectCreationWhenTypeNotEvident] Missing type specification" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/ClanUtil.cs(47,1474)
|
inspect:
Bot/Clash/ClanUtil.cs#L64
"[MemberCanBePrivate.Global] Method 'HasMember' can be made private" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/ClanUtil.cs(64,1933)
|
inspect:
Bot/Clash/Coc.cs#L94
"[ArrangeTrailingCommaInMultilineLists] Remove trailing comma to conform to code style" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(94,2807)
|
inspect:
Bot/Clash/Coc.cs#L108
"[ArrangeObjectCreationWhenTypeNotEvident] Missing type specification" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(108,3325)
|
inspect:
Bot/Clash/Coc.cs#L144
"[UseDeconstruction] Use deconstruction" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(144,4531)
|
inspect:
Bot/Clash/Coc.cs#L151
"[InvertIf] Invert 'if' statement to reduce nesting" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(151,4736)
|
inspect:
Bot/Clash/Donate25.cs#L6
"[ClassNeverInstantiated.Global] Class 'Donate25' is never instantiated" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Donate25.cs(6,106)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
Bot
Expired
|
8.38 MB |
|