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.02MB] [CPU: ▼7.21ms] Passed 4 tests
An overview of server-side resources used by LH Buddypress Email or Message Group Members
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 42.58 ▼4.26 |
Dashboard /wp-admin | 3.33 ▲0.03 | 51.41 ▼6.41 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 49.39 ▼1.14 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 84.86 ▼15.38 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.23 ▼2.79 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for LH Buddypress Email or Message Group Members
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.72 ▲0.16 | 1.98 ▲0.34 | 44.38 ▼3.99 |
Dashboard /wp-admin | 2,189 ▲12 | 5.54 ▼0.15 | 84.88 ▼7.50 | 37.24 ▼5.76 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.96 ▼0.02 | 42.53 ▲5.84 | 36.35 ▼1.60 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.71 ▲0.37 | 617.20 ▼28.76 | 41.82 ▼15.94 |
Media Library /wp-admin/upload.php | 1,403 ▲9 | 4.35 ▲0.17 | 98.32 ▼11.88 | 41.54 ▼5.67 |
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
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'BP_Group_Extension' not found in wp-content/plugins/lh-buddypress-email-or-message-group-members/classes/lh_begm-screen-class.php:3
- > PHP Fatal error
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 96% from 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
5 plugin tags: buddypress, mass, members, groups, email
lh-buddypress-email-or-message-group-members/lh-buddypress-email-or-message-group-members.php 92% from 13 tests
The entry point to "LH Buddypress Email or Message Group Members" version 1.01 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
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
Success! There were no dangerous files found in this plugin239 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 227 | 31 | 239 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 21.00 |
▷ Minimum class complexity | 19.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 4.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 8 | 61.54% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.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
There were not PNG files found in your plugin