Skip to content

* remove run: dotnet new globaljson in favor of changing the hardco… #33

* remove run: dotnet new globaljson in favor of changing the hardco…

* remove run: dotnet new globaljson in favor of changing the hardco… #33

Triggered via push March 23, 2024 11:28
Status Failure
Total duration 2m 19s
Artifacts

c#.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

1 error, 7 warnings, and 10 notices
ReSharper
Issues found.
build (crawler): c#/crawler/src/ExtensionMethods.cs#L60
Use a comparison to 'default(T2)' instead or add a constraint to 'T2' so that it can't be a value type. (https://rules.sonarsource.com/csharp/RSPEC-2955)
build (crawler): c#/crawler/src/ExtensionMethods.cs#L60
Use a comparison to 'default(T2)' instead or add a constraint to 'T2' so that it can't be a value type. (https://rules.sonarsource.com/csharp/RSPEC-2955)
build (imagePipeline): c#/imagePipeline/src/Consumer/MetadataConsumer.cs#L98
Use a comparison to 'default(TImageSharpProfile)' instead or add a constraint to 'TImageSharpProfile' so that it can't be a value type. (https://rules.sonarsource.com/csharp/RSPEC-2955)
build (imagePipeline): c#/imagePipeline/src/Consumer/MetadataConsumer.cs#L98
Use a comparison to 'default(TImageSharpProfile)' instead or add a constraint to 'TImageSharpProfile' so that it can't be a value type. (https://rules.sonarsource.com/csharp/RSPEC-2955)
ReSharper: c#/crawler/src/ExtensionMethods.cs#L60
"[S2955] Use a comparison to 'default(T2)' instead or add a constraint to 'T2' so that it can't be a value type." on /home/runner/work/open-tbm/open-tbm/c#/crawler/src/ExtensionMethods.cs(60,2110)
ReSharper: c#/crawler/src/Tieba/Crawl/Saver/SaverChangeSet.cs#L27
"[CollectionNeverUpdated.Global] Content of collection 'AllAfter' is never updated" on /home/runner/work/open-tbm/open-tbm/c#/crawler/src/Tieba/Crawl/Saver/SaverChangeSet.cs(27,1061)
ReSharper: c#/imagePipeline/src/Consumer/MetadataConsumer.cs#L98
"[S2955] Use a comparison to 'default(TImageSharpProfile)' instead or add a constraint to 'TImageSharpProfile' so that it can't be a value type." on /home/runner/work/open-tbm/open-tbm/c#/imagePipeline/src/Consumer/MetadataConsumer.cs(98,4857)
ReSharper: c#/crawler/src/Db/CrawlerDbContext.cs#L24
"[UnusedMember.Global] Property 'SubReplies' is never used" on /home/runner/work/open-tbm/open-tbm/c#/crawler/src/Db/CrawlerDbContext.cs(24,1210)
ReSharper: c#/crawler/src/Db/CrawlerDbContext.cs#L39
"[SwitchStatementMissingSomeEnumCasesNoDefault] Some values of the enum are not processed inside switch: Detached, Unchanged, Deleted" on /home/runner/work/open-tbm/open-tbm/c#/crawler/src/Db/CrawlerDbContext.cs(39,1997)
ReSharper: c#/crawler/src/Db/Post/IPostWithAuthorExpGrade.cs#L5
"[UnusedMemberInSuper.Global] Only implementations of accessor 'AuthorExpGrade.set' are used" on /home/runner/work/open-tbm/open-tbm/c#/crawler/src/Db/Post/IPostWithAuthorExpGrade.cs(5,125)
ReSharper: c#/crawler/src/SonicPusher.cs#L30
"[MoveLocalFunctionAfterJumpStatement] Put local function 'GetElapsedMs' after 'return'" on /home/runner/work/open-tbm/open-tbm/c#/crawler/src/SonicPusher.cs(30,1079)
ReSharper: c#/crawler/src/SonicPusher.cs#L39
"[UseVerbatimString] Use verbatim string" on /home/runner/work/open-tbm/open-tbm/c#/crawler/src/SonicPusher.cs(39,1493)
ReSharper: c#/crawler/src/SonicPusher.cs#L77
"[InvertIf] Invert 'if' statement to reduce nesting" on /home/runner/work/open-tbm/open-tbm/c#/crawler/src/SonicPusher.cs(77,3015)
ReSharper: c#/crawler/src/Tieba/ClientRequester.cs#L158
"[MergeIntoPattern] Merge into pattern" on /home/runner/work/open-tbm/open-tbm/c#/crawler/src/Tieba/ClientRequester.cs(158,7026)
ReSharper: c#/crawler/src/Tieba/Crawl/Crawler/BaseCrawler.cs#L6
"[UnusedParameter.Global] Parameter 'flag' is not used in any of the implementations" on /home/runner/work/open-tbm/open-tbm/c#/crawler/src/Tieba/Crawl/Crawler/BaseCrawler.cs(6,268)
ReSharper: c#/crawler/src/Tieba/Crawl/Crawler/ReplyCrawler.cs#L22
"[InvertIf] Invert 'if' statement to reduce nesting" on /home/runner/work/open-tbm/open-tbm/c#/crawler/src/Tieba/Crawl/Crawler/ReplyCrawler.cs(22,779)
ReSharper: c#/crawler/src/Tieba/Crawl/Crawler/ReplyCrawler.cs#L36
"[ArrangeObjectCreationWhenTypeNotEvident] Redundant type specification" on /home/runner/work/open-tbm/open-tbm/c#/crawler/src/Tieba/Crawl/Crawler/ReplyCrawler.cs(36,1711)