Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▼1.12MB] [CPU: ▼337.49ms] Passed 4 tests
Server-side resources used by Courier Address
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.06 | 58.28 ▲4.81 |
Dashboard /wp-admin | 3.21 ▼0.20 | 19.41 ▼34.08 |
Posts /wp-admin/edit.php | 3.21 ▼0.43 | 19.96 ▼22.20 |
Add New Post /wp-admin/post-new.php | 3.21 ▼3.76 | 30.68 ▼1,284.65 |
Media Library /wp-admin/upload.php | 3.21 ▼0.09 | 17.98 ▼9.02 |
Courier Address /wp-admin/options-general.php?page=courier-address | 3.21 | 21.88 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 15 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Courier Address
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,921 ▲177 | 17.16 ▲1.59 | 19.30 ▲13.25 | 2.57 ▲0.46 |
Dashboard /wp-admin | 2,899 ▲44 | 6.11 ▼0.08 | 122.63 ▼19.77 | 156.22 ▼14.91 |
Posts /wp-admin/edit.php | 2,695 ▲7 | 3.23 ▲0.00 | 66.08 ▼28.42 | 142.56 ▼4.73 |
Add New Post /wp-admin/post-new.php | 1,778 ▲117 | 21.13 ▼0.04 | 455.24 ▲43.05 | 209.21 ▲43.81 |
Media Library /wp-admin/upload.php | 1,705 ▲7 | 5.49 ▼0.05 | 139.73 ▼8.37 | 240.47 ▲50.94 |
Courier Address /wp-admin/options-general.php?page=courier-address | 1,537 | 2.43 | 56.53 | 161.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > User notice in wp-includes/functions.php+5768
add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be an integer representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=courier-address
- > User notice in wp-includes/functions.php+5768
add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be an integer representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Tags: There are too many tags (15 tag instead of maximum 10)
courier-address/courier-address.php 92% from 13 tests
The primary PHP file in "Courier Address" version 3.2 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 150 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin889 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 68 | 46 | 528 |
JavaScript | 2 | 34 | 36 | 255 |
CSS | 2 | 9 | 8 | 82 |
PO File | 2 | 4 | 22 | 24 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 23 | |
▷ Named functions | 23 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.12MB with 0.04MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/help.png | 1.34KB | 1.36KB | 0.00% |
images/screenshot-1.png | 124.82KB | 52.55KB | ▼ 57.90% |