Automattic / wp-memcached

Memcached Object Cache for WordPress.
https://wordpress.org/plugins/memcached/
GNU General Public License v2.0
159 stars 55 forks source link

Add simple get_stats() #127

Closed rebeccahum closed 1 year ago

rebeccahum commented 1 year ago

This adds a simple function get_stats() which doesn't include any of the post-processing of the data.

codecov[bot] commented 1 year ago

Codecov Report

Merging #127 (eba97de) into master (3eb1a63) will decrease coverage by 4.50%. The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master     #127      +/-   ##
============================================
- Coverage     79.78%   75.29%   -4.50%     
- Complexity      158      164       +6     
============================================
  Files             1        1              
  Lines           569      603      +34     
============================================
  Hits            454      454              
- Misses          115      149      +34     
Flag Coverage Δ
unittests 75.29% <0.00%> (-4.50%) :arrow_down:

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

Impacted Files Coverage Δ
object-cache.php 75.29% <0.00%> (-4.50%) :arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

rinatkhaziev commented 1 year ago

What's the reason for it to return JSON?

sonarcloud[bot] commented 1 year ago

SonarCloud Quality Gate failed.    Quality Gate failed

Bug B 1 Bug
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 11 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication