100% dashboard-search-memberpress

Code Review | Dashboard Search for MemberPress

WordPress plugin Dashboard Search for MemberPress scored 100% from 54 tests.

About plugin

  • Plugin page: dashboard-search-...
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-5.9
  • WordPress version: 5.9.2
  • First release: Jul 17, 2020
  • Latest release: Jan 26, 2022
  • Number of updates: 4
  • Update frequency: every 143.3 days
  • Top authors: treeflips (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active / 412 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully

Server metrics [RAM: ▼0.02MB] [CPU: ▼296.06ms] Passed 4 tests

An overview of server-side resources used by Dashboard Search for MemberPress
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0151.98 ▲4.75
Dashboard /wp-admin3.42 ▲0.0232.52 ▼1.16
Posts /wp-admin/edit.php3.65 ▲0.0137.07 ▼0.79
Add New Post /wp-admin/post-new.php6.88 ▼0.0994.14 ▼1,182.21
Media Library /wp-admin/upload.php3.30 ▲0.0023.95 ▼0.09

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

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Checking browser requirements for Dashboard Search for MemberPress
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,831 ▲7716.23 ▲0.215.56 ▼0.822.14 ▼0.17
Dashboard /wp-admin2,960 ▲1026.08 ▼0.20116.54 ▼11.43153.51 ▼6.87
Posts /wp-admin/edit.php2,694 ▼03.23 ▼0.0162.10 ▼1.10143.57 ▲1.09
Add New Post /wp-admin/post-new.php1,690 ▲2918.95 ▲2.95393.22 ▼26.52154.66 ▼0.85
Media Library /wp-admin/upload.php1,701 ▼05.53 ▲0.02136.98 ▼1.33188.89 ▲4.02

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled completely, with no zombie files or tables

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected


Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
4 plugin tags: members, memberpress, membership, search

dashboard-search-memberpress/dashboard-search-memberpress.php Passed 13 tests

"Dashboard Search for MemberPress" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
140 characters long description:
Adds a widget to search MemberPress member information by any field (email, username, first and last name, id) from the WordPress Dashboard.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected59 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.50
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions133.33%
▷ Anonymous functions266.67%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin