Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.51MB] [CPU: ▲1.98ms] Passed 4 tests
Analyzing server-side resources used by Tab Ultimate
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.00 ▲0.53 | 42.33 ▲3.68 |
Dashboard /wp-admin | 3.85 ▲0.50 | 50.55 ▼3.86 |
Posts /wp-admin/edit.php | 3.90 ▲0.54 | 46.80 ▲2.66 |
Add New Post /wp-admin/post-new.php | 6.44 ▲0.55 | 100.83 ▲5.43 |
Media Library /wp-admin/upload.php | 3.71 ▲0.48 | 39.47 ▲7.06 |
Tabs Free /wp-admin/edit.php?post_type=tp_tab_pro | 3.82 | 39.49 |
Add New Tab /wp-admin/post-new.php?post_type=tp_tab_pro | 3.95 | 53.16 |
Server storage [IO: ▲1.55MB] [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: 72 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Tab Ultimate
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,927 ▲166 | 13.83 ▼0.52 | 8.43 ▲6.84 | 45.25 ▲4.46 |
Dashboard /wp-admin | 2,220 ▲40 | 5.59 ▼0.08 | 82.07 ▼2.72 | 39.18 ▼2.33 |
Posts /wp-admin/edit.php | 2,131 ▲28 | 2.01 ▼0.03 | 36.27 ▲1.00 | 32.02 ▼3.79 |
Add New Post /wp-admin/post-new.php | 1,565 ▲39 | 23.56 ▲0.54 | 578.34 ▼105.81 | 31.70 ▼27.59 |
Media Library /wp-admin/upload.php | 1,434 ▲31 | 4.16 ▼0.08 | 96.05 ▼4.62 | 41.64 ▼3.70 |
Tabs Free /wp-admin/edit.php?post_type=tp_tab_pro | 1,125 | 2.26 | 34.43 | 30.65 |
Add New Tab /wp-admin/post-new.php?post_type=tp_tab_pro | 5,516 | 5.82 | 127.12 | 40.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
The following issues need your attention
- 5× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/tabs-pro/metabox/example-functions.php:104
- > PHP Warning
Use of undefined constant WP_CONTENT_URL - assumed 'WP_CONTENT_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/tabs-pro/metabox/custom-meta-boxes-free.php on line 46
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tabs-pro/metabox/classes.fields.php:581
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tabs-pro/metabox/classes.fields.php:581
- > PHP Warning
Use of undefined constant WP_CONTENT_DIR - assumed 'WP_CONTENT_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/tabs-pro/metabox/custom-meta-boxes-free.php on line 46
- > 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)
There are user-side issues you should fix
- > GET request to /wp-admin/edit.php?post_type=tp_tab_pro
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: jQuery(...).sortable is not a function" "TypeError: jQuery(...).sortable is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/tabs-pro/admin/js/color-picker.js?ver=6.3.1:2:25)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/edit.php?post_type=tp_tab_pro
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: jQuery(...).sortable is not a function
Optimizations
Plugin configuration 86% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
9 plugin tags: tabs plugin jquery, tab, tabs short-code, tabs plugin, tabs...
tabs-pro/tptabs-ultimate.php 69% from 13 tests
The entry point to "Tab Ultimate" version 1.4 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("tabs-pro.php" instead of "tptabs-ultimate.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Domain Path: The domain path folder was not found ("/languages")
- Description: The description should be shorter than 140 characters (currently 149 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected13,833 lines of code in 42 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 19 | 302 | 181 | 5,633 |
JavaScript | 13 | 823 | 522 | 3,205 |
SVG | 1 | 0 | 0 | 2,671 |
PHP | 8 | 813 | 375 | 2,292 |
PO File | 1 | 8 | 10 | 32 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 61.00 |
Average method complexity | 2.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 22 | |
▷ Abstract classes | 1 | 4.55% |
▷ Concrete classes | 21 | 95.45% |
▷ Final classes | 0 | 0.00% |
Methods | 92 | |
▷ Static methods | 2 | 2.17% |
▷ Public methods | 88 | 95.65% |
▷ Protected methods | 1 | 1.09% |
▷ Private methods | 3 | 3.26% |
Functions | 30 | |
▷ Named functions | 30 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
18 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
metabox/images/cmb-icon-remove.png | 1.00KB | 0.14KB | ▼ 85.64% |
metabox/images/cmb-icon-remove@2x.png | 1.14KB | 0.23KB | ▼ 79.47% |
metabox/css/vendor/jquery-ui/images/ui-icons_2e83ff_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
metabox/css/vendor/jquery-ui/images/ui-bg_flat_75_ffffff_40x100.png | 0.20KB | 0.08KB | ▼ 58.17% |
metabox/css/vendor/jquery-ui/images/ui-icons_888888_256x240.png | 6.83KB | 4.17KB | ▼ 38.92% |