Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.20ms] Passed 4 tests
This is a short check of server-side resources used by BP Emails for BBP
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 35.85 ▼3.71 |
Dashboard /wp-admin | 3.32 ▲0.01 | 44.19 ▼1.32 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 43.10 ▼5.88 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 80.11 ▼13.90 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.10 ▲0.77 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for BP Emails for BBP
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,811 ▲65 | 14.47 ▼0.11 | 1.62 ▼0.08 | 43.02 ▼2.67 |
Dashboard /wp-admin | 2,214 ▲26 | 5.86 ▲0.95 | 99.17 ▼6.79 | 43.48 ▼0.72 |
Posts /wp-admin/edit.php | 2,099 ▲10 | 2.03 ▼0.00 | 34.68 ▼9.52 | 38.63 ▲1.91 |
Add New Post /wp-admin/post-new.php | 1,547 ▲33 | 23.25 ▲5.72 | 642.23 ▼9.42 | 52.80 ▼8.65 |
Media Library /wp-admin/upload.php | 1,399 ▲14 | 4.22 ▼0.00 | 95.63 ▼6.62 | 46.56 ▲2.96 |
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
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration Passed 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
3 plugin tags: bbpress, buddypress, email
bp-emails-for-bbp/bp-emails-for-bbp.php Passed 13 tests
"BP Emails for BBP" version 0.2.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
77 characters long description:
Send bbPress forum and topic subscription emails using Buddypress' email API.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected543 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 182 | 601 | 495 |
Markdown | 1 | 20 | 0 | 48 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 3.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 1 | 20.00% |
▷ Concrete classes | 4 | 80.00% |
▷ Final classes | 0 | 0.00% |
Methods | 28 | |
▷ Static methods | 2 | 7.14% |
▷ Public methods | 16 | 57.14% |
▷ Protected methods | 10 | 35.71% |
▷ Private methods | 2 | 7.14% |
Functions | 7 | |
▷ Named functions | 6 | 85.71% |
▷ Anonymous functions | 1 | 14.29% |
Constants | 5 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 5 | 100.00% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin