Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
It is recommended to fix the following installer errors
- The plugin did not install without errors
- > Warning in wp-content/plugins/beek-widget-extention/inc/menu.php+186
Declaration of Bwe_Nav_Walker::start_el(&$output, $item, $depth, $args) should be compatible with Walker_Nav_Menu::start_el(&$output, $data_object, $depth = 0, $args = NULL, $current_object_id = 0)
Server metrics [RAM: ▼1.95MB] [CPU: ▼58.94ms] Passed 4 tests
This is a short check of server-side resources used by Beek Widget Extention
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.04 ▼1.42 | 4.81 ▼38.35 |
Dashboard /wp-admin | 2.06 ▼1.28 | 5.87 ▼58.71 |
Posts /wp-admin/edit.php | 2.06 ▼1.29 | 7.62 ▼46.10 |
Add New Post /wp-admin/post-new.php | 2.06 ▼3.82 | 6.39 ▼92.58 |
Media Library /wp-admin/upload.php | 2.06 ▼1.16 | 5.94 ▼30.64 |
BWE Settings /wp-admin/plugins.php?page=beek-widget-extention/beek-widget-extention.php | 2.07 | 5.61 |
Server storage [IO: ▲0.51MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 59 new files
Database: no new tables, 14 new options
New WordPress options |
---|
widget_beekcalltoaction |
db_upgraded |
widget_beekcustompostlist |
widget_beekcustompostcategory |
widget_recent-posts |
theysaidso_admin_options |
widget_beekcover |
widget_beekcustompostarchive |
widget_beekmenu |
widget_beekimage |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Beek Widget Extention
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,057 ▲311 | 15.14 ▲1.22 | 6.27 ▲4.46 | 40.92 ▼0.12 |
Dashboard /wp-admin | 2,354 ▲166 | 6.46 ▲1.56 | 134.26 ▲19.99 | 44.04 ▼0.40 |
Posts /wp-admin/edit.php | 2,257 ▲165 | 3.44 ▲1.46 | 62.42 ▲20.72 | 36.79 ▼2.27 |
Add New Post /wp-admin/post-new.php | 1,537 ▲18 | 23.36 ▼0.06 | 626.71 ▼19.81 | 36.35 ▼35.89 |
Media Library /wp-admin/upload.php | 1,390 ▲2 | 4.14 ▼0.05 | 84.28 ▼13.89 | 41.32 ▼3.45 |
BWE Settings /wp-admin/plugins.php?page=beek-widget-extention/beek-widget-extention.php | 2,090 | 3.04 | 43.83 | 71.75 |
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
These items require your attention
- This plugin cannot be uninstalled
- > Warning in wp-content/plugins/beek-widget-extention/inc/menu.php+186
Declaration of Bwe_Nav_Walker::start_el(&$output, $item, $depth, $args) should be compatible with Walker_Nav_Menu::start_el(&$output, $data_object, $depth = 0, $args = NULL, $current_object_id = 0)
- Zombie WordPress options detected upon uninstall: 14 options
- widget_theysaidso_widget
- widget_beekcustompostlist
- theysaidso_admin_options
- can_compress_scripts
- widget_beekcalltoaction
- widget_recent-comments
- widget_beekcover
- widget_beekcustompostarchive
- widget_beekcustompostcategory
- widget_beekmenu
- ...
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
Smoke test failed, please fix the following
- > GET request to /wp-admin/plugins.php?page=beek-widget-extention/beek-widget-extention.php
- > Warning in wp-content/plugins/beek-widget-extention/inc/menu.php+186
Declaration of Bwe_Nav_Walker::start_el(&$output, $item, $depth, $args) should be compatible with Walker_Nav_Menu::start_el(&$output, $data_object, $depth = 0, $args = NULL, $current_object_id = 0)
- > GET request to /wp-admin/plugins.php?page=beek-widget-extention/beek-widget-extention.php
- > Notice in wp-content/plugins/beek-widget-extention/beek-widget-extention.php+62
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 10× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/beek-widget-extention/inc/bwe-hook.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/beek-widget-extention/inc/bwe-hook.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/beek-widget-extention/inc/bwe-hook.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/beek-widget-extention/inc/bwe-hook.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/beek-widget-extention/inc/bwe-hook.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/beek-widget-extention/inc/bwe-hook.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/beek-widget-extention/inc/bwe-hook.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/beek-widget-extention/inc/bwe-hook.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/beek-widget-extention/inc/bwe-hook.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/beek-widget-extention/inc/bwe-hook.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, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
7 plugin tags: post, heading, extend, widget, image...
beek-widget-extention/beek-widget-extention.php Passed 13 tests
The main PHP file in "Beek Widget Extention" ver. 0.9.5 adds more information about the plugin and also serves as the entry point for this plugin
60 characters long description:
Will extend the widget of WordPress. And add some shortcode.
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
Success! There were no dangerous files found in this plugin10,931 lines of code in 40 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 14 | 17 | 112 | 6,663 |
PHP | 10 | 145 | 36 | 2,220 |
LESS | 13 | 71 | 35 | 1,745 |
PO File | 1 | 86 | 117 | 191 |
JavaScript | 2 | 4 | 4 | 112 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 43.50 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 133.00 |
Average method complexity | 10.66 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 76.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 44 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 43 | 97.73% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 2.27% |
Functions | 19 | |
▷ Named functions | 18 | 94.74% |
▷ Anonymous functions | 1 | 5.26% |
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
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/bwe-no-thumbnail.png | 15.07KB | 5.47KB | ▼ 63.70% |