78% waitlisted

Code Review | waitlisted.co

WordPress plugin waitlisted.co scored78%from 54 tests.

About plugin

  • Plugin page: waitlisted
  • Plugin version: 1.2.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-4.3
  • WordPress version: 6.3.1
  • First release: Jul 14, 2015
  • Latest release: Nov 16, 2015
  • Number of updates: 16
  • Update frequency: every 8.1 days
  • Top authors: waitlisted (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active /1,843 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully

Server metrics [RAM: ▲0.07MB] [CPU: ▼5.51ms] Passed 4 tests

An overview of server-side resources used by waitlisted.co
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0737.77 ▼6.71
Dashboard /wp-admin3.38 ▲0.0848.83 ▼4.24
Posts /wp-admin/edit.php3.49 ▲0.1460.52 ▲13.02
Add New Post /wp-admin/post-new.php5.96 ▲0.0794.72 ▼10.38
Media Library /wp-admin/upload.php3.30 ▲0.0738.27 ▼0.69
Waitlisted /wp-admin/options-general.php?page=waitlisted3.2733.05

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

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
db_upgraded
theysaidso_admin_options
widget_theysaidso_widget
can_compress_scripts
widget_recent-comments

Browser metrics Passed 4 tests

An overview of browser requirements for waitlisted.co
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,053 ▲29214.07 ▼0.2415.93 ▲14.1337.58 ▼8.18
Dashboard /wp-admin2,222 ▲195.82 ▼0.07100.92 ▼6.5243.02 ▼7.12
Posts /wp-admin/edit.php2,104 ▲42.01 ▲0.0539.57 ▼1.1038.22 ▲4.21
Add New Post /wp-admin/post-new.php1,529 ▼617.80 ▼5.29674.07 ▲10.7661.52 ▲6.73
Media Library /wp-admin/upload.php1,404 ▲74.24 ▲0.0197.76 ▼17.8148.26 ▼2.39
Waitlisted /wp-admin/options-general.php?page=waitlisted8062.0324.9847.61

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
These items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-posts
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-comments
    • can_compress_scripts
    • widget_theysaidso_widget

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP 0% 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
The following issues need your attention
  • 1× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/waitlisted/public/partials/waitlisted-public-display.php
  • 2× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/waitlisted/admin/partials/waitlisted-admin-display.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/waitlisted/includes/class-waitlisted-shortcodes.php:32

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 81% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
  • Screenshots: Screenshot #1 (screenshot1.png) image missing
  • Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line ( === waitlisted === )
  • Screenshots: Add a description for screenshot #0 in waitlisted/assets to your readme.txt
The official readme.txt is a good inspiration

waitlisted/waitlisted.php Passed 13 tests

The principal PHP file in "waitlisted.co" v. 1.2.0 is loaded by WordPress automatically on each request
37 characters long description:
Easily use waitlisted with wordpress.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin314 lines of code in 18 files:
LanguageFilesBlank linesComment linesLines of code
PHP14183651304
JavaScript222710
CSS2080

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.12
Average class complexity2.11
▷ Minimum class complexity1.00
▷ Maximum class complexity7.00
Average method complexity1.28
▷ Minimum method complexity1.00
▷ Maximum method complexity7.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes9
▷ Abstract classes00.00%
▷ Concrete classes9100.00%
▷ Final classes00.00%
Methods36
▷ Static methods411.11%
▷ Public methods2980.56%
▷ Protected methods00.00%
▷ Private methods719.44%
Functions3
▷ Named functions3100.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
There are no PNG files in this plugin