Benchmarks
Plugin footprint 65% 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.67MB] [CPU: ▼290.95ms] Passed 4 tests
An overview of server-side resources used by MoreSharesForYou - WordPress Sharing Community
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.94 ▲0.22 | 36.87 ▲12.54 |
Dashboard /wp-admin | 2.98 ▼0.08 | 23.93 ▼12.80 |
Posts /wp-admin/edit.php | 2.98 ▼0.13 | 22.77 ▼21.60 |
Add New Post /wp-admin/post-new.php | 2.98 ▼2.45 | 24.81 ▼1,107.11 |
Media Library /wp-admin/upload.php | 2.98 ▼0.03 | 22.76 ▼22.29 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 42 new files
Database: no new tables, 2 new options
New WordPress options |
---|
sx_active_campaigns |
sx_version |
Browser metrics Passed 4 tests
A check of browser resources used by MoreSharesForYou - WordPress Sharing Community
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,740 ▲134 | 16.44 ▲0.91 | 7.48 ▼2.27 | 48.69 ▼1.73 |
Dashboard /wp-admin | 2,989 ▲136 | 6.03 ▲0.25 | 135.30 ▼4.71 | 121.25 ▲13.97 |
Posts /wp-admin/edit.php | 2,835 ▲129 | 2.85 ▲0.16 | 68.65 ▼0.56 | 91.89 ▼7.82 |
Add New Post /wp-admin/post-new.php | 1,948 ▲95 | 18.65 ▼0.31 | 388.00 ▼1.11 | 39.00 ▼81.40 |
Media Library /wp-admin/upload.php | 1,783 ▲11 | 4.98 ▼0.03 | 127.01 ▼25.29 | 123.29 ▲6.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The plugin did not uninstall gracefully
- > User deprecated in wp-includes/functions.php+5211
get_currentuserinfo is deprecated since version 4.5.0! Use wp_get_current_user() instead.
- The uninstall procedure has failed, leaving 2 options in the database
- sx_version
- sx_active_campaigns
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
Almost there! Just fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/social-exchange-plugin/layouts/channel.php
- 6× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function sx() in wp-content/plugins/social-exchange-plugin/layouts/optin_form_content.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function sx() in wp-content/plugins/social-exchange-plugin/layouts/main_page.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/social-exchange-plugin/social-exchange.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/social-exchange-plugin/inc/render.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function sx() in wp-content/plugins/social-exchange-plugin/layouts/optin_form.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/social-exchange-plugin/inc/common.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Donate link: Please fix this invalid URI: ""
- Tags: You are using too many tags: 56 tag instead of maximum 10
social-exchange-plugin/social-exchange.php 92% from 13 tests
The entry point to "MoreSharesForYou - WordPress Sharing Community" version 2.9.5 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("social-exchange-plugin.php" instead of "social-exchange.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected976 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 69 | 13 | 773 |
JavaScript | 4 | 31 | 10 | 118 |
CSS | 2 | 0 | 0 | 85 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for 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.30 |
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 | 33 | |
▷ Named functions | 33 | 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 1 test
Image compression Passed 1 test
PNG files should be compressed to save space and minimize bandwidth usage
25 PNG files occupy 0.06MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/googleplus_16_black.png | 0.63KB | 0.62KB | ▼ 0.62% |
images/play-icon-green-mini.png | 3.62KB | 0.38KB | ▼ 89.47% |
images/linkedin_16_black.png | 0.47KB | 0.40KB | ▼ 13.39% |
images/MSFY_Favicon20x20.png | 5.26KB | 1.20KB | ▼ 77.28% |
images/play-icon-grey.png | 0.57KB | 0.56KB | ▼ 2.39% |