pluginkollektiv / cachify

Smart but efficient cache solution for WordPress. Use DB, HDD, APC or Memcached for storing your blog pages. Make WordPress faster!
https://wordpress.org/plugins/cachify/
GNU General Public License v2.0
101 stars 32 forks source link

Common interface for the Cachify storage classes #298

Closed lloc closed 5 months ago

lloc commented 5 months ago

I started to collect the least common methods with their arguments. It is now possible to guarantee a common interface by implementing Cachify_Backend in the interested classes.

I also made the overall coverage more visible and narrowed the output down to the classes (and not template-like the setup code for example):

image

lloc commented 5 months ago

Good work, thanks. I would have some minor cosmetic/pedantic suggestions, but I totally agree with the changes proposed.

Thanks for taking the time to review the PR!

sonarcloud[bot] commented 5 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud