Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▲0.43ms] Passed 4 tests
Server-side resources used by Additional Custom Product Tabs for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 37.69 ▼1.58 |
Dashboard /wp-admin | 3.32 ▲0.02 | 48.51 ▲0.94 |
Posts /wp-admin/edit.php | 3.38 ▲0.01 | 48.83 ▼1.00 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.01 | 96.85 ▲5.85 |
Media Library /wp-admin/upload.php | 3.25 ▲0.01 | 36.31 ▲3.34 |
Server storage [IO: ▲0.08MB] [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 |
---|
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Additional Custom Product Tabs for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲28 | 14.69 ▲0.36 | 1.72 ▲0.10 | 40.40 ▼0.37 |
Dashboard /wp-admin | 2,198 ▲20 | 5.69 ▲0.06 | 93.60 ▼22.96 | 43.70 ▼3.50 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 2.01 ▼0.01 | 38.36 ▼1.30 | 37.59 ▼3.54 |
Add New Post /wp-admin/post-new.php | 1,531 ▼3 | 23.05 ▼2.01 | 586.66 ▼16.90 | 48.41 ▼27.67 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.24 ▲0.10 | 96.03 ▲0.70 | 42.20 ▼0.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
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 everything seems fine, this is not an exhaustive test
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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Screenshots: These screenshots require images: #1 (Plugin admin area.), #2 (Setting product tabs on per product basis.)
product-tabs-for-woocommerce/product-tabs-for-woocommerce.php Passed 13 tests
This is the main PHP file of "Additional Custom Product Tabs for WooCommerce" version 1.5.6, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
48 characters long description:
Manage product tabs in WooCommerce. Beautifully.
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
No dangerous file extensions were detected1,143 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 145 | 551 | 1,125 |
JavaScript | 2 | 1 | 8 | 18 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
Average class complexity | 13.27 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 58.00 |
Average method complexity | 3.37 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 1 | 9.09% |
Methods | 57 | |
▷ Static methods | 1 | 1.75% |
▷ Public methods | 57 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin