Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.93MB] [CPU: ▼38.36ms] Passed 4 tests
A check of server-side resources used by WP Sticky Side Buttons
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 35.89 ▼3.70 |
Dashboard /wp-admin | 3.03 ▼0.32 | 25.08 ▼32.55 |
Posts /wp-admin/edit.php | 3.03 ▼0.33 | 24.40 ▼26.41 |
Add New Post /wp-admin/post-new.php | 3.03 ▼2.86 | 25.42 ▼85.57 |
Media Library /wp-admin/upload.php | 3.03 ▼0.20 | 24.04 ▼8.92 |
WpAJANS-StickyButtons /wp-admin/options-general.php?page=wpajansstickybuttons | 3.03 | 28.31 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 2 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_wpajans_stickybuttons |
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for WP Sticky Side Buttons
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲33 | 14.80 ▲0.14 | 1.59 ▼0.20 | 40.91 ▲3.05 |
Dashboard /wp-admin | 2,210 ▲19 | 5.79 ▲0.83 | 103.47 ▼0.31 | 38.50 ▼3.63 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▼0.05 | 32.61 ▼10.64 | 32.08 ▼6.24 |
Add New Post /wp-admin/post-new.php | 1,531 ▼11 | 23.11 ▲4.90 | 672.43 ▼13.09 | 61.26 ▼3.69 |
Media Library /wp-admin/upload.php | 1,389 ▼2 | 4.20 ▲0.02 | 105.00 ▲7.92 | 48.56 ▲3.25 |
WpAJANS-StickyButtons /wp-admin/options-general.php?page=wpajansstickybuttons | 883 | 2.02 | 22.36 | 27.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Uninstall procedure validation failed for this plugin
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- Zombie tables were found after uninstall: 1 table
- wp_wpajans_stickybuttons
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wpajansstickybuttons
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- > GET request to /wp-admin/options-general.php?page=wpajansstickybuttons
- > Notice in wp-content/plugins/wp-sticky-side-buttons/index.php+97
Undefined index: action
SRP 50% 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 take a closer look at the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to a member function get_var() on null in wp-content/plugins/wp-sticky-side-buttons/index.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% 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
8 plugin tags: wordpress sticky buttons, wordpress sticky side buttons, wordpress button make, wordpress, wordpress button creator...
wp-sticky-side-buttons/index.php 92% from 13 tests
Analyzing the main PHP file in "WP Sticky Side Buttons" version 2.1
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wp-sticky-side-buttons.php" instead of "index.php")
Code Analysis Passed 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
Everything looks great! No dangerous files found in this plugin205 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 34 | 22 | 205 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
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 | 3 | |
▷ Named functions | 3 | 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 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected