84% memberfindme

Code Review | MembershipWorks - Membership, Events & Directory

WordPress plugin MembershipWorks - Membership, Events & Directory scored84%from 54 tests.

About plugin

  • Plugin page: memberfindme
  • Plugin version: 6.9
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.2-6.3.1
  • WordPress version: 6.3.1
  • First release: Nov 20, 2012
  • Latest release: Sep 16, 2023
  • Number of updates: 137
  • Update frequency: every 28.9 days
  • Top authors: sourcefound (100%)

Code review

54 tests

User reviews

36 reviews

Install metrics

2,000+ active /73,155 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

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

Server metrics [RAM: ▲0.28MB] [CPU: ▼3.81ms] Passed 4 tests

This is a short check of server-side resources used by MembershipWorks - Membership, Events & Directory
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.73 ▲0.2643.96 ▼4.13
Dashboard /wp-admin3.58 ▲0.2857.05 ▲0.32
Posts /wp-admin/edit.php3.70 ▲0.3455.60 ▲4.85
Add New Post /wp-admin/post-new.php6.17 ▲0.2889.62 ▼13.62
Media Library /wp-admin/upload.php3.51 ▲0.2841.01 ▲2.18
Folders /wp-admin/admin.php?page=sf_admin_folders3.4737.35
Forms Carts Donations /wp-admin/admin.php?page=sf_admin_forms3.4734.17
Membership Works /wp-admin/admin.php?page=sf_admin_page3.4734.45
Event List /wp-admin/admin.php?page=sf_admin_event-list3.4736.05
Plugin Settings /wp-admin/admin.php?page=sf_admin_options3.4732.09
Customization /wp-admin/admin.php?page=sf_admin_custom3.4736.50
Help /wp-admin/admin.php?page=sf_admin_help3.4733.38
Labels & Membership /wp-admin/admin.php?page=sf_admin_labels3.4731.53
Event Calendar /wp-admin/admin.php?page=sf_admin_calendar3.4736.37
Jobs/Other Boards /wp-admin/admin.php?page=sf_admin_boards3.4734.28

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

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 8 new options
New WordPress options
widget_recent-comments
widget_sf_widget_event
db_upgraded
can_compress_scripts
widget_sf_widget_folder
widget_recent-posts
widget_theysaidso_widget
theysaidso_admin_options

Browser metrics Passed 4 tests

MembershipWorks - Membership, Events & Directory: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,877 ▲13114.21 ▼0.041.85 ▼0.0344.23 ▲1.56
Dashboard /wp-admin2,286 ▲1155.59 ▼0.0787.79 ▼3.4939.46 ▼4.99
Posts /wp-admin/edit.php2,188 ▲912.02 ▲0.0337.28 ▲3.0637.03 ▲2.21
Add New Post /wp-admin/post-new.php1,575 ▲4922.96 ▼0.38705.27 ▲88.0460.99 ▲15.68
Media Library /wp-admin/upload.php1,488 ▲914.24 ▲0.01102.90 ▲5.7245.86 ▲1.70
Folders /wp-admin/admin.php?page=sf_admin_folders1,0212.1539.64115.01
Forms Carts Donations /wp-admin/admin.php?page=sf_admin_forms1,0382.1138.5532.62
Membership Works /wp-admin/admin.php?page=sf_admin_page1,0542.0939.5053.91
Event List /wp-admin/admin.php?page=sf_admin_event-list1,0322.0636.8931.40
Plugin Settings /wp-admin/admin.php?page=sf_admin_options1,0132.0123.8727.84
Customization /wp-admin/admin.php?page=sf_admin_custom1,0382.0139.8533.12
Help /wp-admin/admin.php?page=sf_admin_help1,0382.0237.9230.69
Labels & Membership /wp-admin/admin.php?page=sf_admin_labels1,0512.0636.3447.71
Event Calendar /wp-admin/admin.php?page=sf_admin_calendar1,0322.2636.2131.79
Jobs/Other Boards /wp-admin/admin.php?page=sf_admin_boards1,0522.1238.0552.42

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
  • Zombie WordPress options detected upon uninstall: 8 options
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-comments
    • can_compress_scripts
    • widget_recent-posts
    • widget_sf_widget_event
    • theysaidso_admin_options
    • widget_sf_widget_folder

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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 take a closer look at the following
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/memberfindme/memberfindme.php:82

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 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
  • Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line ( === memberfindme === )
The official readme.txt might help

memberfindme/memberfindme.php Passed 13 tests

The principal PHP file in "MembershipWorks - Membership, Events & Directory" v. 6.9 is loaded by WordPress automatically on each request
23 characters long description:
Membership Works 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
There were no executable files found in this plugin676 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP12436676

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code1.07
Average class complexity12.50
▷ Minimum class complexity11.00
▷ Maximum class complexity14.00
Average method complexity3.88
▷ Minimum method complexity1.00
▷ Maximum method complexity7.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods8
▷ Static methods00.00%
▷ Public methods8100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions22
▷ Named functions1568.18%
▷ Anonymous functions731.82%
Constants4
▷ Global constants4100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin