Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼9.57ms] Passed 4 tests
This is a short check of server-side resources used by Super Static Cache
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 35.96 ▼4.77 |
Dashboard /wp-admin | 3.44 ▲0.13 | 45.46 ▼1.52 |
Posts /wp-admin/edit.php | 3.55 ▲0.20 | 44.71 ▼8.36 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 79.58 ▼23.64 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 39.01 ▲3.37 |
Super Static Cache /wp-admin/options-general.php?page=Super-Static-Cache | 3.39 | 33.02 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
Please try to fix the following items
- Illegal file modification detected: 2 files (0.14KB) outside of "wp-content/plugins/super-static-cache/" and "wp-content/uploads/"
- (new file) super-static-cache/rewrite_ok.html.gz
- (new file) super-static-cache/rewrite_ok.txt
Filesystem: 10 new files
Database: no new tables, 12 new options
New WordPress options |
---|
super_static_cache_nocachesinglepage |
theysaidso_admin_options |
update_cache_action |
db_upgraded |
super_static_cache_excet |
super_static_cache_strict |
super_static_cache_mode |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Super Static Cache
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 13.29 ▼1.29 | 1.68 ▼0.15 | 41.49 ▼2.04 |
Dashboard /wp-admin | 2,213 ▲25 | 5.86 ▼0.00 | 97.98 ▼22.76 | 35.88 ▼10.88 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.04 ▲0.02 | 38.85 ▼1.25 | 37.61 ▼7.71 |
Add New Post /wp-admin/post-new.php | 1,536 ▲3 | 23.14 ▲0.06 | 672.21 ▲8.15 | 55.04 ▲1.60 |
Media Library /wp-admin/upload.php | 1,389 ▲1 | 4.20 ▲0.01 | 112.49 ▼2.63 | 45.23 ▼4.84 |
Super Static Cache /wp-admin/options-general.php?page=Super-Static-Cache | 1,007 | 2.19 | 26.16 | 30.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=Super-Static-Cache
- > Warning in wp-content/plugins/super-static-cache/super-static-cache-admin.php+50
fopen(http://wp.com/rewrite_ok.txt): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 6× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/super-static-cache/super-static-cache-admin.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/super-static-cache/options-advanced.php:3
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/super-static-cache/super-static-cache.php on line 230
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/super-static-cache/options.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/super-static-cache/super-static-cache.php:235
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/super-static-cache/options-general.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Screenshots: Screenshot #1 (Admin Panel) image not found
super-static-cache/super-static-cache.php 85% from 13 tests
The main PHP script in "Super Static Cache" version 3.3.5 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 191 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected985 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 86 | 157 | 788 |
PO File | 1 | 70 | 126 | 197 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 62.00 |
▷ Minimum class complexity | 62.00 |
▷ Maximum class complexity | 62.00 |
Average method complexity | 6.55 |
▷ Minimum method complexity | 2.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 90.91% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 9.09% |
Functions | 24 | |
▷ Named functions | 24 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.09MB with 0.04MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 67.55KB | 34.53KB | ▼ 48.88% |
screenshot-2.png | 20.41KB | 10.38KB | ▼ 49.13% |