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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.08MB] [CPU: ▼6.91ms] Passed 4 tests
This is a short check of server-side resources used by Easy Product Tabs For WooCommerce - Adding custom tabs for all products
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 40.64 ▼5.25 |
Dashboard /wp-admin | 3.40 ▲0.06 | 53.07 ▼12.19 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 53.32 ▲5.08 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 91.89 ▼11.43 |
Media Library /wp-admin/upload.php | 3.32 ▲0.10 | 40.25 ▲1.24 |
Server storage [IO: ▲3.32MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Easy Product Tabs For WooCommerce - Adding custom tabs for all products
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲43 | 14.10 ▼0.25 | 1.78 ▼0.07 | 45.11 ▲1.18 |
Dashboard /wp-admin | 2,213 ▲36 | 5.53 ▼0.12 | 85.12 ▼9.13 | 77.22 ▲36.44 |
Posts /wp-admin/edit.php | 2,118 ▲18 | 1.97 ▼0.00 | 39.46 ▲3.66 | 37.29 ▲1.54 |
Add New Post /wp-admin/post-new.php | 1,556 ▲25 | 23.09 ▼0.25 | 616.04 ▼58.47 | 146.70 ▲93.59 |
Media Library /wp-admin/upload.php | 1,409 ▲9 | 4.13 ▼0.09 | 98.66 ▼4.61 | 62.21 ▲14.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > Warning in wp-content/plugins/easy-product-tabs-for-woocommerce/easy-product-tabs-for-woocommerce.php+365
Invalid argument supplied for foreach()
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
4 plugin tags: custom tab, product tab, tab, woocommerce
easy-product-tabs-for-woocommerce/easy-product-tabs-for-woocommerce.php Passed 13 tests
The main PHP script in "Easy Product Tabs For WooCommerce - Adding custom tabs for all products" version 1.0.2 is automatically included on every request by WordPress
96 characters long description:
Built for WooCommerce store owners, make it easy to adding custom tabs showing for all products.
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
Success! There were no dangerous files found in this plugin11,323 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 5 | 2 | 9,171 |
JavaScript | 1 | 1,087 | 1,845 | 1,560 |
PHP | 13 | 138 | 320 | 575 |
JSON | 2 | 0 | 0 | 15 |
HTML | 1 | 0 | 1 | 2 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 13.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 40.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 1 | 14.29% |
Methods | 41 | |
▷ Static methods | 5 | 12.20% |
▷ Public methods | 39 | 95.12% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 4.88% |
Functions | 3 | |
▷ Named functions | 1 | 33.33% |
▷ Anonymous functions | 2 | 66.67% |
Constants | 5 | |
▷ Global constants | 3 | 60.00% |
▷ Class constants | 2 | 40.00% |
▷ Public constants | 2 | 100.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
PNG images were not found in this plugin