100% edd-integrapay

Code Review | Compatible IntegraPay Gateway for Easy Digital Downloads

WordPress plugin Compatible IntegraPay Gateway for Easy Digital Downloads scored 100% from 54 tests.

About plugin

  • Plugin page: edd-integrapay
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.8-5.4
  • WordPress version: 5.8.1
  • First release: Mar 7, 2020
  • Latest release: Mar 7, 2020
  • Number of updates: 17
  • Update frequency: N/A
  • Top authors: saurav.rox (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 204 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully

Server metrics [RAM: ▲0.09MB] [CPU: ▼143.69ms] Passed 4 tests

Analyzing server-side resources used by Compatible IntegraPay Gateway for Easy Digital Downloads
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.92 ▲0.0938.82 ▲4.63
Dashboard /wp-admin3.15 ▲0.0948.03 ▲2.50
Posts /wp-admin/edit.php3.26 ▲0.1446.83 ▼9.09
Add New Post /wp-admin/post-new.php5.51 ▲0.0793.97 ▼568.24
Media Library /wp-admin/upload.php3.09 ▲0.0935.52 ▲0.09

Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 16 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Checking browser requirements for Compatible IntegraPay Gateway for Easy Digital Downloads
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,703 ▲6615.89 ▲0.3410.25 ▲2.1453.38 ▲2.45
Dashboard /wp-admin2,970 ▲395.94 ▲0.01134.14 ▼12.55111.95 ▼10.60
Posts /wp-admin/edit.php2,739 ▲32.69 ▼0.0068.41 ▼0.9999.44 ▼3.11
Add New Post /wp-admin/post-new.php1,683 ▲7918.77 ▼0.18375.95 ▲5.12108.65 ▲2.26
Media Library /wp-admin/upload.php1,810 ▲65.05 ▲0.05143.11 ▼11.96123.15 ▼6.06

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstaller ran successfully

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected

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


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: payment gateway, integrapay, online payments, easy digital downloads, austrailian payment gateway

edd-integrapay/edd-integrapay.php 92% from 13 tests

The main PHP script in "Compatible IntegraPay Gateway for Easy Digital Downloads" version 1.0.0 is automatically included on every request by WordPress
It is important to fix the following:
  • Description: Please keep the plugin description shorter than 140 characters (currently 164 characters long)

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 detected399 lines of code in 10 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.21
Average class complexity5.71
▷ Minimum class complexity1.00
▷ Maximum class complexity31.00
Average method complexity2.32
▷ Minimum method complexity1.00
▷ Maximum method complexity19.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes7100.00%
▷ Final classes00.00%
▷ Static methods28.00%
▷ Public methods2080.00%
▷ Protected methods00.00%
▷ Private methods520.00%
▷ Named functions3100.00%
▷ Anonymous functions00.00%
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin