Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲2.05MB] [CPU: ▼0.81ms] Passed 4 tests
An overview of server-side resources used by Curbside Pickup
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 6.53 ▲3.07 | 69.66 ▲27.05 |
Dashboard /wp-admin | 5.99 ▲2.69 | 56.32 ▲7.41 |
Posts /wp-admin/edit.php | 5.99 ▲2.64 | 54.75 ▲3.33 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.11 | 57.87 ▼35.56 |
Media Library /wp-admin/upload.php | 5.99 ▲2.77 | 60.06 ▲21.59 |
Dashboard /wp-admin/plugins.php?page=meta-box | 5.99 | 57.86 |
Scheduled Pickups /wp-admin/edit.php?post_type=scheduled-pickup | 5.99 | 52.47 |
Order List /wp-admin/admin.php?page=curbside-pickup-order-list | 5.99 | 53.03 |
About Plugin /wp-admin/admin.php?page=curbside-pickup/curbside-pickup.php_aloha | 5.99 | 52.53 |
Pickup Schedules /wp-admin/edit.php?post_type=pickup-schedule | 5.99 | 52.47 |
Pick List /wp-admin/admin.php?page=curbside-pickup-packing-list | 5.99 | 52.35 |
Dashboard /wp-admin/admin.php?page=curbside-pickup/dashboard | 5.99 | 53.34 |
Pickup Locations /wp-admin/admin.php?page=curbside-pickup-pickup-locations | 5.99 | 53.50 |
Settings /wp-admin/admin.php?page=curbside-pickup-settings | 5.99 | 54.83 |
/wp-admin/admin.php?page= | 5.99 | 55.20 |
Server storage [IO: ▲5.36MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 546 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_mb_relationships |
New WordPress options |
---|
curbside_pickup_ajax_events |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Curbside Pickup
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,300 ▲543 | 14.03 ▼0.35 | 5.32 ▲3.38 | 42.88 ▼4.62 |
Dashboard /wp-admin | 2,611 ▲423 | 5.34 ▲0.46 | 128.79 ▲11.19 | 50.90 ▲2.73 |
Posts /wp-admin/edit.php | 2,184 ▲95 | 2.39 ▲0.33 | 41.56 ▲7.39 | 31.34 ▼1.02 |
Add New Post /wp-admin/post-new.php | 6,421 ▲4,888 | 24.65 ▲1.53 | 918.15 ▲225.47 | 35.16 ▼20.64 |
Media Library /wp-admin/upload.php | 1,480 ▲92 | 4.52 ▲0.31 | 115.72 ▲12.53 | 56.79 ▲6.87 |
Dashboard /wp-admin/plugins.php?page=meta-box | 1,397 | 2.34 | 30.42 | 51.91 |
Scheduled Pickups /wp-admin/edit.php?post_type=scheduled-pickup | 1,206 | 2.50 | 36.27 | 28.99 |
Order List /wp-admin/admin.php?page=curbside-pickup-order-list | 946 | 1.93 | 28.01 | 35.09 |
About Plugin /wp-admin/admin.php?page=curbside-pickup/curbside-pickup.php_aloha | 1,168 | 1.91 | 26.27 | 39.60 |
Pickup Schedules /wp-admin/edit.php?post_type=pickup-schedule | 1,693 | 2.54 | 37.32 | 30.09 |
Pick List /wp-admin/admin.php?page=curbside-pickup-packing-list | 943 | 1.92 | 26.25 | 30.91 |
Dashboard /wp-admin/admin.php?page=curbside-pickup/dashboard | 927 | 2.03 | 30.98 | 41.29 |
Pickup Locations /wp-admin/admin.php?page=curbside-pickup-pickup-locations | 946 | 1.89 | 28.18 | 32.23 |
Settings /wp-admin/admin.php?page=curbside-pickup-settings | 2,027 | 3.29 | 59.76 | 62.32 |
/wp-admin/admin.php?page= | 28 | 0.44 | 0.10 | 3.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/curbside-pickup/include/classes/Admin_UI.php+233
Undefined offset: -1
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_mb_relationships
- Zombie WordPress options detected upon uninstall: 7 options
- can_compress_scripts
- curbside_pickup_ajax_events
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- 10 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=
- > Notice in wp-content/plugins/curbside-pickup/include/classes/Admin_UI.php+233
Undefined offset: -1
- 57 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=
- > Notice in wp-admin/includes/plugin.php+1946
Trying to access array offset on value of type null
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 items
- 5× PHP files output text when accessed directly:
- > /wp-content/plugins/curbside-pickup/vendor/meta-box/meta-box/inc/templates/video.php
- > /wp-content/plugins/curbside-pickup/vendor/meta-box/meta-box/inc/templates/upload.php
- > /wp-content/plugins/curbside-pickup/vendor/meta-box/meta-box/inc/templates/audio.php
- > /wp-content/plugins/curbside-pickup/vendor/meta-box/meta-box/inc/templates/image-advanced.php
- > /wp-content/plugins/curbside-pickup/vendor/meta-box/meta-box/inc/templates/media.php
- 226× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Text_Field' not found in wp-content/plugins/curbside-pickup/vendor/meta-box/meta-box/inc/fields/fieldset-text.php:11
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Field' not found in wp-content/plugins/curbside-pickup/vendor/meta-box/meta-box/inc/fields/multiple-values.php:17
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Number_Field' not found in wp-content/plugins/curbside-pickup/vendor/meta-box/meta-box/inc/fields/range.php:11
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Input_Field' not found in wp-content/plugins/curbside-pickup/vendor/meta-box/meta-box/inc/fields/number.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_kses() in wp-content/plugins/curbside-pickup/vendor/meta-box/meta-box/inc/about/sections/support.php:18
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Select_Field' not found in wp-content/plugins/curbside-pickup/vendor/meta-box/meta-box/inc/fields/select-tree.php:11
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Field' not found in wp-content/plugins/curbside-pickup/vendor/meta-box/meta-box/inc/fields/button.php:11
- > PHP Fatal error
Uncaught Error: Class 'MBSP\\Storage' not found in wp-content/plugins/curbside-pickup/vendor/meta-box/mb-settings-page/src/Network/Storage.php:10
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/curbside-pickup/vendor/composer/installers/src/Composer/Installers/PimcoreInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/curbside-pickup/vendor/composer/installers/src/Composer/Installers/YawikInstaller.php:12
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=
- > Network (severe)
wp-admin/admin.php?page= - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Screenshots: Please add images for these screenshots: #1 (The Dashboard, where you can monitor for arriving customers.), #2 (The Update Order screen, where you can complete, reschedule, or cancel an order, as well as leaving notes.)
curbside-pickup/curbside-pickup.php 92% from 13 tests
Analyzing the main PHP file in "Curbside Pickup" version 2.1
Please make the necessary changes and fix the following:
- Requires at least: The required version number must match the one declared in readme.txt ("5.0" instead of "4.2.0")
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
Success! There were no dangerous files found in this plugin58,684 lines of code in 497 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 62 | 3,977 | 218 | 17,923 |
PHP | 313 | 3,258 | 7,687 | 17,764 |
SVG | 4 | 0 | 12 | 9,429 |
Sass | 2 | 1,216 | 9 | 9,165 |
JavaScript | 104 | 797 | 659 | 3,283 |
JSON | 4 | 0 | 0 | 471 |
HTML | 1 | 65 | 1 | 366 |
Markdown | 2 | 60 | 0 | 179 |
PO File | 2 | 10 | 17 | 55 |
YAML | 2 | 3 | 0 | 29 |
XML | 1 | 0 | 0 | 20 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 6.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 82.00 |
Average method complexity | 2.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 9 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 274 | |
▷ Abstract classes | 9 | 3.28% |
▷ Concrete classes | 265 | 96.72% |
▷ Final classes | 0 | 0.00% |
Methods | 1,194 | |
▷ Static methods | 332 | 27.81% |
▷ Public methods | 1,036 | 86.77% |
▷ Protected methods | 97 | 8.12% |
▷ Private methods | 61 | 5.11% |
Functions | 60 | |
▷ Named functions | 35 | 58.33% |
▷ Anonymous functions | 25 | 41.67% |
Constants | 12 | |
▷ Global constants | 8 | 66.67% |
▷ Class constants | 4 | 33.33% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
17 compressed PNG files occupy 0.16MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/meta-box/meta-box/img/jqueryui/ui-bg_glass_95_fef1ec_1x400.png | 0.12KB | 0.14KB | 0.00% |
vendor/meta-box/meta-box/img/jqueryui/ui-bg_glass_55_fbf9ee_1x400.png | 0.12KB | 0.14KB | 0.00% |
vendor/meta-box/meta-box/img/jqueryui/ui-bg_glass_75_e6e6e6_1x400.png | 0.11KB | 0.14KB | 0.00% |
vendor/meta-box/meta-box/img/jqueryui/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.10KB | 0.17KB | 0.00% |
vendor/meta-box/meta-box/img/jqueryui/ui-bg_flat_75_ffffff_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |