Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲2.38MB] [CPU: ▲15.44ms] Passed 4 tests
An overview of server-side resources used by Remove tabs and fields from WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.88 ▲2.41 | 69.58 ▲25.04 |
Dashboard /wp-admin | 5.69 ▲2.38 | 73.80 ▲14.29 |
Posts /wp-admin/edit.php | 5.74 ▲2.38 | 69.22 ▲15.78 |
Add New Post /wp-admin/post-new.php | 8.27 ▲2.38 | 111.37 ▲13.21 |
Media Library /wp-admin/upload.php | 5.61 ▲2.38 | 58.16 ▲18.47 |
Server storage [IO: ▲0.68MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 12 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_wc_remove_tabs_and_fields__errors_log |
New WordPress options |
---|
wc-remove-tabs-and-fields |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Remove tabs and fields from WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,817 ▲56 | 14.31 ▼0.23 | 2.31 ▲0.33 | 43.26 ▼3.65 |
Dashboard /wp-admin | 2,198 ▲21 | 5.62 ▼0.05 | 96.41 ▲5.00 | 49.12 ▲8.02 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.00 ▲0.04 | 35.41 ▼5.54 | 31.58 ▼7.08 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.29 ▲0.20 | 647.09 ▼3.91 | 54.16 ▲7.90 |
Media Library /wp-admin/upload.php | 1,406 ▲3 | 4.19 ▼0.01 | 100.68 ▲0.62 | 47.35 ▲6.23 |
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
Please fix the following items
- Zombie tables were found after uninstall: 1 table
- wp_wc_remove_tabs_and_fields__errors_log
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-comments
- wc-remove-tabs-and-fields
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'Puvox\\library' not found in wp-content/plugins/wc-remove-tabs-and-fields/library_wp.php:25
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Contributors: The plugin contributors field is missing
wc-remove-tabs-and-fields/index.php 85% from 13 tests
The entry point to "Remove tabs and fields from WooCommerce" version 1.69 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wc-remove-tabs-and-fields.php" instead of "index.php")
- Description: The description should be shorter than 140 characters (currently 142 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected4,283 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 1,406 | 5,174 | 4,283 |
PHP code 50% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Please tend to the following items
- Please reduce cyclomatic complexity of classes to less than 1000 (currently 1,076)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 358.60 |
▷ Minimum class complexity | 21.00 |
▷ Maximum class complexity | 1,076.00 |
Average method complexity | 2.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 863 | |
▷ Static methods | 102 | 11.82% |
▷ Public methods | 855 | 99.07% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 0.93% |
Functions | 117 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 117 | 100.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
6 PNG files occupy 0.23MB with 0.12MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/tabs_on_editor - orig.png | 9.33KB | 5.02KB | ▼ 46.16% |
assets/fields_on_checkout - orig.png | 95.71KB | 31.60KB | ▼ 66.98% |
assets/fields_on_checkout.png | 108.47KB | 33.36KB | ▼ 69.25% |
assets/tabs_on_editor.png | 6.95KB | 3.71KB | ▼ 46.63% |
assets/product_types.png | 5.93KB | 3.46KB | ▼ 41.78% |