84% rsvpify-oembed

Code Review | RSVPify Event RSVP & Registration Embed

WordPress plugin RSVPify Event RSVP & Registration Embed scored84%from 54 tests.

About plugin

  • Plugin page: rsvpify-oembed
  • Plugin version: 1.2.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.3-6.3
  • WordPress version: 6.3.1
  • First release: Jan 28, 2022
  • Latest release: Oct 2, 2023
  • Number of updates: 15
  • Update frequency: every 40.8 days
  • Top authors: rsvpify (100%)

Code review

54 tests

User reviews

6 reviews

Install metrics

100+ active /2,340 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.01MB] [CPU: ▼5.75ms] Passed 4 tests

This is a short check of server-side resources used by RSVPify Event RSVP & Registration Embed
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0133.60 ▼7.68
Dashboard /wp-admin3.31 ▲0.0143.16 ▼2.83
Posts /wp-admin/edit.php3.36 ▲0.0143.75 ▼4.01
Add New Post /wp-admin/post-new.php5.89 ▲0.0178.33 ▼8.49
Media Library /wp-admin/upload.php3.24 ▲0.0133.96 ▲0.44

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

Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 2 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

This is an overview of browser requirements for RSVPify Event RSVP & Registration Embed
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5414.41 ▲0.041.73 ▲0.0537.46 ▼7.31
Dashboard /wp-admin2,206 ▲184.84 ▼0.04107.24 ▲2.9038.47 ▼5.33
Posts /wp-admin/edit.php2,086 ▼02.01 ▲0.0135.27 ▼1.3536.32 ▲3.84
Add New Post /wp-admin/post-new.php1,538 ▲523.12 ▼0.16654.24 ▲44.8756.41 ▼0.29
Media Library /wp-admin/upload.php1,388 ▼34.16 ▼0.0594.37 ▼9.3740.26 ▼3.71

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-posts
    • widget_theysaidso_widget
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-comments
    • db_upgraded

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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function wp_oembed_add_provider() in wp-content/plugins/rsvpify-oembed/rsvpify-oembed.php:15

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 88% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
  • Tags: Please reduce the number of tags, currently 20 tag instead of maximum 10
  • Donate link: Invalid url: "N/A"
The official readme.txt is a good inspiration

rsvpify-oembed/rsvpify-oembed.php Passed 13 tests

"RSVPify Event RSVP & Registration Embed" version 1.2.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
22 characters long description:
RSVPify oEmbed plugin.

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
No dangerous file extensions were detected20 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP17920

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.11
Average class complexity2.00
▷ Minimum class complexity2.00
▷ Maximum class complexity2.00
Average method complexity1.50
▷ Minimum method complexity1.00
▷ Maximum method complexity2.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods2
▷ Static methods00.00%
▷ Public methods2100.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
There are no PNG files in this plugin