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
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.93ms] Passed 4 tests
This is a short check of server-side resources used by Tailor Page Builder: WooCommerce Extension
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 44.90 ▲2.07 |
Dashboard /wp-admin | 3.34 ▼0.01 | 45.82 ▼11.36 |
Posts /wp-admin/edit.php | 3.45 ▲0.10 | 51.77 ▲2.66 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 85.35 ▼14.93 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.92 ▲0.51 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 37 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Tailor Page Builder: WooCommerce Extension: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲66 | 13.53 ▼1.22 | 1.63 ▼0.16 | 42.11 ▲2.26 |
Dashboard /wp-admin | 2,221 ▲33 | 4.85 ▼1.05 | 104.70 ▼3.17 | 41.23 ▼3.59 |
Posts /wp-admin/edit.php | 2,100 ▲14 | 2.02 ▲0.02 | 37.08 ▼0.34 | 32.78 ▼2.60 |
Add New Post /wp-admin/post-new.php | 1,540 ▼2 | 23.11 ▲4.76 | 697.18 ▲87.73 | 52.64 ▼1.97 |
Media Library /wp-admin/upload.php | 1,394 ▲9 | 4.21 ▼0.03 | 96.53 ▼2.14 | 44.54 ▲1.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/tailor-woocommerce/includes/shortcodes/shortcode-testimonial.php:78
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/tailor-woocommerce/includes/shortcodes/shortcode-products.php:146
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/tailor-woocommerce/includes/shortcodes/shortcode-pricing.php:88
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Tags: You are using too many tags: 15 tag instead of maximum 10
tailor-woocommerce/tailor-woocommerce.php Passed 13 tests
"Tailor Page Builder: WooCommerce Extension" version 1.2.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
69 characters long description:
Adds WooCommerce support and shop functionality to the Tailor plugin.
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,386 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 163 | 425 | 899 |
Sass | 9 | 60 | 18 | 281 |
CSS | 4 | 4 | 4 | 137 |
JavaScript | 3 | 14 | 0 | 61 |
Markdown | 1 | 5 | 0 | 8 |
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.27 |
Average class complexity | 4.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 1.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 24 | |
▷ Static methods | 1 | 4.17% |
▷ Public methods | 20 | 83.33% |
▷ Protected methods | 4 | 16.67% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin