Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼12.68ms] Passed 4 tests
A check of server-side resources used by Responsive Tabs
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.11 | 41.48 ▼4.30 |
Dashboard /wp-admin | 3.42 ▲0.11 | 46.21 ▼13.03 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 48.93 ▼12.97 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 86.17 ▼20.41 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 38.82 ▲6.18 |
All Tab sets /wp-admin/edit.php?post_type=rtbs_tabs | 3.38 | 36.44 |
Add New /wp-admin/post-new.php?post_type=rtbs_tabs | 3.45 | 51.87 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Responsive Tabs
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,907 ▲161 | 13.61 ▼0.43 | 6.03 ▲4.06 | 41.70 ▼6.22 |
Dashboard /wp-admin | 2,230 ▲45 | 4.84 ▼0.22 | 110.19 ▼29.94 | 41.68 ▼13.40 |
Posts /wp-admin/edit.php | 2,113 ▲21 | 2.01 ▲0.01 | 41.86 ▼5.64 | 36.92 ▲0.68 |
Add New Post /wp-admin/post-new.php | 1,553 ▲30 | 23.13 ▼0.02 | 695.49 ▲34.38 | 64.29 ▲7.05 |
Media Library /wp-admin/upload.php | 1,412 ▲24 | 4.21 ▼0.00 | 98.20 ▼7.11 | 41.93 ▼7.09 |
All Tab sets /wp-admin/edit.php?post_type=rtbs_tabs | 1,102 | 2.39 | 45.50 | 30.35 |
Add New /wp-admin/post-new.php?post_type=rtbs_tabs | 2,630 | 7.85 | 187.15 | 57.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 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-tabs/inc/rtbs-metaboxes-settings.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/responsive-tabs/inc/rtbs-post-type.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/responsive-tabs/inc/rtbs-pro-version-check.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/responsive-tabs/inc/rtbs-metaboxes-help.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/responsive-tabs/inc/rtbs-metaboxes-tabs.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/responsive-tabs/inc/rtbs-text-domain.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/responsive-tabs/inc/rtbs-shortcode.php:84
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/responsive-tabs/inc/rtbs-metaboxes-pro.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/responsive-tabs/inc/rtbs-save-metaboxes.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/responsive-tabs/inc/rtbs-shortcode-column.php:4
- > 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)
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
7 plugin tags: responsive tab, accordion, responsive, shortcode, tab...
responsive-tabs/rtbs.php 85% from 13 tests
The entry point to "Responsive Tabs" version 4.0.6 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 402 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("responsive-tabs.php" instead of "rtbs.php")
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
There were no executable files found in this plugin2,126 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 82 | 36 | 1,180 |
PHP | 13 | 144 | 66 | 598 |
JavaScript | 4 | 148 | 63 | 348 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
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 | 21 | |
▷ Named functions | 21 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/img/dktbs_menu.png | 2.92KB | 0.31KB | ▼ 89.24% |