xibodevelopment / backupwordpress

Simple automated backups of your WordPress powered website.
http://wordpress.org/extend/plugins/backupwordpress/
327 stars 74 forks source link

Improve code quality #1031

Open willmot opened 8 years ago

willmot commented 8 years ago

We have a variety of ways of measuring the code quality of our plugin:

Refactoring our code with the sole purpose of reducing the issues reported by these tools is risky, however over the long term we should be working with towards improving our overall code quality.

This ticket will likely never be closed as there's always improvements to be made. However it's a useful place to collate the various issues and track conversation and progress.

willmot commented 8 years ago

Since #1032 we're down to only two sets of WPCS issues:

willmot commented 8 years ago

For our silenced function calls, I'm we should potentially audit our use to make sure we're not silencing when we shouldn't be (I don't think we need to silence ini_get for example as Core doesn't). We can then wrap them in a // @codingStandardsIgnoreStart block.

willmot commented 8 years ago

We have a lot of noise in our scrutinizer issue report which makes finding and fixing actual issues a pain. I've been through and added a bunch of issue filters to cover things we're not interested in changing. Documenting it here so we have a record.