Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.20MB] [CPU: ▼8.45ms] Passed 4 tests
This is a short check of server-side resources used by WPC Product Tabs for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.21 | 37.31 ▲0.82 |
Dashboard /wp-admin | 3.51 ▲0.16 | 45.99 ▼24.16 |
Posts /wp-admin/edit.php | 3.62 ▲0.27 | 48.40 ▲0.53 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.22 | 88.41 ▼11.00 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 47.61 ▲12.41 |
About /wp-admin/admin.php?page=wpclever | 3.40 | 32.21 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 3.40 | 33.43 |
Server storage [IO: ▲0.09MB] [DB: ▲0.02MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 14 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
A check of browser resources used by WPC Product Tabs for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,866 ▲105 | 14.46 ▲0.06 | 1.64 ▲0.04 | 39.18 ▲0.84 |
Dashboard /wp-admin | 2,275 ▲107 | 5.65 ▲0.09 | 79.96 ▼34.93 | 89.57 ▲37.92 |
Posts /wp-admin/edit.php | 2,181 ▲81 | 2.05 ▲0.06 | 38.32 ▲2.39 | 33.62 ▲3.31 |
Add New Post /wp-admin/post-new.php | 1,599 ▲68 | 23.24 ▲0.21 | 724.37 ▲41.62 | 59.95 ▲6.57 |
Media Library /wp-admin/upload.php | 1,468 ▲68 | 4.12 ▼0.05 | 103.90 ▼1.73 | 72.61 ▲25.68 |
About /wp-admin/admin.php?page=wpclever | 1,406 | 2.14 | 30.57 | 33.98 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 5,735 | 2.16 | 32.77 | 56.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Add descriptions for screenshots #1, #2 in wpc-product-tabs/assets to your readme.txt
wpc-product-tabs/wpc-product-tabs.php Passed 13 tests
"WPC Product Tabs for WooCommerce" version 3.0.6's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
37 characters long description:
Product tabs manager for WooCommerce.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected1,858 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 166 | 33 | 1,030 |
CSS | 3 | 106 | 6 | 585 |
JavaScript | 3 | 38 | 2 | 214 |
SVG | 1 | 0 | 0 | 29 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.57 |
Average class complexity | 44.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 131.00 |
Average method complexity | 5.49 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 44.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 39 | |
▷ Static methods | 1 | 2.56% |
▷ Public methods | 39 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 10 | |
▷ Global constants | 10 | 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
There were not PNG files found in your plugin