Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
You still need to fix the following installer errors
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/pelepay-integration-for-wpecommerce/pelepay.merchant.php+13
Undefined variable: num
Server metrics [RAM: ▼1.80MB] [CPU: ▼60.54ms] Passed 4 tests
This is a short check of server-side resources used by Pelepay integration for wpecommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.21 ▼1.26 | 5.35 ▼38.69 |
Dashboard /wp-admin | 2.23 ▼1.12 | 5.98 ▼61.44 |
Posts /wp-admin/edit.php | 2.23 ▼1.14 | 6.07 ▼48.36 |
Add New Post /wp-admin/post-new.php | 2.23 ▼3.67 | 6.33 ▼93.66 |
Media Library /wp-admin/upload.php | 2.23 ▼1.01 | 6.63 ▼28.91 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 13 new options
New WordPress options |
---|
widget_recent-comments |
pelepay_cancel_url |
pelepay_payment_number |
pelepay_button_url |
pelepay_success_url |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
pelepay_business_method |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Pelepay integration for wpecommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.56 ▲0.15 | 1.84 ▲0.05 | 45.15 ▼1.35 |
Dashboard /wp-admin | 2,195 ▲15 | 5.61 ▼0.01 | 90.96 ▼9.28 | 45.64 ▲3.00 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.02 ▲0.06 | 41.78 ▲7.13 | 37.15 ▼1.21 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.09 ▲0.02 | 677.12 ▼36.88 | 52.93 ▼7.67 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.19 ▼0.02 | 100.79 ▼3.81 | 45.86 ▲2.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/pelepay-integration-for-wpecommerce/pelepay.merchant.php+13
Undefined variable: num
- This plugin does not fully uninstall, leaving 13 options in the database
- pelepay_failure_url
- pelepay_cancel_url
- widget_theysaidso_widget
- can_compress_scripts
- pelepay_button_url
- widget_recent-posts
- pelepay_success_url
- pelepay_payment_number
- widget_recent-comments
- theysaidso_admin_options
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/pelepay-integration-for-wpecommerce/pelepay.merchant.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
5 plugin tags: wpe-commerce, wp ecommerce, pelepay, wp-ecommerce, wpecommerce
pelepay-integration-for-wpecommerce/pelepay.merchant.php 92% from 13 tests
"Pelepay integration for wpecommerce" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("pelepay-integration-for-wpecommerce.php" instead of "pelepay.merchant.php")
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 detected371 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 63 | 38 | 371 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
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 | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin