78% auction-feed

Code Review | Auction Feed

WordPress plugin Auction Feed scored 78% from 54 tests.

About plugin

  • Plugin page: auction-feed
  • Plugin version: 1.1.1
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.5.0-5.8.0
  • WordPress version: 5.8.1
  • First release: Oct 14, 2020
  • Latest release: Jul 22, 2021
  • Number of updates: 32
  • Update frequency: every 8.9 days
  • Top authors: morganrichards (96.88%)onestepdesign (6.25%)

Code review

54 tests

User reviews

4 reviews

Install metrics

40+ active / 457 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.25MB] [CPU: ▼144.60ms] Passed 4 tests

An overview of server-side resources used by Auction Feed
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.08 ▲0.2538.36 ▲4.52
Dashboard /wp-admin3.32 ▲0.2650.47 ▼5.35
Posts /wp-admin/edit.php3.37 ▲0.2647.53 ▲2.09
Add New Post /wp-admin/post-new.php5.68 ▲0.2486.70 ▼574.89
Media Library /wp-admin/upload.php3.26 ▲0.2636.07 ▼0.23
Auction Feed /wp-admin/admin.php?page=auction-feed-plugin3.2333.87
Delete /wp-admin/admin.php?page=auction-feed-plugin-delete-feed3.2331.04
Add New /wp-admin/admin.php?page=auction-feed-plugin-feed-options3.2127.03

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

How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

A check of browser resources used by Auction Feed
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,782 ▲21116.03 ▲0.5110.15 ▼1.2047.74 ▼1.02
Dashboard /wp-admin3,071 ▲1346.28 ▲0.34166.00 ▲18.18107.45 ▼5.64
Posts /wp-admin/edit.php2,846 ▲1072.76 ▲0.0467.56 ▲5.8684.66 ▼4.01
Add New Post /wp-admin/post-new.php1,645 ▲6422.15 ▲1.76311.82 ▼71.64120.38 ▲9.92
Media Library /wp-admin/upload.php1,914 ▲1045.10 ▲0.08178.96 ▲36.67109.75 ▼9.13
Auction Feed /wp-admin/admin.php?page=auction-feed-plugin1,1522.4052.7761.50
Delete /wp-admin/admin.php?page=auction-feed-plugin-delete-feed1,0912.3457.7956.14
Add New /wp-admin/admin.php?page=auction-feed-plugin-feed-options2,1122.4458.0977.36

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
Please fix the following items
  • Uninstall procedure had uncaught errors
    • > User notice in wp-includes/functions.php+5663
    wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.0.)

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
  • 4 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=auction-feed-plugin-feed-options
    • > Notice in wp-content/plugins/auction-feed/auction-feed.php+295
    Undefined variable: theme
  • 5 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=auction-feed-plugin-feed-options
    • > Notice in wp-content/plugins/auction-feed/auction-feed.php+318
    Undefined variable: setLanguageOptions

SRP 50% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function AuctionFeed\\add_filter() in wp-content/plugins/auction-feed/auction-feed.php:18

User-side errors Passed 1 test

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


Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
2 plugin tags: ebay, auction

auction-feed/auction-feed.php 92% from 13 tests

This is the main PHP file of "Auction Feed" version 1.1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
  • Description: Keep the plugin description shorter than 140 characters (currently 200 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin965 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.12
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
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions10100.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin