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 gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼1.87ms] Passed 4 tests
Analyzing server-side resources used by Gophr Same Day Delivery for WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 35.27 ▼5.96 |
Dashboard /wp-admin | 3.32 ▲0.01 | 46.78 ▼3.49 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 49.39 ▼1.53 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 93.93 ▲3.49 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.42 ▲5.55 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Gophr Same Day Delivery for WooCommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.17 ▼1.14 | 1.65 ▼0.08 | 40.00 ▼6.75 |
Dashboard /wp-admin | 2,206 ▲18 | 5.86 ▲0.94 | 107.39 ▼6.61 | 39.31 ▼0.26 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.05 ▲0.06 | 38.99 ▼1.66 | 34.64 ▼2.46 |
Add New Post /wp-admin/post-new.php | 1,534 ▲15 | 21.18 ▼2.07 | 756.93 ▲163.43 | 57.35 ▼3.58 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.21 ▼0.07 | 129.73 ▲30.85 | 48.32 ▲3.31 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
9 plugin tags: courier, vans, woocommerce, shipping rates, same day delivery...
gophr-same-day-shipping-method-for-woocommerce/gophr-woocommerce-shipping.php 92% from 13 tests
The main PHP script in "Gophr Same Day Delivery for WooCommerce" version 1.1.0 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("gophr-same-day-shipping-method-for-woocommerce.php" instead of "gophr-woocommerce-shipping.php")
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
Good job! No executable or dangerous file extensions detected1,646 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 395 | 344 | 1,646 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 63.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 140.00 |
Average method complexity | 5.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 53 | |
▷ Static methods | 2 | 3.77% |
▷ Public methods | 45 | 84.91% |
▷ Protected methods | 1 | 1.89% |
▷ Private methods | 7 | 13.21% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin