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.55MB] [CPU: ▼0.57ms] Passed 4 tests
Server-side resources used by WordPress Social Reaction Plugin - Reaction Buttons For Wordpress
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.08 ▲0.61 | 50.47 ▲7.21 |
Dashboard /wp-admin | 3.85 ▲0.54 | 53.62 ▲1.77 |
Posts /wp-admin/edit.php | 3.96 ▲0.60 | 52.00 ▲0.57 |
Add New Post /wp-admin/post-new.php | 6.43 ▲0.53 | 106.28 ▼11.85 |
Media Library /wp-admin/upload.php | 3.77 ▲0.54 | 44.32 ▲8.23 |
Server storage [IO: ▲0.39MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 41 new files
Database: no new tables, 10 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_heateor_rb_floating |
widget_heateor_rb_standard |
widget_theysaidso_widget |
heateor_rb |
heateor_rb_version |
Browser metrics Passed 4 tests
A check of browser resources used by WordPress Social Reaction Plugin - Reaction Buttons For Wordpress
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲68 | 14.73 ▲0.57 | 1.74 ▼0.05 | 43.44 ▼0.97 |
Dashboard /wp-admin | 2,195 ▲15 | 5.59 ▼0.05 | 94.33 ▲2.06 | 85.20 ▲45.10 |
Posts /wp-admin/edit.php | 2,121 ▲21 | 1.98 ▼0.04 | 38.85 ▲2.82 | 34.42 ▼2.35 |
Add New Post /wp-admin/post-new.php | 6,420 ▲4,889 | 27.96 ▲4.98 | 918.34 ▲287.24 | 61.05 ▲3.52 |
Media Library /wp-admin/upload.php | 1,409 ▲12 | 4.14 ▼0.09 | 100.54 ▼3.19 | 78.88 ▲36.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- 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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 4× PHP files output text when accessed directly:
- > /wp-content/plugins/reaction-buttons-by-heateor/reaction-buttons-by-heateor.php
- > /wp-content/plugins/reaction-buttons-by-heateor/uninstall.php
- > /wp-content/plugins/reaction-buttons-by-heateor/admin/partials/reaction-buttons-for-wordpress-options-page.php
- > /wp-content/plugins/reaction-buttons-by-heateor/admin/partials/reaction-buttons-for-wordpress-about.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/reaction-buttons-by-heateor/includes/reaction-buttons-for-wordpress-widgets.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Tags: Too many tags (13 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: These screenshots do not have images: #1 (**Free Icon Customization**: Customizable in thousands of ways), #2 (**Icon Customization Options**: Icon Customization options), #3 (**Reaction Services**: Over 100 Reaction and Bookmarking services), #4 (**Universal Reaction Popup**: Universal Reaction popup having all the supported reaction and bookmarking services)
reaction-buttons-by-heateor/reaction-buttons-by-heateor.php Passed 13 tests
The principal PHP file in "WordPress Social Reaction Plugin - Reaction Buttons For Wordpress" v. 1.0 is loaded by WordPress automatically on each request
70 characters long description:
Integrate Reaction buttons. Happy, Sad, Lol, Love, Wow, Angry and Like
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin3,587 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 509 | 679 | 3,198 |
JavaScript | 3 | 18 | 11 | 347 |
SVG | 7 | 0 | 0 | 39 |
CSS | 3 | 0 | 0 | 3 |
PHP code 50% from 2 tests
This plugin's cyclomatic complexity and code structure detailed below
It is recommended to fix the following
- Method cyclomatic complexity should be reduced to less than 100 (currently 151)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.85 |
Average class complexity | 94.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 390.00 |
Average method complexity | 11.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 151.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 64 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 53 | 82.81% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 11 | 17.19% |
Functions | 8 | |
▷ Named functions | 6 | 75.00% |
▷ Anonymous functions | 2 | 25.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in 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 |
images/logo.png | 0.25KB | 0.27KB | 0.00% |
images/social_icons.png | 5.91KB | 2.95KB | ▼ 50.04% |
images/close.png | 1.45KB | 1.66KB | 0.00% |
images/transparent_bg.png | 0.91KB | 0.09KB | ▼ 89.70% |
images/star.png | 0.65KB | 0.72KB | 0.00% |