-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Temporary workaround for IfPartPattern in reviewer and other fixes #362
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #362 +/- ##
==========================================
- Coverage 41.46% 38.56% -2.91%
==========================================
Files 67 69 +2
Lines 3803 4071 +268
Branches 0 554 +554
==========================================
- Hits 1577 1570 -7
- Misses 2226 2395 +169
- Partials 0 106 +106 ☔ View full report in Codecov by Sentry. |
0e8d97f
to
60dfeeb
Compare
1bd3912
to
492b2d8
Compare
492b2d8
to
62e2622
Compare
adfa718
to
7cc0145
Compare
|
||
while (r.Read()) | ||
int totalProcessed = 0; | ||
var localTokenSource = new CancellationTokenSource(); |
Check warning
Code scanning / CodeQL
Missing Dispose call on local IDisposable Warning
ii/Program.cs
Outdated
} | ||
|
||
var report = new FailureStoreReport("", 0, fileSystem); | ||
var failures = FailureStoreReport.Deserialize(fileSystem.FileInfo.New(opts.FailuresCsv), (_) => { }, new CancellationTokenSource().Token, partRules: null, runParallel: false).ToArray(); |
Check warning
Code scanning / CodeQL
Missing Dispose call on local IDisposable Warning
return 1; | ||
} | ||
|
||
var report = new FailureStoreReport("", 0, fileSystem); |
Check warning
Code scanning / CodeQL
Useless assignment to local variable Warning
report
foreach (var partRule in partRules) | ||
{ | ||
if (!string.IsNullOrWhiteSpace(partRule.IfColumn) && !string.Equals(partRule.IfColumn, row.ProblemField, StringComparison.InvariantCultureIgnoreCase)) | ||
continue; | ||
|
||
foreach (var part in parts.Where(x => partRule.Covers(x, row.ProblemValue))) | ||
{ | ||
toRemove.Add(part); | ||
partRule.IncrementUsed(); | ||
} | ||
} |
Check notice
Code scanning / CodeQL
Missed opportunity to use Where Note
implicitly filters its target sequence
c34ac66
to
2bb3fdf
Compare
} | ||
|
||
var report = new FailureStoreReport("", 0, fileSystem); | ||
var failures = FailureStoreReport.Deserialize(fileSystem.FileInfo.New(opts.FailuresCsv), (_) => { }, new CancellationTokenSource().Token, partRules: null, runParallel: false, opts.StopAtFirstError).ToArray(); |
Check warning
Code scanning / CodeQL
Useless assignment to local variable Warning
failures
needs reworked and rebased - separate PR |
closes #144
closes #312