94% edd-quickpay

Code Review | EDD Quickpay payment gateway

WordPress plugin EDD Quickpay payment gateway scored 94% from 54 tests.

About plugin

  • Plugin page: edd-quickpay
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.9-3.9.1
  • WordPress version: 5.8.1
  • First release: Jul 18, 2014
  • Latest release: Jul 18, 2014
  • Number of updates: 8
  • Update frequency: every 0.5 days
  • Top authors: Morten_a (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 865 total downloads

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
PageMemory (MB)CPU Time (ms)
Home /2.87 ▲0.0339.46 ▲3.00
Dashboard /wp-admin3.09 ▲0.0456.46 ▼1.45
Posts /wp-admin/edit.php3.14 ▲0.0450.42 ▼0.89
Add New Post /wp-admin/post-new.php5.45 ▲0.02101.86 ▼577.91
Media Library /wp-admin/upload.php3.03 ▲0.0338.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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,703 ▲10715.88 ▲0.2512.60 ▲2.7552.13 ▼5.63
Dashboard /wp-admin2,967 ▲335.92 ▼0.08142.46 ▼35.68119.08 ▼4.99
Posts /wp-admin/edit.php2,739 ▼02.70 ▼0.1472.79 ▼2.8099.05 ▲0.79
Add New Post /wp-admin/post-new.php1,615 ▼6821.34 ▲5.02320.52 ▼84.43113.30 ▼12.35
Media Library /wp-admin/upload.php1,807 ▼05.04 ▲0.03183.71 ▲23.06123.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

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:
LanguageFilesBlank linesComment linesLines of code
PHP14315172

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 code0.31
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions5
▷ Named functions5100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.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