Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼1.62ms] Passed 4 tests
Server-side resources used by Member Swipe for BuddyPress
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 33.71 ▼9.93 |
Dashboard /wp-admin | 3.31 ▲0.01 | 43.11 ▼1.65 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.59 ▲4.70 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 92.75 ▲1.83 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.49 ▲3.29 |
Server storage [IO: ▲0.70MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 31 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Member Swipe for BuddyPress
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲38 | 14.48 ▲0.10 | 1.76 ▼0.29 | 35.85 ▼7.15 |
Dashboard /wp-admin | 2,215 ▲24 | 4.85 ▼0.03 | 106.83 ▲1.32 | 42.18 ▲2.13 |
Posts /wp-admin/edit.php | 2,098 ▲9 | 2.04 ▲0.05 | 42.88 ▲6.79 | 35.24 ▲1.28 |
Add New Post /wp-admin/post-new.php | 1,529 ▼4 | 23.30 ▼0.03 | 654.06 ▼14.63 | 68.15 ▲11.08 |
Media Library /wp-admin/upload.php | 1,394 ▲9 | 4.23 ▲0.09 | 96.25 ▼7.13 | 42.33 ▼5.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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 fix the following
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/bp-member-swipe/templates/members/members-swipe-loop-items.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/bp-member-swipe/templates/members/members-swipe-loop.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/bp-member-swipe/templates/members/index-swipe.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
8 plugin tags: tinder, member, dating, buddypress, bp...
bp-member-swipe/bp-member-swipe.php Passed 13 tests
The primary PHP file in "Member Swipe for BuddyPress" version 1.1.6 is used by WordPress to initiate all plugin functionality
96 characters long description:
This plugin allows you to create a directory to swipe your members in a mobile friendly layout..
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin11,533 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 7 | 1,767 | 1,012 | 9,242 |
CSS | 10 | 208 | 133 | 1,704 |
PHP | 10 | 145 | 197 | 445 |
PO File | 1 | 225 | 475 | 142 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 2.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 17 | 94.44% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 5.56% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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