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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▲0.36ms] Passed 4 tests
Server-side resources used by InXpress-Shipping-Extension
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 42.23 ▲3.19 |
Dashboard /wp-admin | 3.31 ▲0.00 | 56.40 ▲0.71 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 52.96 ▲3.73 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 87.54 ▼2.78 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.33 ▲0.33 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for InXpress-Shipping-Extension
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.27 ▼0.08 | 1.72 ▲0.03 | 45.37 ▲0.91 |
Dashboard /wp-admin | 2,198 ▲33 | 5.66 ▲0.11 | 86.98 ▼8.27 | 40.25 ▼1.11 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 1.99 ▼0.02 | 36.30 ▲0.37 | 36.84 ▲1.24 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.55 ▼0.02 | 673.74 ▼29.59 | 54.87 ▼2.49 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.17 ▼0.06 | 95.33 ▼9.89 | 39.98 ▼7.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- 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)
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
No output text or server-side errors detected on direct access of PHP files
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 86% from 29 tests
readme.txt 81% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Donate link: Invalid URI found ("")
- Screenshots: These screenshots have no corresponding images in /assets: #1 (InXpress Settings), #2 (Manage DHL Box), #3 (Manage Dimensional Weight), #4 (Manage Dimensional weight in edit product section.), #5 (Frontend cart page showing this shipping rate.)
- Requires at least: Version not formatted correctly
inxpress-shipping-extension/wc-inxpress.php 92% from 13 tests
"InXpress-Shipping-Extension" version 3.4.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("inxpress-shipping-extension.php" instead of "wc-inxpress.php")
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
Success! There were no dangerous files found in this plugin783 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 158 | 394 | 729 |
JSON | 1 | 0 | 0 | 45 |
XML | 1 | 3 | 0 | 9 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 6.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 42.00 |
Average method complexity | 2.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 1 | 12.50% |
▷ Concrete classes | 7 | 87.50% |
▷ Final classes | 1 | 14.29% |
Methods | 40 | |
▷ Static methods | 3 | 7.50% |
▷ Public methods | 40 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 3 | 42.86% |
▷ Class constants | 4 | 57.14% |
▷ Public constants | 4 | 100.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