Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Please fix the following installer errors
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/bdwebteam-recent-post-tabs-widget/bdwebteam-recent-post-tabs-widget.php+41
Function create_function() is deprecated
Server metrics [RAM: ▼1.81MB] [CPU: ▼54.31ms] Passed 4 tests
A check of server-side resources used by bdwebteam recent post tabs widget
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.19 ▼1.27 | 5.32 ▼35.99 |
Dashboard /wp-admin | 2.21 ▼1.14 | 6.12 ▼54.95 |
Posts /wp-admin/edit.php | 2.21 ▼1.15 | 6.24 ▼41.32 |
Add New Post /wp-admin/post-new.php | 2.21 ▼3.68 | 6.20 ▼84.96 |
Media Library /wp-admin/upload.php | 2.21 ▼1.02 | 6.89 ▼27.44 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_bdwebteam-recent-post-tabs-widget |
Browser metrics Passed 4 tests
An overview of browser requirements for bdwebteam recent post tabs widget
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲49 | 14.36 ▼0.27 | 2.12 ▲0.37 | 43.53 ▼0.24 |
Dashboard /wp-admin | 2,200 ▲20 | 5.64 ▲0.07 | 89.40 ▼5.90 | 42.35 ▲5.40 |
Posts /wp-admin/edit.php | 2,102 ▲2 | 1.99 ▼0.02 | 33.82 ▼8.44 | 34.38 ▼0.15 |
Add New Post /wp-admin/post-new.php | 1,530 ▲2 | 23.68 ▲0.50 | 681.78 ▲30.36 | 66.34 ▲12.73 |
Media Library /wp-admin/upload.php | 1,399 ▼1 | 4.24 ▲0.07 | 101.59 ▲3.36 | 43.84 ▲1.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/bdwebteam-recent-post-tabs-widget/bdwebteam-recent-post-tabs-widget.php+41
Function create_function() is deprecated
- Zombie WordPress options detected upon uninstall: 7 options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_bdwebteam-recent-post-tabs-widget
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Congratulations! This plugin passed the SRP test
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 86% from 29 tests
readme.txt 81% 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 need to be fixed:
- Screenshots: Please describe screenshot #3 in bdwebteam-recent-post-tabs-widget/assets to your readme.txt
- Tags: Please delete some tags, you are using 14 tag instead of maximum 10
- Screenshots: Screenshot #1 (Admin interface .) image missing
bdwebteam-recent-post-tabs-widget/bdwebteam-recent-post-tabs-widget.php 92% from 13 tests
This is the main PHP file of "bdwebteam recent post tabs widget" version 1.0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
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
Success! There were no dangerous files found in this plugin603 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 137 | 124 | 487 |
JavaScript | 2 | 25 | 12 | 70 |
PO File | 1 | 6 | 5 | 24 |
CSS | 1 | 0 | 12 | 22 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 42.00 |
▷ Minimum class complexity | 42.00 |
▷ Maximum class complexity | 42.00 |
Average method complexity | 5.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.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 | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin