89% ezcount-paypal-ipn

Code Review | EZcount Paypal IPN

WordPress plugin EZcount Paypal IPN scored89%from 54 tests.

About plugin

  • Plugin page: ezcount-paypal-ipn
  • Plugin version: 1.5.2
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4-6.1.1
  • WordPress version: 6.3.1
  • First release: Mar 9, 2023
  • Latest release: Mar 9, 2023
  • Number of updates: 2
  • Update frequency: every 9.5 days
  • Top authors: alonezcount (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /356 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.04MB] [CPU: ▼11.11ms] Passed 4 tests

Server-side resources used by EZcount Paypal IPN
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0531.66 ▼5.16
Dashboard /wp-admin3.35 ▲0.0145.51 ▼18.29
Posts /wp-admin/edit.php3.40 ▲0.0546.13 ▲0.52
Add New Post /wp-admin/post-new.php5.93 ▲0.0581.49 ▼19.52
Media Library /wp-admin/upload.php3.27 ▲0.0533.86 ▼1.47

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

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
can_compress_scripts
theysaidso_admin_options
widget_theysaidso_widget
db_upgraded
widget_recent-posts

Browser metrics Passed 4 tests

EZcount Paypal IPN: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.72 ▲0.161.64 ▼0.2337.23 ▼5.47
Dashboard /wp-admin2,195 ▲185.64 ▲0.1384.32 ▼9.2636.83 ▼4.89
Posts /wp-admin/edit.php2,103 ▲32.03 ▲0.0436.16 ▼0.0733.09 ▼3.36
Add New Post /wp-admin/post-new.php1,526 ▼223.10 ▲0.09632.74 ▼10.7963.38 ▲12.02
Media Library /wp-admin/upload.php1,400 ▲34.16 ▼0.0293.59 ▼2.6442.19 ▲0.29

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • db_upgraded
    • widget_recent-comments
    • widget_recent-posts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • can_compress_scripts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected

SRP Passed 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
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
  • Screenshots: Screenshot #1 (https://imgur.com/a/NriE5) image not found
You can take inspiration from this readme.txt

ezcount-paypal-ipn/ezcount-paypal-ipn.php 85% from 13 tests

"EZcount Paypal IPN" version 1.5.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
  • Requires at least: Please use periods and digits for the required version (ex. "7.0" instead of "4")
  • Text Domain: The text domain name should consist of only dashes and lowercase characters

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin208 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP12628208

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.53
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 functions240.00%
▷ Anonymous functions360.00%
Constants0
▷ Global constants00.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
No PNG images were found in this plugin