Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.13MB] [CPU: ▲4.52ms] Passed 4 tests
An overview of server-side resources used by Zuppler Online Ordering
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.14 | 51.05 ▲10.91 |
Dashboard /wp-admin | 3.43 ▲0.12 | 45.73 ▼4.88 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 50.43 ▲3.34 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 94.14 ▲8.72 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 45.24 ▲12.53 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Zuppler Online Ordering
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲73 | 13.62 ▼0.68 | 2.06 ▲0.27 | 42.64 ▼0.48 |
Dashboard /wp-admin | 2,226 ▲38 | 5.89 ▲1.03 | 94.72 ▼8.38 | 64.60 ▲23.38 |
Posts /wp-admin/edit.php | 2,109 ▲20 | 2.05 ▲0.01 | 37.72 ▲1.03 | 33.84 ▲2.63 |
Add New Post /wp-admin/post-new.php | 1,537 ▲9 | 23.25 ▲5.14 | 707.80 ▲108.77 | 55.67 ▲7.10 |
Media Library /wp-admin/upload.php | 1,399 ▲14 | 4.22 ▼0.03 | 100.08 ▼3.10 | 73.76 ▲29.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 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
Please take a closer look at the following
- 5× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/zuppler-online-ordering/inc/content-options-help.php
- > /wp-content/plugins/zuppler-online-ordering/inc/content-start.php
- > /wp-content/plugins/zuppler-online-ordering/inc/content-signup.php
- > /wp-content/plugins/zuppler-online-ordering/inc/content-sidebar.php
- > /wp-content/plugins/zuppler-online-ordering/inc/content-faq.php
- 8× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/zuppler-online-ordering/zuppler-online-ordering-admin.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_script() in wp-content/plugins/zuppler-online-ordering/inc/content-options.php:3
- > PHP Notice
Undefined variable: plugin_url in wp-content/plugins/zuppler-online-ordering/inc/content-sidebar.php on line 11
- > PHP Notice
Undefined variable: plugin_url in wp-content/plugins/zuppler-online-ordering/inc/content-start.php on line 14
- > PHP Notice
Undefined variable: plugin_url in wp-content/plugins/zuppler-online-ordering/inc/content-sidebar.php on line 11
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/zuppler-online-ordering/zuppler-online-ordering.php:61
- > PHP Notice
Undefined variable: plugin_url in wp-content/plugins/zuppler-online-ordering/inc/content-sidebar.php on line 11
- > PHP Notice
Undefined variable: plugin_url in wp-content/plugins/zuppler-online-ordering/inc/content-sidebar.php on line 11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
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
These attributes need to be fixed:
- Plugin Name: Please specify the plugin name on the first line (
=== zuppler-online-ordering ===
)
zuppler-online-ordering/zuppler-online-ordering.php Passed 13 tests
"Zuppler Online Ordering" version 2.1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
62 characters long description:
This plugin lets you easily integrate Zuppler Online Ordering.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin1,585 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 257 | 371 | 1,114 |
CSS | 2 | 107 | 33 | 462 |
JavaScript | 1 | 1 | 4 | 9 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 39.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 105.00 |
Average method complexity | 4.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 35 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 25.71% |
▷ Protected methods | 26 | 74.29% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 10 | 100.00% |
▷ Public constants | 10 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
5 PNG files occupy 0.06MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/zuppler-icon-48px.png | 4.02KB | 2.04KB | ▼ 49.14% |
images/zuppler-icon-36px.png | 3.70KB | 1.87KB | ▼ 49.35% |
images/zuppler-icon-16px.png | 1.80KB | 0.95KB | ▼ 47.20% |
images/zuppler-online-ordering.png | 47.73KB | 13.56KB | ▼ 71.60% |
images/feature-bullet.png | 1.14KB | 0.27KB | ▼ 76.00% |