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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▼14.88ms] Passed 4 tests
A check of server-side resources used by Ade Custom Shipping
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.15 | 39.17 ▼11.81 |
Dashboard /wp-admin | 3.45 ▲0.14 | 47.09 ▼3.38 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 46.79 ▼13.32 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 84.30 ▼31.00 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 36.51 ▼2.67 |
Server storage [IO: ▲0.08MB] [DB: ▲0.02MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 18 new files
Database: no new tables, 9 new options
New WordPress options |
---|
db_upgraded |
ade_custom_gh |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
ade_custom_time |
can_compress_scripts |
ade_custom_ng |
widget_recent-posts |
Browser metrics Passed 4 tests
Ade Custom Shipping: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲59 | 14.34 ▲0.15 | 1.82 ▲0.04 | 39.39 ▼4.44 |
Dashboard /wp-admin | 2,226 ▲49 | 5.74 ▲0.13 | 95.07 ▼8.45 | 93.84 ▲50.08 |
Posts /wp-admin/edit.php | 2,135 ▲32 | 1.98 ▲0.03 | 38.42 ▼7.57 | 34.21 ▼1.98 |
Add New Post /wp-admin/post-new.php | 1,556 ▲30 | 23.43 ▲2.27 | 742.68 ▼43.19 | 55.97 ▼13.21 |
Media Library /wp-admin/upload.php | 1,428 ▲31 | 4.23 ▲0.02 | 99.68 ▼11.39 | 75.65 ▲29.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 9 options in the database
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- ade_custom_time
- ade_custom_gh
- db_upgraded
- ade_custom_ng
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Screenshots: Add descriptions for screenshots #1, #2 in ade-custom-shipping/assets to your readme.txt
ade-custom-shipping/ade-custom-shipping.php Passed 13 tests
The principal PHP file in "Ade Custom Shipping" v. 4.1.3 is loaded by WordPress automatically on each request
47 characters long description:
Add shipping zones 3 levels deep for ecommerce.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin913 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 50 | 53 | 501 |
JavaScript | 3 | 11 | 46 | 304 |
Markdown | 1 | 58 | 0 | 101 |
CSS | 1 | 0 | 1 | 7 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 8.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 6 | 50.00% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 10 | 83.33% |
▷ Anonymous functions | 2 | 16.67% |
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
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/ade_logo_new.png | 1.18KB | 0.67KB | ▼ 42.87% |
assets/img/ade_logo.png | 22.26KB | 3.79KB | ▼ 82.96% |