Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▲2.09ms] Passed 4 tests
A check of server-side resources used by Footer widget bundle
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 39.24 ▲0.43 |
Dashboard /wp-admin | 3.43 ▲0.12 | 54.34 ▲6.62 |
Posts /wp-admin/edit.php | 3.54 ▲0.19 | 53.62 ▲6.94 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 94.82 ▲1.01 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 37.79 ▲0.28 |
Server storage [IO: ▲0.92MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 19 new files
Database: no new tables, 11 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
widget_fwb-opening-hour |
widget_fwb-contact-address |
widget_fwb-recent-post |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_fwb-company-profile |
... |
Browser metrics Passed 4 tests
Footer widget bundle: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,943 ▲208 | 14.85 ▲0.47 | 1.86 ▲0.29 | 38.13 ▼2.28 |
Dashboard /wp-admin | 2,342 ▲154 | 6.47 ▲1.59 | 120.96 ▲10.67 | 37.40 ▼5.73 |
Posts /wp-admin/edit.php | 2,251 ▲159 | 3.38 ▲1.34 | 55.30 ▲18.84 | 33.80 ▼0.25 |
Add New Post /wp-admin/post-new.php | 1,530 ▼3 | 23.40 ▲0.36 | 622.29 ▼47.14 | 38.01 ▼18.46 |
Media Library /wp-admin/upload.php | 1,390 ▲2 | 4.14 ▼0.05 | 80.22 ▼35.33 | 40.22 ▼8.26 |
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
- The uninstall procedure has failed, leaving 11 options in the database
- widget_recent-posts
- widget_fwb-opening-hour
- widget_recent-comments
- widget_fwb-contact-address
- db_upgraded
- widget_fwb-company-profile
- can_compress_scripts
- widget_fwb-recent-post
- widget_fwb-latest-post
- widget_theysaidso_widget
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
Please fix the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/footer-widget-bundle/footer-widget.php
- 5× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/footer-widget-bundle/inc/fwb-latest-post.php:11
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/footer-widget-bundle/inc/fwb-recent-post.php:11
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/footer-widget-bundle/inc/fwb-opening-hour.php:11
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/footer-widget-bundle/inc/fwb-company-profile.php:11
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/footer-widget-bundle/inc/fwb-contact-address.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Tags: Too many tags (15 tag instead of maximum 10); only the first 5 tags are used in your directory listing
footer-widget-bundle/footer-widget.php 85% from 13 tests
The main PHP script in "Footer widget bundle" version 1.0.0 is automatically included on every request by WordPress
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 249 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("footer-widget-bundle.php" instead of "footer-widget.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected1,249 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 685 |
PHP | 9 | 37 | 69 | 350 |
CSS | 2 | 1 | 28 | 192 |
JavaScript | 1 | 11 | 0 | 22 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
Average class complexity | 4.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 2.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 15 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 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