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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼0.61ms] Passed 4 tests
This is a short check of server-side resources used by Web To PrintQ - Product Designer
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 43.78 ▲1.34 |
Dashboard /wp-admin | 3.31 ▲0.01 | 52.16 ▲4.39 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 49.84 ▲2.26 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 89.42 ▼8.00 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 40.28 ▲1.96 |
Server storage [IO: ▲15.87MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 1,485 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Web To PrintQ - Product Designer: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.37 ▲0.02 | 1.75 ▲0.15 | 43.05 ▲0.53 |
Dashboard /wp-admin | 2,195 ▲18 | 5.60 ▼0.05 | 84.71 ▼4.87 | 39.82 ▲0.35 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.01 ▼0.02 | 36.88 ▲2.31 | 33.66 ▼5.49 |
Add New Post /wp-admin/post-new.php | 1,528 ▼0 | 23.08 ▼0.16 | 668.32 ▲3.64 | 57.80 ▲5.50 |
Media Library /wp-admin/upload.php | 1,397 ▼6 | 4.27 ▲0.08 | 101.32 ▼4.89 | 45.36 ▲2.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% 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 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 30× PHP files output non-empty strings when accessed directly via GET requests (only 10 are shown):
- > /wp-content/plugins/web-to-printq/includes/controller/abstract.class.php
- > /wp-content/plugins/web-to-printq/includes/controller/instagram.class.php
- > /wp-content/plugins/web-to-printq/views/content/bottombarmobile.php
- > /wp-content/plugins/web-to-printq/views/content/objectList.php
- > /wp-content/plugins/web-to-printq/views/content/toolbars.php
- > /wp-content/plugins/web-to-printq/includes/helper/pdf.class.php
- > /wp-content/plugins/web-to-printq/views/content/toolbarsmobile.php
- > /wp-content/plugins/web-to-printq/includes/designer.class.php
- > /wp-content/plugins/web-to-printq/includes/helper/instagram.class.php
- > /wp-content/plugins/web-to-printq/includes/admin/designer.class.php
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'Printq_Controller_Abstract' not found in wp-content/plugins/web-to-printq/includes/controller/projects.class.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function pqd_get_config() in wp-content/plugins/web-to-printq/views/themecss.php:2
- > PHP Fatal error
Uncaught Error: Class 'Printq_Helper_Design' not found in wp-content/plugins/web-to-printq/views/saved_projects.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: woocommerce, designer, personalization, printing, web to print...
web-to-printq/printq_designer.php 92% from 13 tests
The entry point to "Web To PrintQ - Product Designer" version 1.3.2 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("web-to-printq.php" instead of "printq_designer.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected120,921 lines of code in 1,297 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1,227 | 81 | 1,126 | 112,284 |
PHP | 34 | 619 | 769 | 5,522 |
JavaScript | 20 | 15 | 7,683 | 3,087 |
CSS | 16 | 2 | 49 | 28 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 25.93 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 66.00 |
Average method complexity | 3.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 1 | 7.14% |
▷ Concrete classes | 13 | 92.86% |
▷ Final classes | 0 | 0.00% |
Methods | 167 | |
▷ Static methods | 12 | 7.19% |
▷ Public methods | 144 | 86.23% |
▷ Protected methods | 16 | 9.58% |
▷ Private methods | 7 | 4.19% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 30 | |
▷ Global constants | 27 | 90.00% |
▷ Class constants | 3 | 10.00% |
▷ Public constants | 3 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
71 PNG files occupy 1.59MB with 0.30MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/fancy_nav_left.png | 1.41KB | 1.64KB | 0.00% |
assets/shapes/Startups.png | 20.56KB | 10.99KB | ▼ 46.55% |
assets/shapes/Scientifics.png | 16.98KB | 18.06KB | 0.00% |
assets/images/jquery-ui/ui-icons_ef8c08_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
assets/images/jquery-ui/ui-bg_highlight-soft_75_ffe45c_1x100.png | 0.32KB | 0.18KB | ▼ 42.38% |