Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/wp-bootstrap-tabs/tinymce/tinymce.php+11
Methods with the same name as their class will not be constructors in a future version of PHP; add_bootstraptabs_button has a deprecated constructor
Server metrics [RAM: ▼1.84MB] [CPU: ▼51.05ms] Passed 4 tests
Analyzing server-side resources used by WP Bootstrap Tabs
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.14 ▼1.32 | 5.37 ▼33.56 |
Dashboard /wp-admin | 2.16 ▼1.14 | 7.56 ▼37.69 |
Posts /wp-admin/edit.php | 2.17 ▼1.19 | 7.11 ▼37.23 |
Add New Post /wp-admin/post-new.php | 2.16 ▼3.72 | 6.50 ▼95.71 |
Media Library /wp-admin/upload.php | 2.16 ▼1.06 | 5.76 ▼27.72 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Bootstrap Tabs
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.19 ▼1.19 | 1.71 ▲0.01 | 44.66 ▼6.17 |
Dashboard /wp-admin | 2,204 ▲19 | 5.82 ▲0.95 | 102.92 ▼3.20 | 41.67 ▼1.39 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.99 ▼0.02 | 33.91 ▲0.56 | 32.89 ▼1.71 |
Add New Post /wp-admin/post-new.php | 1,545 ▲8 | 18.64 ▼4.60 | 593.39 ▼95.29 | 52.80 ▼0.62 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.19 ▼0.01 | 97.19 ▼2.40 | 40.80 ▼9.87 |
WP Bootstrap Tabs /wp-admin/wp-bootstrap-tabs.php | 26 | 0.44 | 0.10 | 14.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/wp-bootstrap-tabs/tinymce/tinymce.php+11
Methods with the same name as their class will not be constructors in a future version of PHP; add_bootstraptabs_button has a deprecated constructor
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 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 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function bootstraptabs_url() in wp-content/plugins/wp-bootstrap-tabs/tinymce/tinymce.php:26
- > PHP Fatal error
Uncaught Error: Call to undefined function delete_option() in wp-content/plugins/wp-bootstrap-tabs/uninstall.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/wp-bootstrap-tabs/wp-bootstrap-tabs.php:30
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please take a look at the following user-side issues
- > GET request to /wp-admin/wp-bootstrap-tabs.php
- > Network (severe)
wp-admin/wp-bootstrap-tabs.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Screenshots: Screenshot #1 (Usage on Edit Post Panel) image not found
wp-bootstrap-tabs/wp-bootstrap-tabs.php 92% from 13 tests
Analyzing the main PHP file in "WP Bootstrap Tabs" version 1.0.4
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 343 characters long)
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
Good job! No executable or dangerous file extensions detected754 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 70 | 13 | 338 |
PHP | 3 | 96 | 74 | 299 |
JavaScript | 4 | 46 | 56 | 117 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 15 | |
▷ Named functions | 15 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
5 PNG files occupy 0.09MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/editor-button.png | 13.82KB | 6.00KB | ▼ 56.54% |
images/virtus_logo_wp.png | 18.68KB | 5.84KB | ▼ 68.73% |
images/backupbuddy-img.png | 31.38KB | 30.68KB | ▼ 2.23% |
tinymce/tab.png | 2.04KB | 1.12KB | ▼ 45.12% |
images/sucuri-img.png | 23.50KB | 12.77KB | ▼ 45.65% |