10% auction-nudge

Code Review | Auction Nudge - Your eBay on Your Site

WordPress plugin Auction Nudge - Your eBay on Your Site scored 10% from 54 tests.

About plugin

  • Plugin page: auction-nudge
  • Plugin version: 6.2.1
  • PHP compatiblity: 5.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.2-5.7
  • WordPress version: 5.8.1
  • First release: Nov 12, 2013
  • Latest release: Mar 11, 2021
  • Number of updates: 80
  • Update frequency: every 33.6 days
  • Top authors: morehawes (100%)

Code review

54 tests

User reviews

70 reviews

Install metrics

3,000+ active / 58,711 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
It is recommended to fix the following installer errors
  • Install procedure had errors
    • > User notice in wp-includes/functions.php+5663
    add_shortcode was called incorrectly. Invalid shortcode name: Empty name given. Please see Debugging in WordPress for more information. (This message was added in version 4.4.0.)

Server metrics [RAM: ▲0.31MB] [CPU: ▼135.60ms] Passed 4 tests

Analyzing server-side resources used by Auction Nudge - Your eBay on Your Site
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.12 ▲0.2837.98 ▲5.25
Dashboard /wp-admin3.42 ▲0.3652.08 ▲2.97
Posts /wp-admin/edit.php3.47 ▲0.3649.85 ▲12.36
Add New Post /wp-admin/post-new.php5.72 ▲0.28106.25 ▼549.85
Media Library /wp-admin/upload.php3.30 ▲0.3034.42 ▼0.76
Auction Nudge /wp-admin/options-general.php?page=an_options_page3.2731.17

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 12 new files
Database: no new tables, 5 new options
New WordPress options
an_options
widget_an_profile_widget
widget_an_ads_widget
widget_an_feedback_widget
widget_an_listings_widget

Browser metrics Passed 4 tests

Auction Nudge - Your eBay on Your Site: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,714 ▲11916.37 ▲0.988.22 ▼0.4952.52 ▲3.90
Dashboard /wp-admin2,976 ▲425.95 ▲0.04133.40 ▼27.81113.53 ▼7.16
Posts /wp-admin/edit.php2,748 ▲92.83 ▲0.1469.91 ▲1.5996.77 ▼11.17
Add New Post /wp-admin/post-new.php2,787 ▲1,10421.39 ▲2.67286.98 ▼110.23143.18 ▲33.02
Media Library /wp-admin/upload.php1,819 ▲125.05 ▼0.02163.16 ▲10.38120.33 ▼9.95
Auction Nudge /wp-admin/options-general.php?page=an_options_page1,4912.1261.15100.97

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
You still need to fix the following
  • Zombie WordPress options were found after uninstall: 5 options
    • widget_an_profile_widget
    • widget_an_feedback_widget
    • widget_an_ads_widget
    • an_options
    • widget_an_listings_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 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
Please take a closer look at the following
  • 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/auction-nudge/inc/front.php:42
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/auction-nudge/inc/admin.php:33
    • > PHP Fatal error
      Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/auction-nudge/inc/widgets.php:9
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/auction-nudge/inc/front.php:42

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found

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:
  • Tags: Please delete some tags, you are using 70 tag instead of maximum 10
The official readme.txt might help

auction-nudge/auctionnudge.php 85% from 13 tests

The main PHP file in "Auction Nudge - Your eBay on Your Site" ver. 6.2.1 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("auction-nudge.php" instead of "auctionnudge.php")
  • Description: Keep the plugin description shorter than 140 characters (currently 410 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
There were no executable files found in this plugin1,928 lines of code in 11 files:
LanguageFilesBlank linesComment linesLines of code
PHP82884671,579
CSS1617193
JavaScript22326156

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.36
Average class complexity1.80
▷ Minimum class complexity1.00
▷ Maximum class complexity5.00
Average method complexity1.44
▷ Minimum method complexity1.00
▷ Maximum method complexity3.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes5
▷ Abstract classes00.00%
▷ Concrete classes5100.00%
▷ Final classes00.00%
Methods9
▷ Static methods00.00%
▷ Public methods777.78%
▷ Protected methods222.22%
▷ Private methods00.00%
Functions60
▷ Named functions60100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin