Save backup refactor #324
Save backup refactor #324
Conversation
Codecov Report
@@ Coverage Diff @@
## trunk #324 +/- ##
============================================
+ Coverage 57.75% 57.75% +<.01%
- Complexity 9913 9915 +2
============================================
Files 1139 1139
Lines 73051 73050 -1
Branches 7303 7300 -3
============================================
+ Hits 42187 42188 +1
+ Misses 28392 28390 -2
Partials 2472 2472
Continue to review full report at Codecov.
|
Thanks @ham1 , I think I didn't miss anything but another eye is welcome. |
@pmouawad Thank you for committing my changes - in future I'm happy to rebase and fix merge issues so you don't have to :) (just let me know via comment or email) There were only a few minor things:
What's the best way for me to provide these changes? Force push to this PR, new PR, email patch file? Thanks |
Further refactoring for readability to
createBackupFile
and other minor improvements.Description
Refactoring
createBackupFile
and minor tidy up of surrounding code.I've got a bit carried away but tried to commit often so that at least some of the changes can be easily reviewed and applied.
Motivation and Context
The aim is to improve readability and thus make fixing, testing and improving easier.
How Has This Been Tested?
Manually with both backup settings set. Unit testing is still not very easy.
Screenshots (if appropriate):
Types of changes
Checklist: