Benchmarks
Plugin footprint 83% 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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.07MB] [CPU: ▼0.68ms] Passed 4 tests
Server-side resources used by Zakeke Interactive Product Designer for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 39.35 ▼2.35 |
Dashboard /wp-admin | 3.37 ▲0.07 | 47.64 ▼1.41 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 47.20 ▲2.21 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 96.38 ▼0.21 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 33.36 ▲1.25 |
Server storage [IO: ▲1.87MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 347 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Zakeke Interactive Product Designer for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲3 | 14.34 ▲0.09 | 1.70 ▼0.16 | 41.16 ▼2.97 |
Dashboard /wp-admin | 2,198 ▲21 | 5.60 ▲0.03 | 88.76 ▼1.91 | 40.45 ▼0.23 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 2.01 ▼0.01 | 35.06 ▼2.21 | 35.07 ▼1.46 |
Add New Post /wp-admin/post-new.php | 1,526 ▼3 | 23.28 ▲0.18 | 589.03 ▼49.16 | 55.78 ▲0.86 |
Media Library /wp-admin/upload.php | 1,403 ▲6 | 4.17 ▲0.02 | 97.74 ▼4.73 | 43.05 ▼1.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
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)
Even though no errors were found, this is by no means 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Please add descriptions for these screenshots #2, #3, #4, #5, #6, #7, #8, #9 in zakeke-interactive-product-designer/assets to your readme.txt
- Contributors: Plugin contributors field is missing
zakeke-interactive-product-designer/zakeke.php 77% from 13 tests
The main file in "Zakeke Interactive Product Designer for WooCommerce" v. 3.7.5 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 144 characters long)
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: The principal plugin file should be the same as the plugin slug ("zakeke-interactive-product-designer.php" instead of "zakeke.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin12,789 lines of code in 122 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 78 | 2,652 | 3,277 | 6,091 |
PHP | 31 | 886 | 1,260 | 3,436 |
JavaScript | 6 | 725 | 1,414 | 2,417 |
Markdown | 1 | 552 | 0 | 556 |
CSS | 6 | 16 | 0 | 289 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 18.40 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 88.00 |
Average method complexity | 3.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 25 | |
▷ Abstract classes | 1 | 4.00% |
▷ Concrete classes | 24 | 96.00% |
▷ Final classes | 1 | 4.17% |
Methods | 191 | |
▷ Static methods | 108 | 56.54% |
▷ Public methods | 157 | 82.20% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 34 | 17.80% |
Functions | 23 | |
▷ Named functions | 17 | 73.91% |
▷ Anonymous functions | 6 | 26.09% |
Constants | 10 | |
▷ Global constants | 8 | 80.00% |
▷ Class constants | 2 | 20.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/zakeke_logo.png | 3.45KB | 2.42KB | ▼ 29.83% |
assets/images/zakeke_icon.png | 1.10KB | 0.68KB | ▼ 38.32% |