Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.62MB] [CPU: ▼24.01ms] Passed 4 tests
An overview of server-side resources used by PPM Fulfillment - Woo Commerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 44.74 ▼0.26 |
Dashboard /wp-admin | 3.37 ▲0.02 | 49.33 ▼20.05 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 47.01 ▼8.50 |
Add New Post /wp-admin/post-new.php | 3.24 ▼2.64 | 38.79 ▼66.95 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 38.35 ▼0.53 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
PPM Fulfillment - Woo Commerce: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲85 | 14.74 ▲0.48 | 2.04 ▲0.24 | 43.27 ▲0.35 |
Dashboard /wp-admin | 2,237 ▲34 | 4.88 ▼0.01 | 113.28 ▲3.08 | 42.66 ▼0.92 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 2.03 ▼0.03 | 34.25 ▼6.26 | 35.25 ▼3.41 |
Add New Post /wp-admin/post-new.php | 1,564 ▲38 | 23.40 ▲5.86 | 639.13 ▼56.28 | 52.26 ▼8.77 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.19 ▲0.02 | 98.04 ▼18.09 | 42.22 ▼8.58 |
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
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Please fix the following
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ppm-fulfillment-woocommerce/ppm-shipping-api-endpoint.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ppm-fulfillment-woocommerce/ppm-order-submission-client.php:129
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ppm-fulfillment-woocommerce/ppm-product-options.php:27
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ppm-fulfillment-woocommerce/ppm-options.php:105
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% 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:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== ppm-fulfillment-woocommerce ===
) - Requires php: Version format is invalid
ppm-fulfillment-woocommerce/ppm-woocommerce.php 85% from 13 tests
Analyzing the main PHP file in "PPM Fulfillment - Woo Commerce" version 0.1.11
You should first fix the following items:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("ppm-fulfillment-woocommerce.php" instead of "ppm-woocommerce.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin429 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 79 | 82 | 356 |
Markdown | 1 | 30 | 0 | 73 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
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 | 17 | |
▷ Named functions | 16 | 94.12% |
▷ Anonymous functions | 1 | 5.88% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin