90% edd-integrapay

Code Review | Compatible Payrix Gateway for Easy Digital Downloads

WordPress plugin Compatible Payrix Gateway for Easy Digital Downloads scored90%from 54 tests.

About plugin

  • Plugin page: edd-integrapay
  • Plugin version: 1.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 5.8-6.0
  • WordPress version: 6.3.1
  • First release: Mar 7, 2020
  • Latest release: Jun 29, 2022
  • Number of updates: 25
  • Update frequency: every 33.8 days
  • Top authors: saurav.rox (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /468 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

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

Server metrics [RAM: ▲0.08MB] [CPU: ▼4.82ms] Passed 4 tests

Analyzing server-side resources used by Compatible Payrix Gateway for Easy Digital Downloads
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.56 ▲0.1041.47 ▲2.95
Dashboard /wp-admin3.40 ▲0.0548.09 ▼8.28
Posts /wp-admin/edit.php3.51 ▲0.1543.52 ▼4.92
Add New Post /wp-admin/post-new.php5.98 ▲0.0982.33 ▼8.82
Media Library /wp-admin/upload.php3.32 ▲0.0935.64 ▲2.73

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, 6 new options
New WordPress options
widget_theysaidso_widget
widget_recent-comments
can_compress_scripts
db_upgraded
widget_recent-posts
theysaidso_admin_options

Browser metrics Passed 4 tests

Checking browser requirements for Compatible Payrix Gateway for Easy Digital Downloads
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,814 ▲6814.35 ▼0.071.97 ▲0.3443.11 ▲4.11
Dashboard /wp-admin2,195 ▲205.62 ▲0.0182.56 ▼16.8136.44 ▼0.89
Posts /wp-admin/edit.php2,100 ▼02.00 ▼0.1233.30 ▼1.0731.83 ▼4.98
Add New Post /wp-admin/post-new.php1,526 ▼023.26 ▼0.26671.61 ▼3.3957.96 ▼3.68
Media Library /wp-admin/upload.php1,397 ▼64.19 ▼0.12101.53 ▼3.4245.44 ▲0.80

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-posts
    • db_upgraded

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

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

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

The main PHP script in "Compatible Payrix Gateway for Easy Digital Downloads" version 1.0.1 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 160 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
PHP10133490399

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
Namespaces0
Interfaces0
Traits0
Classes7
▷ Abstract classes00.00%
▷ Concrete classes7100.00%
▷ Final classes00.00%
Methods25
▷ Static methods28.00%
▷ Public methods2080.00%
▷ Protected methods00.00%
▷ Private methods520.00%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants1
▷ 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