89% bridge-paypal-to-email-lists

Code Review | Bridge - Paypal to Email Lists

WordPress plugin Bridge - Paypal to Email Lists scored 89% from 54 tests.

About plugin

  • Plugin page: bridge-paypal-to-...
  • Plugin version: 1.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-3.4
  • WordPress version: 6.3.1
  • First release: Nov 5, 2015
  • Latest release: Dec 30, 2015
  • Number of updates: 4
  • Update frequency: every 14.5 days
  • Top authors: TheGrumpyDeveloper (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 648 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.06MB] [CPU: ▼2.54ms] Passed 4 tests

Server-side resources used by Bridge - Paypal to Email Lists
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0640.18 ▼4.72
Dashboard /wp-admin3.37 ▲0.0647.44 ▼2.69
Posts /wp-admin/edit.php3.42 ▲0.0649.42 ▲4.19
Add New Post /wp-admin/post-new.php5.95 ▲0.0686.91 ▼3.78
Media Library /wp-admin/upload.php3.29 ▲0.0636.38 ▲1.02

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

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for Bridge - Paypal to Email Lists
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,816 ▲5913.64 ▼0.741.67 ▼1.0739.66 ▼12.70
Dashboard /wp-admin2,222 ▲404.81 ▼0.10109.56 ▲5.0140.22 ▼6.62
Posts /wp-admin/edit.php2,105 ▲192.01 ▼0.0338.48 ▲1.5134.22 ▲1.36
Add New Post /wp-admin/post-new.php1,547 ▲2823.46 ▲0.21661.39 ▼17.3749.79 ▼13.00
Media Library /wp-admin/upload.php1,404 ▲164.20 ▼0.0696.57 ▲2.4744.33 ▼1.18

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
  • Zombie WordPress options were found after uninstall: 7 options
    • widget_recent-posts
    • db_upgraded
    • widget_recent-comments
    • grumpy_bpte_transactions
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_theysaidso_widget

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested

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
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
  • Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line ( === bridge-paypal-to-email-lists === )
The official readme.txt might help

bridge-paypal-to-email-lists/bridge_paypal.php 92% from 13 tests

The main PHP script in "Bridge - Paypal to Email Lists" version 1.0.1 is automatically included on every request by WordPress
The following require your attention:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("bridge-paypal-to-email-lists.php" instead of "bridge_paypal.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected443 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP18539443

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.29
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%
Functions8
▷ Named functions8100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin