Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.07MB] [CPU: ▼5.32ms] Passed 4 tests
A check of server-side resources used by Wonder Cache
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 34.56 ▼5.01 |
Dashboard /wp-admin | 3.36 ▲0.02 | 43.10 ▼13.60 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 45.15 ▼4.09 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 93.64 ▲1.42 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 36.21 ▲4.61 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
Please try to fix the following items
- The plugin illegally modified 2 files (4.47KB) outside of "wp-content/plugins/wonder-cache/" and "wp-content/uploads/"
- (modified) wp-config.php
- (new file) wp-content/advanced-cache.php
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Wonder Cache
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,832 ▲82 | 14.35 ▼0.09 | 2.00 ▲0.45 | 37.61 ▼0.45 |
Dashboard /wp-admin | 2,207 ▲27 | 5.61 ▼0.07 | 90.22 ▲6.32 | 41.26 ▼1.14 |
Posts /wp-admin/edit.php | 2,112 ▲12 | 2.01 ▲0.03 | 39.03 ▲1.16 | 38.12 ▼2.88 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.01 ▼0.46 | 660.31 ▼5.46 | 57.23 ▼5.09 |
Media Library /wp-admin/upload.php | 1,409 ▲9 | 4.19 ▲0.01 | 92.79 ▼5.16 | 42.82 ▼0.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > Warning in wp-content/plugins/wonder-cache/includes/utils.php+154
opendir(wp-content/cache/wonder-cache/): failed to open dir: No such file or directory
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
7 plugin tags: wonder, load, speed, performance, cache...
wonder-cache/wonder-cache.php Passed 13 tests
The primary PHP file in "Wonder Cache" version 0.5 is used by WordPress to initiate all plugin functionality
106 characters long description:
A simple yet powerful caching plugin. It powers and abilities include: superhuman strength and durability.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin684 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 206 | 220 | 684 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
Average class complexity | 53.00 |
▷ Minimum class complexity | 53.00 |
▷ Maximum class complexity | 53.00 |
Average method complexity | 4.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 21 | |
▷ Named functions | 20 | 95.24% |
▷ Anonymous functions | 1 | 4.76% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
There were not PNG files found in your plugin