84% puddinq-order-list

Code Review | Puddinq order list

WordPress plugin Puddinq order list scored84%from 54 tests.

About plugin

  • Plugin page: puddinq-order-list
  • Plugin version: 0.2.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-6.1
  • WordPress version: 6.3.1
  • First release: Oct 3, 2017
  • Latest release: Nov 12, 2022
  • Number of updates: 37
  • Update frequency: every 50.4 days
  • Top authors: wonder32 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

60+ active /2,746 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

Server metrics [RAM: ▲0.00MB] [CPU: ▼3.66ms] Passed 4 tests

Analyzing server-side resources used by Puddinq order list
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0037.76 ▼7.01
Dashboard /wp-admin3.31 ▲0.0049.07 ▼4.65
Posts /wp-admin/edit.php3.36 ▲0.0050.16 ▲0.26
Add New Post /wp-admin/post-new.php5.89 ▲0.00106.78 ▼0.70
Media Library /wp-admin/upload.php3.23 ▲0.0036.15 ▼2.28

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

Filesystem and database footprint
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
can_compress_scripts
theysaidso_admin_options
db_upgraded
widget_recent-comments
widget_recent-posts

Browser metrics Passed 4 tests

An overview of browser requirements for Puddinq order list
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.34 ▲0.081.70 ▼0.4740.95 ▼1.20
Dashboard /wp-admin2,198 ▲215.57 ▼0.0884.82 ▼8.4544.70 ▲1.15
Posts /wp-admin/edit.php2,103 ▲32.03 ▲0.0638.91 ▲2.2235.68 ▼1.18
Add New Post /wp-admin/post-new.php1,526 ▼423.18 ▼0.01646.54 ▼34.1349.94 ▼8.46
Media Library /wp-admin/upload.php1,397 ▼64.13 ▼0.0798.42 ▼8.1742.86 ▼5.32

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-comments
    • widget_recent-posts
    • widget_theysaidso_widget
    • db_upgraded
    • can_compress_scripts
    • theysaidso_admin_options

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 | 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 fix the following
  • 1× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/puddinq-order-list/puddinq-order-list.php

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes: You can look at the official readme.txt

puddinq-order-list/puddinq-order-list.php 92% from 13 tests

The principal PHP file in "Puddinq order list" v. 0.2.0 is loaded by WordPress automatically on each request
You should first fix the following items:
  • Requires at least: Required version must be the same as the one declared in readme.txt ("4.8" instead of "3.5")

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
Success! There were no dangerous files found in this plugin531 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code
PHP59158412
PO File1343499
CSS17020

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.30
Average class complexity11.25
▷ Minimum class complexity1.00
▷ Maximum class complexity38.00
Average method complexity2.86
▷ Minimum method complexity1.00
▷ Maximum method complexity13.00
Code structure
Namespaces2
Interfaces0
Traits0
Classes4
▷ Abstract classes125.00%
▷ Concrete classes375.00%
▷ Final classes00.00%
Methods22
▷ Static methods29.09%
▷ Public methods22100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants00.00%
▷ Class constants3100.00%
▷ Public constants3100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin