Benchmarks
Plugin footprint 65% 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.46MB] [CPU: ▲2.62ms] Passed 4 tests
Analyzing server-side resources used by WP Responsive Tabs horizontal vertical and accordion Tabs
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.93 ▲0.46 | 45.65 ▲6.54 |
Dashboard /wp-admin | 3.77 ▲0.47 | 49.07 ▲2.07 |
Posts /wp-admin/edit.php | 3.88 ▲0.53 | 47.96 ▼0.94 |
Add New Post /wp-admin/post-new.php | 6.35 ▲0.47 | 94.57 ▲7.43 |
Media Library /wp-admin/upload.php | 3.69 ▲0.46 | 38.39 ▲2.81 |
Manage Tabs /wp-admin/admin.php?page=rt_wp_responsive_tabs_management | 3.66 | 37.75 |
Preview Tabs /wp-admin/admin.php?page=rt_wp_responsive_tabs_preview | 3.69 | 42.43 |
Tab Sets /wp-admin/admin.php?page=rt_wp_responsive_tabs | 3.69 | 39.64 |
Server storage [IO: ▲0.43MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 18 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_wrt_tabs |
wp_wrt_tabs_settings |
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
wrt_responsive_tabs_msg |
Browser metrics Passed 4 tests
WP Responsive Tabs horizontal vertical and accordion Tabs: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲85 | 13.24 ▼1.30 | 1.69 ▼0.03 | 43.89 ▲2.43 |
Dashboard /wp-admin | 2,237 ▲49 | 4.85 ▼1.15 | 108.73 ▲5.40 | 42.89 ▲2.72 |
Posts /wp-admin/edit.php | 2,120 ▲28 | 2.00 ▼0.02 | 39.41 ▼1.89 | 35.03 ▼1.80 |
Add New Post /wp-admin/post-new.php | 1,539 ▲9 | 17.64 ▼1.06 | 594.74 ▲1.13 | 54.96 ▼4.62 |
Media Library /wp-admin/upload.php | 1,413 ▲22 | 4.18 ▼0.03 | 97.36 ▼0.61 | 40.54 ▼3.59 |
Manage Tabs /wp-admin/admin.php?page=rt_wp_responsive_tabs_management | 1,949 | 5.55 | 90.09 | 78.92 |
Preview Tabs /wp-admin/admin.php?page=rt_wp_responsive_tabs_preview | 1,029 | 3.26 | 39.75 | 22.60 |
Tab Sets /wp-admin/admin.php?page=rt_wp_responsive_tabs | 1,259 | 4.34 | 85.61 | 71.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie tables were found after uninstall: 2 tables
- wp_wrt_tabs_settings
- wp_wrt_tabs
- Zombie WordPress options detected upon uninstall: 7 options
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- wrt_responsive_tabs_msg
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: horizontal tabs, all in one tabs, vertical tabs, wp tabs, responsive tabs...
responsive-horizontal-vertical-and-accordion-tabs/wp-best-responsive-tabs.php 85% from 13 tests
Analyzing the main PHP file in "WP Responsive Tabs horizontal vertical and accordion Tabs" version 1.1.17
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 158 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("responsive-horizontal-vertical-and-accordion-tabs.php" instead of "wp-best-responsive-tabs.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin3,551 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 919 | 25 | 2,407 |
CSS | 3 | 93 | 59 | 760 |
JavaScript | 3 | 133 | 71 | 384 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
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 | 23 | |
▷ Named functions | 21 | 91.30% |
▷ Anonymous functions | 2 | 8.70% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
6 PNG files occupy 0.12MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/asc.png | 0.14KB | 0.12KB | ▼ 13.79% |
images/300x250.png | 34.77KB | 13.75KB | ▼ 60.46% |
images/g-suite-promo-code-4.png | 59.03KB | 17.19KB | ▼ 70.88% |
images/desc.png | 0.16KB | 0.12KB | ▼ 23.31% |
images/m_lg.png | 1.98KB | 0.75KB | ▼ 62.22% |