10% expresspigeon-webform-widget

Code Review | ExpressPigeon Subscription Form

WordPress plugin ExpressPigeon Subscription Form scored 10% from 54 tests.

About plugin

  • Plugin page: expresspigeon-web...
  • Plugin version: 1.5
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-3.4.2
  • WordPress version: 6.3.1
  • First release: Dec 14, 2012
  • Latest release: May 13, 2015
  • Number of updates: 22
  • Update frequency: every 67.4 days
  • Top authors: expresspigeon (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 2,980 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
  • The plugin cannot be installed
    • > Deprecated in wp-content/plugins/expresspigeon-webform-widget/expresspigeon-webform-widget.php+13
    Function create_function() is deprecated

Server metrics [RAM: ▼1.92MB] [CPU: ▼51.62ms] Passed 4 tests

Server-side resources used by ExpressPigeon Subscription Form
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /2.06 ▼1.404.68 ▼43.74
Dashboard /wp-admin2.08 ▼1.226.85 ▼41.59
Posts /wp-admin/edit.php2.08 ▼1.276.02 ▼40.03
Add New Post /wp-admin/post-new.php2.08 ▼3.806.23 ▼81.11
Media Library /wp-admin/upload.php2.08 ▼1.145.33 ▼27.91

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

Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options
widget_iframewidget
can_compress_scripts
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-posts
db_upgraded
widget_recent-comments

Browser metrics Passed 4 tests

An overview of browser requirements for ExpressPigeon Subscription Form
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.24 ▼0.981.68 ▼0.0837.33 ▼3.80
Dashboard /wp-admin2,203 ▲114.87 ▼0.10101.87 ▼11.1640.12 ▲1.21
Posts /wp-admin/edit.php2,092 ▲32.01 ▼0.0340.06 ▲6.1935.63 ▲1.94
Add New Post /wp-admin/post-new.php1,534 ▲123.25 ▲0.34688.36 ▲91.4056.56 ▲7.80
Media Library /wp-admin/upload.php1,388 ▲64.16 ▼0.0498.83 ▲0.6041.58 ▼1.85

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
  • Uninstall procedure validation failed for this plugin
    • > Deprecated in wp-content/plugins/expresspigeon-webform-widget/expresspigeon-webform-widget.php+13
    Function create_function() is deprecated
  • This plugin did not uninstall successfully, leaving 7 options in the database
    • can_compress_scripts
    • widget_recent-comments
    • db_upgraded
    • widget_iframewidget
    • widget_recent-posts
    • widget_theysaidso_widget
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/expresspigeon-webform-widget/expresspigeon-webform-widget.php:13

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 on the user side

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
  • Screenshots: Screenshot #1 (This is our Subscription from Drag and Drop Designer.) image missing
The official readme.txt might help

expresspigeon-webform-widget/expresspigeon-webform-widget.php Passed 13 tests

The main PHP script in "ExpressPigeon Subscription Form" version 1.5 is automatically included on every request by WordPress
123 characters long description:
The ExpressPigeon Subscription Form allows you to easily add a newsletter subscription form to your Wordpress blog or site.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin56 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP151056

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.00
Average class complexity1.00
▷ Minimum class complexity1.00
▷ Maximum class complexity1.00
Average method complexity1.00
▷ Minimum method complexity1.00
▷ Maximum method complexity1.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods4
▷ Static methods00.00%
▷ Public methods4100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.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
1 PNG file occupies 0.09MB with 0.06MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
screenshot-1.png95.63KB37.09KB▼ 61.22%