Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼4.71ms] Passed 4 tests
Server-side resources used by Advanced FedEx Shipping - Live Rates & Address Validation for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.10 | 38.40 ▼3.28 |
Dashboard /wp-admin | 3.40 ▲0.05 | 45.58 ▼10.66 |
Posts /wp-admin/edit.php | 3.51 ▲0.16 | 46.37 ▲0.29 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 93.80 ▼3.44 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 32.28 ▼1.46 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 30 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Advanced FedEx Shipping - Live Rates & Address Validation for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.21 ▼1.40 | 1.61 ▼0.61 | 38.73 ▼13.15 |
Dashboard /wp-admin | 2,206 ▲21 | 4.85 ▼0.07 | 100.16 ▼14.34 | 38.36 ▼3.29 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▲0.02 | 35.27 ▼6.46 | 35.82 ▼0.09 |
Add New Post /wp-admin/post-new.php | 1,544 ▲30 | 18.27 ▲0.83 | 600.69 ▼65.57 | 55.50 ▼5.95 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.18 ▼0.05 | 95.85 ▼5.54 | 42.07 ▼2.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Tags: You are using too many tags: 15 tag instead of maximum 10
wc-fedex-shipping/wc-fedex-shipping.php 92% from 13 tests
The entry point to "Advanced FedEx Shipping - Live Rates & Address Validation for WooCommerce" version 1.2.6 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Plugin Name: A shorter plugin name is better (currently 73 characters long instead of max. 70)
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
No dangerous file extensions were detected5,501 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 24 | 1,287 | 274 | 5,501 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 32.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 217.00 |
Average method complexity | 3.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 9 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 22 | |
▷ Abstract classes | 5 | 22.73% |
▷ Concrete classes | 17 | 77.27% |
▷ Final classes | 0 | 0.00% |
Methods | 343 | |
▷ Static methods | 2 | 0.58% |
▷ Public methods | 174 | 50.73% |
▷ Protected methods | 163 | 47.52% |
▷ Private methods | 6 | 1.75% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/1TeamSoftware-logo.png | 14.55KB | 4.50KB | ▼ 69.05% |
assets/images/1TeamSoftware-icon.png | 0.59KB | 0.75KB | 0.00% |