10% rsvpmaker-for-toastmasters

Code Review | RSVPMaker for Toastmasters

WordPress plugin RSVPMaker for Toastmasters scored10%from 54 tests.

About plugin

  • Plugin page: rsvpmaker-for-toa...
  • Plugin version: 6.0.8
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.4.1
  • WordPress version: 6.3.1
  • First release: Nov 9, 2014
  • Latest release: Nov 29, 2023
  • Number of updates: 758
  • Update frequency: every 4.4 days
  • Top authors: davidfcarr (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

10+ active /29,030 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Please fix the following installer errors
  • This plugin did not install gracefully
    • > Error in wp-content/plugins/rsvpmaker-for-toastmasters/rsvpmaker-for-toastmasters.php+8957
    Uncaught Error: Call to undefined function new_template_schedule() in wp-content/plugins/rsvpmaker-for-toastmasters/rsvpmaker-for-toastmasters.php:8957
    Stack trace:
    #0 wp-includes/class-wp-hook.php(310): wp4toast_template()
    #1 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
    #2 wp-includes/plugin.php(517): WP_Hook->do_action()
    #3 wp-admin/includes/plugin.php(693): do_action()

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

A check of server-side resources used by RSVPMaker for Toastmasters
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0038.54 ▼3.12
Dashboard /wp-admin3.31 ▼0.0453.55 ▼10.68
Posts /wp-admin/edit.php3.36 ▲0.0047.64 ▼5.19
Add New Post /wp-admin/post-new.php5.89 ▲0.0095.80 ▲0.53
Media Library /wp-admin/upload.php3.23 ▲0.0036.05 ▲1.76

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 356 new files
Database: no new tables, 7 new options
New WordPress options
db_upgraded
widget_recent-comments
widget_theysaidso_widget
can_compress_scripts
stats_data_model
theysaidso_admin_options
widget_recent-posts

Browser metrics Passed 4 tests

This is an overview of browser requirements for RSVPMaker for Toastmasters
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,790 ▲5414.70 ▲0.471.61 ▼0.0638.30 ▼4.91
Dashboard /wp-admin2,195 ▲175.61 ▼0.0794.11 ▼19.2741.23 ▼5.08
Posts /wp-admin/edit.php2,100 ▲32.02 ▲0.0839.57 ▲1.4533.89 ▼6.12
Add New Post /wp-admin/post-new.php1,526 ▼323.34 ▲0.27680.24 ▲21.0260.73 ▼8.84
Media Library /wp-admin/upload.php1,403 ▼04.19 ▼0.0095.94 ▲1.6642.67 ▲0.44

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • Zombie WordPress options were found after uninstall: 7 options
    • widget_recent-posts
    • stats_data_model
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-comments
    • db_upgraded
    • can_compress_scripts

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP 0% 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 fix the following items
  • 1× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/rsvpmaker-for-toastmasters/mce/placeholder.php
  • 45× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Call to undefined function awesome_open_roles() in wp-content/plugins/rsvpmaker-for-toastmasters/email_agenda.php:5
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_block_wrapper_attributes() in wp-content/plugins/rsvpmaker-for-toastmasters/agenda-layout/build/meetingdate/render.php:6
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_permalink() in wp-content/plugins/rsvpmaker-for-toastmasters/application-form.php:9
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/rsvpmaker-for-toastmasters/history.php:11
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/rsvpmaker-for-toastmasters/toastmasters-privacy.php:21
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/rsvpmaker-for-toastmasters/tm-reports.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/rsvpmaker-for-toastmasters/fse-navigation-block.php:176
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/rsvpmaker-for-toastmasters/projects_array.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_block_wrapper_attributes() in wp-content/plugins/rsvpmaker-for-toastmasters/agenda-layout/src/agendamain/render.php:6
    • > PHP Notice
      Trying to get property 'post_name' of non-object in wp-content/plugins/rsvpmaker-for-toastmasters/agenda-word.php on line 7

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
  • Screenshots: These screenshots do not have images: #1 (Role signup on the online agenda.), #2 (Data collected through the plugin feeds performance reports, such as this one showing progress toward Competent Communicator.)
The official readme.txt is a good inspiration

rsvpmaker-for-toastmasters/rsvpmaker-for-toastmasters.php 92% from 13 tests

The main PHP file in "RSVPMaker for Toastmasters" ver. 6.0.8 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
  • Description: Please keep the plugin description shorter than 140 characters (currently 148 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected116,105 lines of code in 266 files:
LanguageFilesBlank linesComment linesLines of code
JSON250060,933
PHP5223,55193334,199
JavaScript1444,6561,33317,924
CSS251741222,274
Sass12303482
Markdown2610169
PO File1354780
XML30023
HTML132020
SVG1001

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.36
Average class complexity9.70
▷ Minimum class complexity1.00
▷ Maximum class complexity76.00
Average method complexity3.59
▷ Minimum method complexity1.00
▷ Maximum method complexity40.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes44
▷ Abstract classes00.00%
▷ Concrete classes44100.00%
▷ Final classes00.00%
Methods148
▷ Static methods00.00%
▷ Public methods148100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions586
▷ Named functions58499.66%
▷ Anonymous functions20.34%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
35 PNG files occupy 1.32MB with 0.72MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/noun_Award_2887079-50.png2.00KB1.95KB▼ 2.40%
nav-to-dashboard.png76.55KB26.12KB▼ 65.88%
stoplight-green.png0.33KB0.08KB▼ 75.00%
screenshot-1.png149.34KB50.15KB▼ 66.42%
agenda-rays.png0.32KB0.11KB▼ 64.20%