Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.20MB] [CPU: ▲2.40ms] Passed 4 tests
An overview of server-side resources used by WP Reactions Lite
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.10 | 42.41 ▼1.24 |
Dashboard /wp-admin | 3.54 ▲0.24 | 52.35 ▲5.36 |
Posts /wp-admin/edit.php | 3.65 ▲0.29 | 48.92 ▼2.61 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.18 | 97.33 ▲12.61 |
Media Library /wp-admin/upload.php | 3.54 ▲0.31 | 41.47 ▲8.10 |
Support /wp-admin/admin.php?page=wpra-support | 3.54 | 39.48 |
Dashboard /wp-admin/admin.php?page=wpra-dashboard | 3.54 | 41.29 |
Global Activation /wp-admin/admin.php?page=wpra-global-options | 3.54 | 42.30 |
PRO /wp-admin/admin.php?page=wpra-pro | 3.54 | 40.16 |
Server storage [IO: ▲3.24MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 183 new files
Database: 1 new table, 9 new options
New tables |
---|
wp_wpreactions_reacted_users |
New WordPress options |
---|
wpra_lite_version |
widget_recent-comments |
wpra_lite_options |
db_upgraded |
theysaidso_admin_options |
wpra_lite_db_version |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Reactions Lite
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,529 ▲794 | 14.17 ▼0.41 | 15.95 ▲14.22 | 32.18 ▼12.44 |
Dashboard /wp-admin | 2,820 ▲668 | 5.12 ▼0.45 | 111.15 ▲1.74 | 41.12 ▼5.54 |
Posts /wp-admin/edit.php | 2,699 ▲610 | 1.96 ▼0.02 | 38.69 ▲3.64 | 36.36 ▲2.26 |
Add New Post /wp-admin/post-new.php | 6,244 ▲4,711 | 26.07 ▲2.87 | 811.64 ▲162.32 | 55.72 ▼2.99 |
Media Library /wp-admin/upload.php | 2,001 ▲613 | 4.35 ▲0.16 | 98.73 ▼1.68 | 42.47 ▼1.81 |
Support /wp-admin/admin.php?page=wpra-support | 2,487 | 3.43 | 61.10 | 153.24 |
Dashboard /wp-admin/admin.php?page=wpra-dashboard | 2,287 | 3.27 | 49.10 | 95.04 |
Global Activation /wp-admin/admin.php?page=wpra-global-options | 2,821 | 11.11 | 253.36 | 81.61 |
PRO /wp-admin/admin.php?page=wpra-pro | 2,319 | 3.55 | 48.02 | 80.49 |
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
Please fix the following items
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_wpreactions_reacted_users
- This plugin did not uninstall successfully, leaving 9 options in the database
- db_upgraded
- wpra_lite_db_version
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- wpra_lite_version
- widget_recent-comments
- wpra_lite_options
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 32× PHP files output non-empty strings when accessed directly via GET requests (only 10 are shown):
- > /wp-content/plugins/wp-reactions-lite/view/admin/tooltips/fake-counts.php
- > /wp-content/plugins/wp-reactions-lite/view/admin/tooltips/alignment.php
- > /wp-content/plugins/wp-reactions-lite/view/admin/guides/post-activate-emoji.php
- > /wp-content/plugins/wp-reactions-lite/view/admin/tooltips/social-button-style.php
- > /wp-content/plugins/wp-reactions-lite/view/admin/tooltips/heading-global-behavior-chooser.php
- > /wp-content/plugins/wp-reactions-lite/view/admin/metaboxes/stat-single-emoji.php
- > /wp-content/plugins/wp-reactions-lite/view/admin/social-icons/twitter.php
- > /wp-content/plugins/wp-reactions-lite/view/admin/social-icons/facebook.php
- > /wp-content/plugins/wp-reactions-lite/view/front/single-emoji.php
- > /wp-content/plugins/wp-reactions-lite/view/admin/tooltips/social-buttons-behavior.php
- 79× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-reactions-lite/view/admin/option-blocks/alignment.php:9
- > PHP Notice
Undefined variable: data in wp-content/plugins/wp-reactions-lite/view/front/single-emoji.php on line 15
- > PHP Notice
Undefined variable: color in wp-content/plugins/wp-reactions-lite/view/admin/social-icons/facebook.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'WP_Reactions\\Lite\\Helper' not found in wp-content/plugins/wp-reactions-lite/view/admin/steps/regular/styling.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Reactions\\Lite\\Helper' not found in wp-content/plugins/wp-reactions-lite/view/admin/option-blocks/your-emojis-set.php:10
- > PHP Fatal error
Uncaught Error: Class 'WP_Reactions\\Lite\\Helper' not found in wp-content/plugins/wp-reactions-lite/view/admin/steps/regular/finish.php:8
- > PHP Notice
Undefined variable: data in wp-content/plugins/wp-reactions-lite/view/front/single-emoji.php on line 4
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/wp-reactions-lite/view/admin/components/step-control.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-reactions-lite/view/admin/option-blocks/emoji-size.php:9
- > PHP Fatal error
Uncaught Error: Class 'WP_Reactions\\Lite\\FieldManager\\Field' not found in wp-content/plugins/wp-reactions-lite/includes/FieldManager/Select.class.php:4
- > 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 errors were detected
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
7 plugin tags: lottie, reactions, animation, emoticons, facebook like...
wp-reactions-lite/wp-reactions-lite.php 85% from 13 tests
"WP Reactions Lite" version 1.3.10's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Description: Please don't use more than 140 characters for the plugin description (currently 249 characters long)
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
Success! There were no dangerous files found in this plugin19,525 lines of code in 163 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 11 | 1,494 | 69 | 12,656 |
PHP | 81 | 270 | 38 | 3,123 |
SVG | 50 | 0 | 13 | 2,614 |
JavaScript | 6 | 112 | 23 | 872 |
PO File | 1 | 92 | 94 | 246 |
JSON | 14 | 0 | 0 | 14 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 9.06 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 2.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 18 | |
▷ Abstract classes | 1 | 5.56% |
▷ Concrete classes | 17 | 94.44% |
▷ Final classes | 0 | 0.00% |
Methods | 100 | |
▷ Static methods | 26 | 26.00% |
▷ Public methods | 99 | 99.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 1.00% |
Functions | 6 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 6 | 100.00% |
Constants | 11 | |
▷ Global constants | 6 | 54.55% |
▷ Class constants | 5 | 45.45% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
11 PNG files occupy 0.33MB with 0.14MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/banners/affiliates.png | 16.90KB | 8.16KB | ▼ 51.72% |
assets/images/eye.png | 1.12KB | 1.24KB | 0.00% |
assets/images/14days_money_back.png | 80.76KB | 39.79KB | ▼ 50.74% |
assets/images/single_logo_transparent.png | 4.71KB | 2.70KB | ▼ 42.71% |
assets/images/money-back.png | 42.40KB | 15.36KB | ▼ 63.78% |