Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▼6.15ms] Passed 4 tests
A check of server-side resources used by Responsive Tab with Blocks
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 36.54 ▼4.66 |
Dashboard /wp-admin | 3.46 ▲0.16 | 46.04 ▼3.30 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 43.14 ▼6.81 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.16 | 86.77 ▼9.81 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 35.77 ▲0.23 |
Add New /wp-admin/post-new.php?post_type=grtb_block | 3.43 | 44.35 |
All Tabs /wp-admin/edit.php?post_type=grtb_block | 3.43 | 37.71 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Responsive Tab with Blocks
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,907 ▲161 | 14.02 ▼0.26 | 5.59 ▲3.86 | 40.73 ▼2.76 |
Dashboard /wp-admin | 2,233 ▲42 | 4.88 ▼0.93 | 102.25 ▼2.81 | 41.01 ▼0.74 |
Posts /wp-admin/edit.php | 2,113 ▲38 | 2.05 ▲0.04 | 34.90 ▼7.66 | 32.52 ▼7.24 |
Add New Post /wp-admin/post-new.php | 1,563 ▲30 | 18.38 ▼4.77 | 613.65 ▼68.48 | 48.84 ▼5.18 |
Media Library /wp-admin/upload.php | 1,412 ▲27 | 4.19 ▲0.06 | 94.57 ▼7.35 | 42.18 ▼4.41 |
Add New /wp-admin/post-new.php?post_type=grtb_block | 2,621 | 7.55 | 178.00 | 107.47 |
All Tabs /wp-admin/edit.php?post_type=grtb_block | 1,100 | 2.41 | 46.90 | 30.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/post-new.php?post_type=grtb_block
- > Warning in wp-content/plugins/responsive-tab-blocks/inc/grtb-metaboxes-tabs.php+47
count(): Parameter must be an array or an object that implements Countable
- > GET request to /wp-admin/post-new.php?post_type=grtb_block
- > Notice in wp-content/plugins/responsive-tab-blocks/inc/grtb-metaboxes-tabs.php+291
Undefined variable: member
- > GET request to /wp-admin/post-new.php?post_type=grtb_block
- > Notice in wp-content/plugins/responsive-tab-blocks/inc/grtb-metaboxes-tabs.php+291
Trying to access array offset on value of type null
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
- 13× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/responsive-tab-blocks/inc/grtb-front-scripts.php:4
- > PHP Notice
Undefined variable: gt_breakpoint in wp-content/plugins/responsive-tab-blocks/inc/css/gt-style.php on line 23
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/responsive-tab-blocks/inc/grtb-metaboxes-tabs.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/responsive-tab-blocks/inc/grtb-metaboxes-help.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/responsive-tab-blocks/inc/grtb-metaboxes-settings.php:31
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/responsive-tab-blocks/inc/grtb-shortcode-column.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/responsive-tab-blocks/inc/grtb-text-domain.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/responsive-tab-blocks/inc/grtb-shortcode.php:167
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/responsive-tab-blocks/inc/grtb-save-metaboxes.php:4
- > PHP Notice
Undefined variable: output in wp-content/plugins/responsive-tab-blocks/inc/css/gt-style.php on line 70
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There are user-side issues you should fix
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=grtb_block
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.3.1 1:28609 "jQuery.Deferred exception: $(...).live is not a function" "TypeError: $(...).live is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/responsive-tab-blocks/inc/dmb/dmb.js?ver=6.3.1:378:38)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&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,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.3.1:2:27292)" undefined
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=grtb_block
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.3.1 1:28721 Uncaught TypeError: $(...).live is not a function
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
10 plugin tags: tabs, accordion, responsive, responsive tab, tab icon...
responsive-tab-blocks/grtb.php 77% from 13 tests
The main PHP script in "Responsive Tab with Blocks" version 1.0.0 is automatically included on every request by WordPress
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
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("responsive-tab-blocks.php" instead of "grtb.php")
- Description: Keep the plugin description shorter than 140 characters (currently 164 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected2,106 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 142 | 27 | 830 |
PHP | 12 | 307 | 60 | 758 |
JavaScript | 3 | 166 | 61 | 518 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.57 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 20 | |
▷ Named functions | 20 | 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
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/img/sample-icon.png | 1.31KB | 1.36KB | 0.00% |
inc/img/dktbs_menu.png | 2.92KB | 0.31KB | ▼ 89.24% |
inc/img/btn-before-blue.png | 1.33KB | 1.28KB | ▼ 4.24% |