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
- Install procedure had errors
- > Warning in wp-content/plugins/mass-messaging-in-buddypress/includes/implementation.php+267
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?
Server metrics [RAM: ▼1.75MB] [CPU: ▼56.53ms] Passed 4 tests
A check of server-side resources used by Mass Messaging in BuddyPress
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.24 ▼1.23 | 5.49 ▼36.12 |
Dashboard /wp-admin | 2.26 ▼1.05 | 7.04 ▼46.60 |
Posts /wp-admin/edit.php | 2.26 ▼1.10 | 7.96 ▼49.32 |
Add New Post /wp-admin/post-new.php | 2.26 ▼3.63 | 6.66 ▼94.08 |
Media Library /wp-admin/upload.php | 2.26 ▼0.97 | 7.15 ▼27.99 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Mass Messaging in BuddyPress
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.37 ▲0.02 | 2.05 ▲0.21 | 41.36 ▼5.59 |
Dashboard /wp-admin | 2,198 ▲21 | 5.61 ▼0.00 | 93.04 ▼9.13 | 38.64 ▼1.74 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.03 ▲0.09 | 41.43 ▼0.87 | 41.31 ▲1.09 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.54 ▼0.23 | 641.43 ▼34.74 | 51.43 ▲2.03 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.14 ▼0.02 | 100.67 ▼7.68 | 41.60 ▼4.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Uninstall procedure had uncaught errors
- > Warning in wp-content/plugins/mass-messaging-in-buddypress/includes/implementation.php+267
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- 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
The smoke test was a success, however most plugin functionality was not tested
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
Almost there! Just fix the following items
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Warning
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in wp-content/plugins/mass-messaging-in-buddypress/includes/implementation.php on line 267
- > PHP Warning
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in wp-content/plugins/mass-messaging-in-buddypress/includes/implementation.php on line 275
- > PHP Warning
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in wp-content/plugins/mass-messaging-in-buddypress/includes/implementation.php on line 271
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
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
7 plugin tags: buddypress, blogs, groups, members, users...
mass-messaging-in-buddypress/mass-messaging-in-buddypress.php Passed 13 tests
"Mass Messaging in BuddyPress" version 2.2.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
96 characters long description:
Ever wanted to send a message to many people at once? Now you can, introducing - Mass Messaging.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin1,325 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 267 | 75 | 1,005 |
JavaScript | 4 | 70 | 0 | 259 |
CSS | 4 | 9 | 0 | 61 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 25.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 62.00 |
Average method complexity | 3.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 44.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 60 | |
▷ Static methods | 3 | 5.00% |
▷ Public methods | 58 | 96.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 3.33% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin