Skip to content
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

Enable FxCop on all projects #5331

Merged
merged 7 commits into from Aug 13, 2020
Merged

Conversation

antoniovs1029
Copy link
Member

@antoniovs1029 antoniovs1029 commented Jul 30, 2020

This PR enables de FxCop Analyzers on all projects of ML.NET using the Sdl.Required.Warning.ruleset recommended to us offline.

NOTE: Right after enabling the FxCop Analyzers (i.e. when syncing with this branch), I've found necessary to Clean, Close, Clean and Rebuild the ML.NET Visual Studio solution to make the changes effective.

@antoniovs1029 antoniovs1029 changed the title [Reference] Enable FxCop on all projects Enable FxCop on all projects Jul 31, 2020
@antoniovs1029 antoniovs1029 mentioned this pull request Jul 31, 2020
12 tasks
Comment on lines +16 to +17
<!-- <Rule Id="CA1063" Action="Warning" /> Disable. Don't Fix -->
<!-- <Rule Id="CA1065" Action="Warning" /> Disable. Might Fix -->
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The rules that are disabled on this file correspond to what is described on #5334

@codecov
Copy link

codecov bot commented Jul 31, 2020

Codecov Report

Merging #5331 into master will increase coverage by 0.07%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #5331      +/-   ##
==========================================
+ Coverage   73.97%   74.04%   +0.07%     
==========================================
  Files        1019     1019              
  Lines      189949   189949              
  Branches    20429    20429              
==========================================
+ Hits       140506   140639     +133     
+ Misses      43914    43797     -117     
+ Partials     5529     5513      -16     
Flag Coverage Δ
#Debug 74.04% <ø> (+0.07%) ⬆️
#production 69.83% <ø> (+0.09%) ⬆️
#test 87.68% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
....ML.AutoML/PipelineSuggesters/PipelineSuggester.cs 83.19% <0.00%> (-3.37%) ⬇️
...L.AutoML/TrainerExtensions/TrainerExtensionUtil.cs 84.71% <0.00%> (-1.66%) ⬇️
src/Microsoft.ML.Maml/MAML.cs 23.78% <0.00%> (-0.98%) ⬇️
src/Microsoft.ML.AutoML/Sweepers/Parameters.cs 84.32% <0.00%> (-0.85%) ⬇️
...soft.ML.Data/DataLoadSave/Text/TextLoaderCursor.cs 89.45% <0.00%> (+0.15%) ⬆️
...StandardTrainers/Standard/LinearModelParameters.cs 66.58% <0.00%> (+0.25%) ⬆️
src/Microsoft.ML.Data/Utils/LossFunctions.cs 67.35% <0.00%> (+0.51%) ⬆️
...oft.ML.StandardTrainers/Standard/SdcaMulticlass.cs 92.49% <0.00%> (+1.02%) ⬆️
...crosoft.ML.StandardTrainers/Optimizer/Optimizer.cs 73.12% <0.00%> (+1.15%) ⬆️
src/Microsoft.ML.Sweeper/AsyncSweeper.cs 72.78% <0.00%> (+1.36%) ⬆️
... and 4 more

@antoniovs1029 antoniovs1029 marked this pull request as ready for review August 12, 2020 20:15
@antoniovs1029 antoniovs1029 requested a review from a team as a code owner August 12, 2020 20:15
@harishsk harishsk merged commit a769365 into dotnet:master Aug 13, 2020
@dotnet dotnet locked as resolved and limited conversation to collaborators Mar 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants