Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.01MB] [CPU: ▼11.01ms] Passed 4 tests
This is a short check of server-side resources used by WC Product Tabs Plus
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.11 ▼8.85 |
Dashboard /wp-admin | 3.31 ▼0.04 | 49.97 ▼17.12 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.12 ▼1.41 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 88.40 ▼16.66 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.60 ▲0.09 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by WC Product Tabs Plus
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲29 | 13.15 ▼1.16 | 1.64 ▼0.66 | 42.94 ▼1.26 |
Dashboard /wp-admin | 2,209 ▲21 | 5.91 ▲1.03 | 102.58 ▼15.74 | 41.77 ▲0.50 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.02 ▲0.03 | 35.74 ▼1.20 | 32.74 ▼3.28 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.12 ▲1.90 | 655.31 ▼9.33 | 59.13 ▲12.88 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.14 ▼0.07 | 104.14 ▲2.47 | 44.60 ▼2.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
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
Often overlooked, readme.txt is one of the most important files in your plugin
7 plugin tags: description, tabs, woocommerce, product info, reviews...
wc-product-tabs-plus/wc-product-tabs-plus.php 85% from 13 tests
Analyzing the main PHP file in "WC Product Tabs Plus" version 1.1.1
You should first fix the following items:
- Domain Path: The domain path folder does not exist ("/languages")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected1,265 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 215 | 209 | 839 |
JavaScript | 2 | 70 | 89 | 273 |
CSS | 1 | 9 | 0 | 60 |
Markdown | 2 | 25 | 0 | 49 |
HTML | 1 | 4 | 0 | 44 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 19.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 67.00 |
Average method complexity | 4.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 1 | 20.00% |
Methods | 35 | |
▷ Static methods | 33 | 94.29% |
▷ Public methods | 34 | 97.14% |
▷ Protected methods | 1 | 2.86% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 9 | 69.23% |
▷ Anonymous functions | 4 | 30.77% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected