10% wp-meetup

Code Review | WP Meetup

WordPress plugin WP Meetup scored 10% from 54 tests.

About plugin

  • Plugin page: wp-meetup
  • Plugin version: 2.3.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.3.0-5.2.2
  • WordPress version: 6.3.1
  • First release: Sep 26, 2011
  • Latest release: Aug 9, 2019
  • Number of updates: 91
  • Update frequency: every 31.8 days
  • Top authors: Nuanced Media (100%)

Code review

54 tests

User reviews

32 reviews

Install metrics

200+ active / 25,005 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The following installer errors require your attention
  • This plugin did not install gracefully
    • > Notice in wp-content/plugins/wp-meetup/backwards-compatibility.php+87
    Trying to access array offset on value of type bool

Server metrics [RAM: ▲0.12MB] [CPU: ▼2.37ms] Passed 4 tests

This is a short check of server-side resources used by WP Meetup
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.75 ▲0.2938.13 ▼1.37
Dashboard /wp-admin3.45 ▲0.1447.02 ▲1.87
Posts /wp-admin/edit.php3.50 ▲0.1445.10 ▼1.00
Add New Post /wp-admin/post-new.php5.99 ▲0.1084.36 ▼7.99
Media Library /wp-admin/upload.php3.31 ▲0.0837.53 ▲0.90

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

Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 37 new files
Database: 2 new tables, 9 new options
New tables
wp_meetup_events
wp_meetup_groups
New WordPress options
db_upgraded
widget_theysaidso_widget
theysaidso_admin_options
widget_meetup_event_list
widget_recent-posts
widget_meetup_calendar
can_compress_scripts
wp_meetup_options
widget_recent-comments

Browser metrics Passed 4 tests

An overview of browser requirements for WP Meetup
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,847 ▲5813.31 ▲0.101.90 ▲0.3037.09 ▼2.86
Dashboard /wp-admin2,223 ▲174.90 ▼0.97117.16 ▲11.0555.11 ▲13.28
Posts /wp-admin/edit.php2,106 ▲142.05 ▲0.0034.59 ▼5.2433.12 ▼1.21
Add New Post /wp-admin/post-new.php1,550 ▲1723.11 ▼0.18636.77 ▼59.7252.80 ▼3.39
Media Library /wp-admin/upload.php1,411 ▲264.18 ▼0.0295.40 ▼15.3642.23 ▼2.34

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
  • Zombie tables were found after uninstall: 2 tables
    • wp_meetup_groups
    • wp_meetup_events
  • Zombie WordPress options detected upon uninstall: 9 options
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_recent-posts
    • db_upgraded
    • can_compress_scripts
    • wp_meetup_options
    • widget_theysaidso_widget
    • widget_meetup_event_list
    • widget_meetup_calendar

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP Passed 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
Congratulations! This plugin passed the SRP test

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 Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
2 plugin tags: meetupcom, meetup

wp-meetup/wp-meetup.php Passed 13 tests

"WP Meetup" version 2.3.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
92 characters long description:
Pulls events from Meetup.com onto your blog to be displayed in a calendar, list, or widgets.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected3,659 lines of code in 34 files:
LanguageFilesBlank linesComment linesLines of code
PHP285708453,188
Sass39010468
CSS2002
JavaScript1001

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.32
Average class complexity15.04
▷ Minimum class complexity1.00
▷ Maximum class complexity70.00
Average method complexity3.34
▷ Minimum method complexity1.00
▷ Maximum method complexity44.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes27
▷ Abstract classes00.00%
▷ Concrete classes27100.00%
▷ Final classes00.00%
Methods162
▷ Static methods53.09%
▷ Public methods13382.10%
▷ Protected methods00.00%
▷ Private methods2917.90%
Functions2
▷ Named functions2100.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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
images/nuanced-media.png1.27KB0.39KB▼ 69.51%