Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼141.54ms] Passed 4 tests
A check of server-side resources used by Super Share
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.13 | 36.46 ▲11.12 |
Dashboard /wp-admin | 3.07 ▲0.01 | 45.23 ▼0.22 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 47.44 ▲0.61 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.00 | 96.64 ▼557.26 |
Media Library /wp-admin/upload.php | 3.01 ▲0.00 | 35.03 ▼9.27 |
Super Share Settings /wp-admin/options-general.php?page=mb-supershare-settings | 2.96 | 28.33 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 1 new option
New WordPress options |
---|
mbsupershare_settings |
Browser metrics Passed 4 tests
Super Share: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,819 ▲182 | 16.49 ▲1.03 | 10.97 ▲0.96 | 50.66 ▼2.32 |
Dashboard /wp-admin | 2,982 ▲48 | 5.93 ▲0.01 | 144.62 ▼3.33 | 113.27 ▼18.13 |
Posts /wp-admin/edit.php | 2,748 ▲9 | 2.69 ▲0.00 | 75.12 ▲3.70 | 105.96 ▲3.91 |
Add New Post /wp-admin/post-new.php | 1,516 ▼88 | 21.02 ▲2.15 | 374.03 ▲3.54 | 115.78 ▼8.63 |
Media Library /wp-admin/upload.php | 1,819 ▲12 | 5.02 ▼0.00 | 155.14 ▼0.33 | 127.05 ▼4.28 |
Super Share Settings /wp-admin/options-general.php?page=mb-supershare-settings | 1,364 | 3.35 | 77.61 | 99.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 1 option in the database
- mbsupershare_settings
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=mb-supershare-settings
- > User deprecated in wp-includes/functions.php+5221
screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=mb-supershare-settings
- > User deprecated in wp-includes/functions.php+5221
get_screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=mb-supershare-settings
- > Notice in wp-content/plugins/super-share/mb_supershare_options.php+69
Undefined index: twittervia
- > GET request to /wp-admin/options-general.php?page=mb-supershare-settings
- > Notice in wp-content/plugins/super-share/mb_supershare_options.php+76
Undefined index: showonload
- > GET request to /wp-admin/options-general.php?page=mb-supershare-settings
- > Notice in wp-content/plugins/super-share/mb_supershare_options.php+84
Undefined index: feedburnerid
- > GET request to /wp-admin/options-general.php?page=mb-supershare-settings
- > Notice in wp-content/plugins/super-share/mb_supershare_options.php+93
Undefined index: showbacklink
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/super-share/feedburner_form.php
- > /wp-content/plugins/super-share/socialmedia_icons.php
- 17× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/super-share/socialmedia_icons.php on line 39
- > PHP Notice
Undefined variable: mb_supershare_options in wp-content/plugins/super-share/socialmedia_icons.php on line 57
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/super-share/socialmedia_icons.php on line 57
- > PHP Notice
Undefined variable: mb_supershare_options in wp-content/plugins/super-share/feedburner_form.php on line 6
- > PHP Notice
Undefined variable: mb_supershare_options in wp-content/plugins/super-share/socialmedia_icons.php on line 39
- > PHP Notice
Undefined variable: mb_supershare_options in wp-content/plugins/super-share/socialmedia_icons.php on line 77
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/super-share/super-share.php:13
- > PHP Notice
Undefined variable: mb_supershare_options in wp-content/plugins/super-share/socialmedia_icons.php on line 67
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/super-share/feedburner_form.php on line 6
- > PHP Notice
Undefined variable: mb_supershare_options in wp-content/plugins/super-share/feedburner_form.php on line 7
- > PHP Notice
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)
Everything seems fine on the user side
Optimizations
Plugin configuration 96% 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
5 plugin tags: wordpress social plugin, social sharing plugin, social sharing buttons, feedburner, subscription
super-share/super-share.php 92% from 13 tests
"Super Share" version 1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 199 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin554 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 58 | 23 | 347 |
CSS | 1 | 20 | 9 | 202 |
JavaScript | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
snacks/facebook.png | 4.22KB | 2.65KB | ▼ 37.25% |
snacks/twitter.png | 4.34KB | 2.66KB | ▼ 38.84% |
img/struckaxiom.png | 0.42KB | 0.34KB | ▼ 18.14% |