Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.76ms] Passed 4 tests
Server-side resources used by Wbcom Designs - Birthday Widget for BuddyPress
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 39.77 ▼1.63 |
Dashboard /wp-admin | 3.31 ▲0.00 | 48.16 ▼4.52 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.27 ▼9.93 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 93.35 ▼2.95 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 39.19 ▲2.55 |
Server storage [IO: ▲0.28MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 14 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
widget_buddypress_birthdays |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Wbcom Designs - Birthday Widget for BuddyPress
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲28 | 14.28 ▲0.01 | 2.01 ▼0.04 | 43.35 ▲2.76 |
Dashboard /wp-admin | 2,195 ▲18 | 5.61 ▼0.04 | 92.29 ▲5.32 | 39.65 ▲0.18 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.96 ▼0.00 | 40.07 ▼1.71 | 36.61 ▲0.57 |
Add New Post /wp-admin/post-new.php | 1,526 ▼11 | 23.10 ▲4.78 | 625.42 ▼92.42 | 48.84 ▼21.00 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.28 ▲0.05 | 96.76 ▼3.19 | 44.23 ▼4.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 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 7 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_buddypress_birthdays
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 0% 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 items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/birthday-widget-for-buddypress/assets/inc/bbirthdays-widget.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/birthday-widget-for-buddypress/buddypress-birthdays.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
1 plugin tags: buddypress
birthday-widget-for-buddypress/buddypress-birthdays.php 85% from 13 tests
The entry point to "Wbcom Designs - Birthday Widget for BuddyPress" version 2.0.1 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: The principal plugin file should be the same as the plugin slug ("birthday-widget-for-buddypress.php" instead of "buddypress-birthdays.php")
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
Everything looks great! No dangerous files found in this plugin9,010 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 8,231 |
PHP | 6 | 90 | 193 | 490 |
CSS | 1 | 44 | 49 | 216 |
JavaScript | 2 | 4 | 22 | 73 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 77.00 |
▷ Minimum class complexity | 77.00 |
▷ Maximum class complexity | 77.00 |
Average method complexity | 9.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin