Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼146.43ms] Passed 4 tests
An overview of server-side resources used by EDD Quickpay payment gateway
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.87 ▲0.03 | 39.46 ▲3.00 |
Dashboard /wp-admin | 3.09 ▲0.04 | 56.46 ▼1.45 |
Posts /wp-admin/edit.php | 3.14 ▲0.04 | 50.42 ▼0.89 |
Add New Post /wp-admin/post-new.php | 5.45 ▲0.02 | 101.86 ▼577.91 |
Media Library /wp-admin/upload.php | 3.03 ▲0.03 | 38.96 ▼5.45 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by EDD Quickpay payment gateway
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲107 | 15.88 ▲0.25 | 12.60 ▲2.75 | 52.13 ▼5.63 |
Dashboard /wp-admin | 2,967 ▲33 | 5.92 ▼0.08 | 142.46 ▼35.68 | 119.08 ▼4.99 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.70 ▼0.14 | 72.79 ▼2.80 | 99.05 ▲0.79 |
Add New Post /wp-admin/post-new.php | 1,615 ▼68 | 21.34 ▲5.02 | 320.52 ▼84.43 | 113.30 ▼12.35 |
Media Library /wp-admin/upload.php | 1,807 ▼0 | 5.04 ▲0.03 | 183.71 ▲23.06 | 123.91 ▲1.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstall script ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 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
Please fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/edd-quickpay/edd-quickpay.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
7 plugin tags: payment gateway, payment, integration, quickpay, quick pay...
edd-quickpay/edd-quickpay.php Passed 13 tests
The primary PHP file in "EDD Quickpay payment gateway" version 1.0 is used by WordPress to initiate all plugin functionality
45 characters long description:
Quickpay.dk gateway for Easy Digital Download
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin172 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 43 | 15 | 172 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
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 | 5 | |
▷ Named functions | 5 | 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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin