Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.65ms] Passed 4 tests
A check of server-side resources used by Social Boost: Giveaways and Contests. Grow followers, shares, subscribers, traffic, referrals, sales and more
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 36.05 ▼5.98 |
Dashboard /wp-admin | 3.34 ▼0.01 | 45.31 ▼16.06 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 47.35 ▲6.83 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 80.78 ▼6.52 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 33.39 ▲1.98 |
Social Boost /wp-admin/options-general.php?page=socialboost | 3.27 | 32.39 |
Server storage [IO: ▲0.88MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 42 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
socialboost_register |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Social Boost: Giveaways and Contests. Grow followers, shares, subscribers, traffic, referrals, sales and more
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲47 | 14.67 ▲0.33 | 1.65 ▼0.21 | 40.01 ▼4.22 |
Dashboard /wp-admin | 2,199 ▲21 | 5.61 ▼0.09 | 93.74 ▼24.90 | 38.63 ▼3.62 |
Posts /wp-admin/edit.php | 2,107 ▲4 | 1.96 ▼0.00 | 39.06 ▼0.23 | 35.96 ▼0.53 |
Add New Post /wp-admin/post-new.php | 1,529 ▼10 | 21.31 ▼1.83 | 659.64 ▲53.26 | 52.08 ▲1.98 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.16 ▼0.08 | 95.89 ▼4.03 | 40.38 ▼2.86 |
Social Boost /wp-admin/options-general.php?page=socialboost | 1,082 | 1.94 | 34.05 | 81.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- socialboost_register
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check 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 | 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
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/social-boost/socialboost.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/social-boost/templates/settings.php:4
- > 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)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 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
Attributes that need to be fixed:
- Screenshots: Add descriptions for screenshots #2, #6 in social-boost/assets to your readme.txt
social-boost/socialboost.php 92% from 13 tests
The main file in "Social Boost: Giveaways and Contests. Grow followers, shares, subscribers, traffic, referrals, sales and more" v. 3.2.17 serves as a complement to information provided in readme.txt and as the entry point to the plugin
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-boost.php" instead of "socialboost.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin3,753 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 459 | 137 | 2,131 |
JavaScript | 3 | 280 | 270 | 1,106 |
CSS | 3 | 42 | 38 | 515 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 117.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 246.00 |
Average method complexity | 7.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 45.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 | 58 | |
▷ Static methods | 5 | 8.62% |
▷ Public methods | 52 | 89.66% |
▷ Protected methods | 2 | 3.45% |
▷ Private methods | 4 | 6.90% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 1 | 33.33% |
▷ Class constants | 2 | 66.67% |
▷ Public constants | 2 | 100.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
6 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/icon-link.png | 1.26KB | 0.35KB | ▼ 71.95% |
img/appsmav-logo.png | 5.23KB | 2.71KB | ▼ 48.20% |
img/tick-green.png | 1.11KB | 0.35KB | ▼ 68.64% |
img/Video.png | 0.62KB | 0.63KB | 0.00% |
img/icon-error.png | 1.36KB | 0.78KB | ▼ 43.12% |