Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/cdn-buster/EzOptions.php+480
Methods with the same name as their class will not be constructors in a future version of PHP; EzMiniTab has a deprecated constructor
Server metrics [RAM: ▲0.07MB] [CPU: ▲0.28ms] Passed 4 tests
An overview of server-side resources used by CDN Buster
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 41.11 ▼0.20 |
Dashboard /wp-admin | 3.41 ▲0.11 | 47.95 ▼0.69 |
Posts /wp-admin/edit.php | 3.46 ▲0.11 | 48.19 ▲2.23 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 95.09 ▲2.51 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 35.25 ▼0.20 |
Server storage [IO: ▲0.57MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for CDN Buster
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲47 | 13.35 ▼1.23 | 1.71 ▼0.04 | 43.27 ▼6.04 |
Dashboard /wp-admin | 2,210 ▲22 | 4.85 ▼0.04 | 109.63 ▲2.41 | 40.91 ▼1.69 |
Posts /wp-admin/edit.php | 2,093 ▲7 | 1.99 ▲0.01 | 41.89 ▲4.33 | 35.00 ▲0.81 |
Add New Post /wp-admin/post-new.php | 1,522 ▲2 | 22.98 ▼0.08 | 573.46 ▼91.87 | 55.73 ▲0.99 |
Media Library /wp-admin/upload.php | 1,395 ▲16 | 4.24 ▼0.04 | 95.51 ▼9.91 | 43.40 ▼0.18 |
CDN Buster Lite /wp-admin/cdn-buster.php | 26 | 0.44 | 0.08 | 13.99 |
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
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
Please fix the following items
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/cdn-buster/EzOptions.php:544
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/cdn-buster/myPlugins.php:300
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following browser errors
- > GET request to /wp-admin/cdn-buster.php
- > Network (severe)
wp-admin/cdn-buster.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Screenshot #1 (CDN Buster admin page.) image not found
cdn-buster/cdn-buster.php Passed 13 tests
The primary PHP file in "CDN Buster" version 1.50 is used by WordPress to initiate all plugin functionality
66 characters long description:
A tool to invalidate the files cached on your CDN server en masse.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin2,917 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 236 | 67 | 1,801 |
JavaScript | 1 | 51 | 134 | 1,116 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 10.38 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 54.00 |
Average method complexity | 2.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 16 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 16 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 95 | |
▷ Static methods | 4 | 4.21% |
▷ Public methods | 95 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
5 PNG files occupy 0.20MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 176.13KB | 44.53KB | ▼ 74.72% |
img/ezpaypal.png | 9.22KB | 3.44KB | ▼ 62.72% |
ezpaypal.png | 9.22KB | 3.44KB | ▼ 62.72% |
img/ezsupport.png | 3.13KB | 2.01KB | ▼ 35.75% |
ezsupport.png | 3.13KB | 2.01KB | ▼ 35.75% |