Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼0.57ms] Passed 4 tests
This is a short check of server-side resources used by Ultimate Tabbed Widgets
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 40.96 ▲1.55 |
Dashboard /wp-admin | 3.37 ▲0.07 | 47.23 ▼4.51 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 45.21 ▼0.52 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 94.26 ▲1.21 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 33.00 ▲3.30 |
Tabbed Widgets /wp-admin/options-general.php?page=ultimate-tabbed-widgets | 3.23 | 30.08 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 25 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_tabbed-widgets |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Ultimate Tabbed Widgets
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲60 | 13.33 ▼1.23 | 1.73 ▼0.06 | 43.89 ▼3.16 |
Dashboard /wp-admin | 2,207 ▲16 | 5.84 ▼0.06 | 104.19 ▼0.33 | 39.11 ▼4.68 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.00 ▼0.05 | 35.97 ▼1.98 | 32.11 ▲0.25 |
Add New Post /wp-admin/post-new.php | 1,536 ▲3 | 23.39 ▲0.18 | 594.18 ▼69.72 | 52.29 ▼2.36 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.25 ▲0.04 | 97.29 ▲0.41 | 40.70 ▼4.72 |
Tabbed Widgets /wp-admin/options-general.php?page=ultimate-tabbed-widgets | 789 | 2.06 | 24.22 | 31.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- theysaidso_admin_options
- widget_tabbed-widgets
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=ultimate-tabbed-widgets
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=ultimate-tabbed-widgets
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
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 items
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_script() in wp-content/plugins/ultimate-tabbed-widgets/templates/tabs.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ultimate-tabbed-widgets/ultimate-tabbed-widgets.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_script() in wp-content/plugins/ultimate-tabbed-widgets/templates/accordion.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: widgets, tabs, sidebar, accordion, widget
ultimate-tabbed-widgets/ultimate-tabbed-widgets.php Passed 13 tests
The main file in "Ultimate Tabbed Widgets" v. 1.1.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
99 characters long description:
Allows to create widget areas that can be turned into tabs or accordion using widgets or shortcodes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin995 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 21 | 30 | 509 |
PO File | 6 | 108 | 132 | 270 |
PHP | 3 | 48 | 26 | 216 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 17 | |
▷ Static methods | 1 | 5.88% |
▷ Public methods | 17 | 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
5 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
theme/images/ui-icons_888888_256x240.png | 6.83KB | 4.17KB | ▼ 38.92% |
theme/images/ui-icons_cd0a0a_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
theme/images/ui-icons_222222_256x240.png | 6.76KB | 4.17KB | ▼ 38.24% |
theme/images/ui-icons_454545_256x240.png | 6.83KB | 4.17KB | ▼ 38.86% |
theme/images/ui-icons_2e83ff_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |