Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/simple-zippyshare-embed/zippy-embed.php+239
Methods with the same name as their class will not be constructors in a future version of PHP; zippy_widget has a deprecated constructor
Server metrics [RAM: ▼1.76MB] [CPU: ▼188.53ms] Passed 4 tests
Server-side resources used by Simple Zippyshare Embed
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.87 ▼0.85 | 5.48 ▼16.75 |
Dashboard /wp-admin | 1.89 ▼1.16 | 6.63 ▼39.71 |
Posts /wp-admin/edit.php | 1.89 ▼1.21 | 7.29 ▼34.80 |
Add New Post /wp-admin/post-new.php | 1.89 ▼3.54 | 5.59 ▼649.78 |
Media Library /wp-admin/upload.php | 1.89 ▼1.11 | 5.70 ▼29.83 |
Simple Zippyshare Embed /wp-admin/options-general.php?page=simple-zippyshare-embed/zippy-embed.php | 1.89 | 5.58 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 9 new files
Database: no new tables, 10 new options
New WordPress options |
---|
zippydownbutt |
zippyauto |
zippywidth |
zippyvol |
zippytext |
zippyborder |
zippyplay |
zippyback |
zippywave |
widget_zippy_widget |
Browser metrics Passed 4 tests
Simple Zippyshare Embed: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,684 ▲88 | 15.89 ▲0.19 | 12.12 ▲0.42 | 51.50 ▼0.61 |
Dashboard /wp-admin | 2,975 ▲44 | 6.08 ▲0.13 | 130.51 ▼7.79 | 112.17 ▼4.04 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.71 ▼0.00 | 70.39 ▲7.02 | 89.05 ▲0.70 |
Add New Post /wp-admin/post-new.php | 1,597 ▲97 | 18.56 ▼0.21 | 417.27 ▲34.43 | 132.04 ▲18.83 |
Media Library /wp-admin/upload.php | 1,812 ▼4 | 5.01 ▼0.04 | 164.34 ▲6.61 | 118.47 ▲7.68 |
Simple Zippyshare Embed /wp-admin/options-general.php?page=simple-zippyshare-embed/zippy-embed.php | 1,258 | 2.06 | 53.92 | 78.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/simple-zippyshare-embed/zippy-embed.php+239
Methods with the same name as their class will not be constructors in a future version of PHP; zippy_widget has a deprecated constructor
- This plugin does not fully uninstall, leaving 1 option in the database
- widget_zippy_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=simple-zippyshare-embed/zippy-embed.php
- > Deprecated in wp-content/plugins/simple-zippyshare-embed/zippy-embed.php+239
Methods with the same name as their class will not be constructors in a future version of PHP; zippy_widget has a deprecated constructor
- > GET request to /wp-admin/options-general.php?page=simple-zippyshare-embed/zippy-embed.php
- > Deprecated in wp-content/plugins/simple-zippyshare-embed/zippy-embed.php+327
Function create_function() is deprecated
- > GET request to /wp-admin/options-general.php?page=simple-zippyshare-embed/zippy-embed.php
- > User deprecated in wp-includes/functions.php+5304
The called constructor method for WP_Widget in zippy_widget is deprecated since version 4.3.0! Use __construct() instead.
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 take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/simple-zippyshare-embed/zippy-embed.php:29
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: These screenshots require images: #1 (Plugin settings page), #2 (You must only put some Zippyshare links to your Wordpress content), #3 (Working plugin)
- Tags: Please delete some tags, you are using 16 tag instead of maximum 10
simple-zippyshare-embed/zippy-embed.php 92% from 13 tests
The entry point to "Simple Zippyshare Embed" version 1.7 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("simple-zippyshare-embed.php" instead of "zippy-embed.php")
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
Everything looks great! No dangerous files found in this plugin274 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 57 | 54 | 216 |
PO File | 1 | 21 | 24 | 58 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 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
4 PNG files occupy 0.06MB with 0.03MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 7.26KB | 5.15KB | ▼ 29.08% |
images/download_button.png | 10.79KB | 4.58KB | ▼ 57.58% |
screenshot-1.png | 19.52KB | 10.15KB | ▼ 47.99% |
screenshot-3.png | 22.45KB | 12.21KB | ▼ 45.63% |