Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
These installer errors require your attention
- This plugin did not install gracefully
- > Notice in wp-content/plugins/sticky-side-buttons/ssb-ui.php+34
Trying to access array offset on value of type bool
Server metrics [RAM: ▼1.96MB] [CPU: ▼52.44ms] Passed 4 tests
A check of server-side resources used by Sticky Side Buttons
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.44 | 9.46 ▼24.64 |
Dashboard /wp-admin | 2.05 ▼1.26 | 6.28 ▼38.47 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 6.99 ▼53.11 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 5.88 ▼92.14 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 6.41 ▼26.05 |
Server storage [IO: ▲3.89MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 32 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
ssb_settings |
widget_recent-posts |
ssb_showoncpt |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Sticky Side Buttons
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,968 ▲197 | 14.59 ▲0.01 | 11.79 ▲10.07 | 43.14 ▲5.93 |
Dashboard /wp-admin | 2,244 ▲61 | 5.51 ▲0.56 | 118.57 ▼10.30 | 44.87 ▲0.01 |
Posts /wp-admin/edit.php | 2,146 ▲54 | 2.37 ▲0.40 | 38.09 ▼4.58 | 34.48 ▼5.35 |
Add New Post /wp-admin/post-new.php | 1,551 ▲30 | 23.63 ▲0.39 | 650.71 ▼28.81 | 37.57 ▼21.59 |
Media Library /wp-admin/upload.php | 1,432 ▲44 | 4.76 ▲0.55 | 93.62 ▼17.19 | 41.23 ▼6.15 |
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
Please fix the following items
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/sticky-side-buttons/ssb-ui.php+34
Trying to access array offset on value of type bool
- This plugin did not uninstall successfully, leaving 8 options in the database
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- ssb_showoncpt
- widget_theysaidso_widget
- ssb_settings
- widget_recent-comments
Smoke tests 75% 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 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/sticky-side-buttons/sticky-side-buttons.php:52
- > 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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Screenshots: A description for screenshot #7 is missing in sticky-side-buttons/assets to your readme.txt
sticky-side-buttons/sticky-side-buttons.php 92% from 13 tests
The main PHP script in "Sticky Side Buttons" version 1.0.9 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
Code Analysis Passed 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
Success! There were no dangerous files found in this plugin16,006 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 4 | 0 | 0 | 6,940 |
JavaScript | 3 | 76 | 22 | 5,368 |
CSS | 4 | 1,343 | 25 | 3,193 |
PHP | 3 | 116 | 137 | 505 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 39.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 66.00 |
Average method complexity | 6.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin