84% product-designer

Code Review | Product Designer

WordPress plugin Product Designer scored 84% from 54 tests.

About plugin

  • Plugin page: product-designer
  • Plugin version: 1.0.32
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.0+
  • WordPress version: 5.9.2
  • First release: Nov 27, 2016
  • Latest release: Apr 3, 2022
  • Number of updates: 101
  • Update frequency: every 26.5 days
  • Top authors: pickplugins (100%)

Code review

54 tests

User reviews

10 reviews

Install metrics

2,000+ active / 44,708 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully

Server metrics [RAM: ▲1.28MB] [CPU: ▼283.69ms] Passed 4 tests

Analyzing server-side resources used by Product Designer
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /4.82 ▲1.3192.74 ▲23.48
Dashboard /wp-admin4.68 ▲1.2749.19 ▲8.25
Posts /wp-admin/edit.php4.97 ▲1.3357.83 ▲14.44
Add New Post /wp-admin/post-new.php8.19 ▲1.22124.69 ▼1,167.23
Media Library /wp-admin/upload.php4.61 ▲1.3143.80 ▲9.79
Shape /wp-admin/edit.php?post_type=shape4.6840.84
Clip Art /wp-admin/edit.php?post_type=clipart4.6845.86
Settings /wp-admin/edit.php?post_type=pd_template&page=product_designer4.6536.09
Product Designer /wp-admin/edit.php?post_type=pd_template4.6839.01
Add Template /wp-admin/post-new.php?post_type=pd_template4.8959.29

Server storage [IO: ▲5.17MB] [DB: ▲0.00MB] Passed 3 tests

Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 72 new files
Database: no new tables, 1 new option
New WordPress options

Browser metrics Passed 4 tests

Product Designer: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /4,249 ▲49518.00 ▲2.6220.64 ▲10.873.78 ▲0.21
Dashboard /wp-admin3,214 ▲2988.31 ▲1.95210.49 ▼27.28203.81 ▼8.01
Posts /wp-admin/edit.php3,010 ▲2895.04 ▲1.47117.31 ▲33.46171.74 ▼5.97
Add New Post /wp-admin/post-new.php1,709 ▲6522.51 ▲2.34633.64 ▼139.23216.46 ▼2.44
Media Library /wp-admin/upload.php1,797 ▲675.71 ▼0.01182.47 ▼7.90246.43 ▲3.59
Shape /wp-admin/edit.php?post_type=shape1,6955.55148.43240.77
Clip Art /wp-admin/edit.php?post_type=clipart1,6985.55107.14150.12
Settings /wp-admin/edit.php?post_type=pd_template&page=product_designer4,1508.62216.32173.56
Product Designer /wp-admin/edit.php?post_type=pd_template1,6865.54119.07140.58
Add Template /wp-admin/post-new.php?post_type=pd_template3,2428.81236.58228.55

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
  • Zombie WordPress options were found after uninstall: 1 option
    • product_designer_settings

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/product-designer/product-designer.php:23

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found


Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention: You can look at the official readme.txt

product-designer/product-designer.php Passed 13 tests

"Product Designer" version 1.0.32's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
43 characters long description:
Awesome Product Designer for Woo-Commenrce.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin28,283 lines of code in 45 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.44
Average class complexity98.33
▷ Minimum class complexity1.00
▷ Maximum class complexity641.00
Average method complexity12.38
▷ Minimum method complexity1.00
▷ Maximum method complexity73.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes9100.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods77100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions76100.00%
▷ Anonymous functions00.00%
▷ Global constants4100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
5 PNG files occupy 0.13MB with 0.10MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/front/images/tile.png16.86KB0.09KB▼ 99.47%
assets/admin/images/add-img.png31.74KB11.95KB▼ 62.35%
assets/admin/images/add-img-bg.png38.67KB10.30KB▼ 73.36%
assets/admin/images/add-img-overlay.png27.99KB9.53KB▼ 65.95%
assets/front/images/placeholder.png19.00KB2.40KB▼ 87.35%