Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼0.62ms] Passed 4 tests
An overview of server-side resources used by bunny.net - WordPress CDN Plugin
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 35.76 ▼6.13 |
Dashboard /wp-admin | 3.36 ▲0.06 | 47.40 ▲1.82 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 50.12 ▼0.08 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 90.47 ▲3.43 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 34.91 ▲1.90 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for bunny.net - WordPress CDN Plugin
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,841 ▲106 | 13.30 ▼0.89 | 1.80 ▲0.02 | 40.48 ▼7.51 |
Dashboard /wp-admin | 2,219 ▲31 | 5.83 ▲0.94 | 95.58 ▼12.66 | 40.00 ▼1.84 |
Posts /wp-admin/edit.php | 2,105 ▲13 | 2.03 ▲0.03 | 40.77 ▲0.27 | 35.95 ▼1.60 |
Add New Post /wp-admin/post-new.php | 1,552 ▲18 | 23.16 ▲0.05 | 655.37 ▼3.25 | 50.44 ▲4.18 |
Media Library /wp-admin/upload.php | 1,407 ▲16 | 4.26 ▲0.04 | 94.60 ▼4.37 | 40.82 ▼9.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
4 plugin tags: content delivery network, cdn, bandwidth, performance
bunnycdn/bunnycdn.php 85% from 13 tests
The principal PHP file in "bunny.net - WordPress CDN Plugin" v. 1.0.8 is loaded by WordPress automatically on each request
You should first fix the following items:
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
- Description: Please keep the plugin description shorter than 140 characters (currently 197 characters long)
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 plugin517 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 70 | 69 | 411 |
SVG | 1 | 10 | 1 | 106 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 7.33 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 2.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 8 | 66.67% |
▷ Public methods | 10 | 83.33% |
▷ Protected methods | 2 | 16.67% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.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
2 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/bunnycdn-logo.png | 14.57KB | 6.95KB | ▼ 52.32% |
inc/bunnynet-logo.png | 20.32KB | 8.79KB | ▼ 56.73% |