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.03MB] [CPU: ▼1.77ms] Passed 4 tests
Analyzing server-side resources used by WP Responsive Tabs
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 43.05 ▲3.61 |
Dashboard /wp-admin | 3.32 ▲0.02 | 53.84 ▲1.39 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 49.05 ▼1.69 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 90.39 ▼9.57 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.41 ▲2.78 |
WP Responsive Tabs /wp-admin/options-general.php?page=wprtabs | 3.24 | 38.10 |
Server storage [IO: ▲0.08MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Responsive Tabs
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,880 ▲119 | 13.43 ▼0.80 | 8.72 ▲7.07 | 44.16 ▲2.15 |
Dashboard /wp-admin | 2,197 ▲17 | 5.62 ▼0.09 | 85.72 ▼3.00 | 39.59 ▼2.45 |
Posts /wp-admin/edit.php | 2,108 ▲8 | 2.02 ▲0.03 | 35.01 ▼3.31 | 36.19 ▼1.14 |
Add New Post /wp-admin/post-new.php | 6,417 ▲4,863 | 20.41 ▲2.25 | 1,003.73 ▲378.33 | 40.88 ▼19.80 |
Media Library /wp-admin/upload.php | 1,408 ▲5 | 4.23 ▼0.05 | 110.42 ▲10.48 | 47.96 ▼0.68 |
WP Responsive Tabs /wp-admin/options-general.php?page=wprtabs | 794 | 2.06 | 26.34 | 27.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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
- 9× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-responsive-tabs/index.php on line 15
- > PHP Fatal error
Uncaught Error: Call to undefined function get_include_contents() in wp-content/plugins/wp-responsive-tabs/admin/wprtabs_metabox.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-responsive-tabs/admin/wprtabs_inputs.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-responsive-tabs/admin/wprtabs_settings.php:5
- > PHP Warning
require_once(ABSPATHwp-admin/includes/upgrade.php): failed to open stream: No such file or directory in wp-content/plugins/wp-responsive-tabs/index.php on line 15
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/upgrade.php' (include_path='.:/usr/share/php') in wp-content/plugins/wp-responsive-tabs/index.php on line 15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/wp-responsive-tabs/wprtabs.inc.php:74
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/wp-responsive-tabs/admin/wprtabs_settings.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/wp-responsive-tabs/wprtabs.inc.php:74
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
10 plugin tags: responsive, easy, fahadmahmood, shortcodes, wp responsive tabs...
wp-responsive-tabs/index.php 85% from 13 tests
The main PHP script in "WP Responsive Tabs" version 1.2.8 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wp-responsive-tabs.php" instead of "index.php")
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
Everything looks great! No dangerous files found in this plugin803 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 99 | 60 | 261 |
CSS | 2 | 26 | 4 | 235 |
JavaScript | 2 | 30 | 17 | 170 |
PO File | 3 | 36 | 36 | 137 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
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 | 12 | |
▷ Named functions | 12 | 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
PNG images were not found in this plugin