Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼12.51ms] Passed 4 tests
A check of server-side resources used by Fixed Widget and Sticky Elements for WordPress
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.12 | 41.79 ▼25.48 |
Dashboard /wp-admin | 3.42 ▲0.07 | 47.87 ▼16.71 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 47.72 ▲1.68 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 92.37 ▼9.51 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 42.44 ▲7.43 |
Fixed Widget /wp-admin/themes.php?page=q2w3_fixed_widget | 3.47 | 34.81 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Fixed Widget and Sticky Elements for WordPress: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,811 ▲40 | 13.34 ▼1.01 | 2.92 ▲1.01 | 43.16 ▼0.54 |
Dashboard /wp-admin | 2,212 ▲24 | 5.91 ▲0.02 | 94.62 ▼8.43 | 39.31 ▼5.36 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 2.04 ▲0.05 | 41.91 ▲9.63 | 33.36 ▲0.29 |
Add New Post /wp-admin/post-new.php | 1,530 ▼12 | 23.02 ▲4.98 | 639.51 ▲9.73 | 63.40 ▲13.86 |
Media Library /wp-admin/upload.php | 1,394 ▲3 | 4.21 ▲0.09 | 96.97 ▼6.77 | 43.55 ▼0.18 |
Fixed Widget /wp-admin/themes.php?page=q2w3_fixed_widget | 1,077 | 2.12 | 40.21 | 42.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/q2w3-fixed-widget/q2w3-fixed-widget.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 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
Attributes that require attention:
- Screenshots: A description for screenshot #4 is missing in q2w3-fixed-widget/assets to your readme.txt
q2w3-fixed-widget/q2w3-fixed-widget.php 92% from 13 tests
"Fixed Widget and Sticky Elements for WordPress" version 6.2.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 154 characters long)
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
There were no executable files found in this plugin2,366 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 309 | 267 | 1,949 |
PHP | 3 | 115 | 141 | 378 |
CSS | 1 | 7 | 1 | 39 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 73.00 |
▷ Minimum class complexity | 73.00 |
▷ Maximum class complexity | 73.00 |
Average method complexity | 3.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 27 | 100.00% |
▷ Public methods | 20 | 74.07% |
▷ Protected methods | 6 | 22.22% |
▷ Private methods | 1 | 3.70% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 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
No PNG files were detected