Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲5.44MB] [CPU: ▲26.72ms] 75% from 4 tests
Server-side resources used by Red Eyes Froggy Buttons
It is recommended to improve the following
- Extra RAM: The extra memory usage should kept under 5MB (currently 5.44MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.25 ▲5.79 | 64.65 ▲23.59 |
Dashboard /wp-admin | 9.27 ▲5.97 | 72.04 ▲27.34 |
Posts /wp-admin/edit.php | 9.27 ▲5.91 | 76.09 ▲29.58 |
Add New Post /wp-admin/post-new.php | 9.98 ▲4.09 | 116.25 ▲26.37 |
Media Library /wp-admin/upload.php | 9.27 ▲6.04 | 67.49 ▲32.26 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 9.27 | 59.75 |
Server storage [IO: ▲4.41MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 251 new files
Database: no new tables, 10 new options
New WordPress options |
---|
widget_theysaidso_widget |
fs_accounts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
fs_active_plugins |
fs_debug_mode |
refbuttons_options |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Red Eyes Froggy Buttons: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,848 ▲86 | 14.22 ▼0.06 | 1.83 ▲0.12 | 28.59 ▼14.45 |
Dashboard /wp-admin | 2,231 ▲51 | 5.49 ▼0.14 | 95.86 ▲1.51 | 44.97 ▲4.56 |
Posts /wp-admin/edit.php | 2,131 ▲31 | 2.01 ▲0.04 | 36.37 ▼3.99 | 37.30 ▼1.67 |
Add New Post /wp-admin/post-new.php | 1,544 ▲18 | 23.10 ▲0.18 | 677.29 ▲104.75 | 48.44 ▼1.85 |
Media Library /wp-admin/upload.php | 1,433 ▲30 | 4.22 ▲0.06 | 95.35 ▼6.29 | 45.24 ▲2.26 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 1,088 | 1.66 | 26.28 | 29.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/red-eyes-froggy-buttons/freemius/includes/class-freemius.php+8546
Undefined property: stdClass::$plugins
- This plugin did not uninstall successfully, leaving 9 options in the database
- fs_active_plugins
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- fs_debug_mode
- widget_recent-posts
- fs_accounts
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)
Even though everything seems fine, this is not an exhaustive test
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
Almost there! Just fix the following items
- 4× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/red-eyes-froggy-buttons/admin/partials/fx-premium-effetcs.php
- > /wp-content/plugins/red-eyes-froggy-buttons/admin/partials/fx-free-effects.php
- > /wp-content/plugins/red-eyes-froggy-buttons/public/partials/red-eyes-froggy-buttons-public-display.php
- > /wp-content/plugins/red-eyes-froggy-buttons/admin/partials/fx-special-effects.php
- 60× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/red-eyes-froggy-buttons/admin/partials/fx-free-effects.php on line 11
- > PHP Notice
Undefined variable: options in wp-content/plugins/red-eyes-froggy-buttons/admin/partials/fx-premium-effetcs.php on line 38
- > PHP Notice
Undefined variable: options in wp-content/plugins/red-eyes-froggy-buttons/admin/partials/fx-special-effects.php on line 34
- > PHP Notice
Undefined variable: options in wp-content/plugins/red-eyes-froggy-buttons/admin/partials/fx-special-effects.php on line 14
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/red-eyes-froggy-buttons/admin/partials/red-eyes-froggy-buttons-admin-effects-display.php:17
- > PHP Notice
Undefined variable: options in wp-content/plugins/red-eyes-froggy-buttons/admin/partials/fx-premium-effetcs.php on line 58
- > PHP Notice
Undefined variable: options in wp-content/plugins/red-eyes-froggy-buttons/admin/partials/fx-special-effects.php on line 59
- > PHP Notice
Undefined variable: options in wp-content/plugins/red-eyes-froggy-buttons/admin/partials/fx-special-effects.php on line 69
- > PHP Notice
Undefined variable: options in wp-content/plugins/red-eyes-froggy-buttons/admin/partials/fx-premium-effetcs.php on line 18
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/red-eyes-froggy-buttons/admin/partials/fx-special-effects.php on line 59
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
3 plugin tags: hover effects, buttons, css3
red-eyes-froggy-buttons/red-eyes-froggy-buttons.php Passed 13 tests
The primary PHP file in "Red Eyes Froggy Buttons" version 1.2.8 is used by WordPress to initiate all plugin functionality
80 characters long description:
Apply stunning customized hover effects to all your WordPress links and buttons.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected43,826 lines of code in 192 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 135 | 8,299 | 17,973 | 35,178 |
CSS | 44 | 937 | 258 | 5,545 |
JavaScript | 13 | 442 | 484 | 3,103 |
PHP code 50% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Please fix the following
- Class cyclomatic complexity has to be reduced to less than 1000 (currently 3,096)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 79.19 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,096.00 |
Average method complexity | 4.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 58 | |
▷ Abstract classes | 2 | 3.45% |
▷ Concrete classes | 56 | 96.55% |
▷ Final classes | 0 | 0.00% |
Methods | 1,316 | |
▷ Static methods | 201 | 15.27% |
▷ Public methods | 911 | 69.22% |
▷ Protected methods | 17 | 1.29% |
▷ Private methods | 388 | 29.48% |
Functions | 105 | |
▷ Named functions | 105 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 153 | |
▷ Global constants | 106 | 69.28% |
▷ Class constants | 47 | 30.72% |
▷ Public constants | 47 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
8 PNG files occupy 0.24MB with 0.14MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/banner2-772x250.png | 67.14KB | 20.71KB | ▼ 69.15% |
assets/icon-128x128.png | 16.32KB | 5.81KB | ▼ 64.42% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
admin/images/logo-plugin.png | 15.62KB | 7.16KB | ▼ 54.15% |
assets/icon-256x256.png | 39.77KB | 13.02KB | ▼ 67.26% |