Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼3.40ms] Passed 4 tests
Server-side resources used by Happy Birthday Reminder
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 40.19 ▲1.62 |
Dashboard /wp-admin | 3.37 ▲0.07 | 45.87 ▼0.80 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 46.12 ▼6.97 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 88.24 ▼7.44 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 36.94 ▲4.94 |
Happy Birthday Reminder /wp-admin/options-general.php?page=happy-birthday-reminder/happy-birthday-reminder-options.php | 3.23 | 30.71 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Happy Birthday Reminder
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.44 ▼0.94 | 1.69 ▲0.04 | 42.07 ▲0.97 |
Dashboard /wp-admin | 2,210 ▲22 | 5.75 ▼0.15 | 93.15 ▼9.63 | 38.49 ▼4.68 |
Posts /wp-admin/edit.php | 2,096 ▲4 | 2.06 ▲0.04 | 42.32 ▲8.21 | 35.34 ▲2.90 |
Add New Post /wp-admin/post-new.php | 1,374 ▼168 | 16.52 ▼1.64 | 522.66 ▼83.14 | 54.64 ▼1.06 |
Media Library /wp-admin/upload.php | 1,395 ▲10 | 4.21 ▼0.06 | 97.62 ▲2.49 | 42.97 ▲0.27 |
Happy Birthday Reminder /wp-admin/options-general.php?page=happy-birthday-reminder/happy-birthday-reminder-options.php | 889 | 2.18 | 24.30 | 34.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=happy-birthday-reminder/happy-birthday-reminder-options.php
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method qb_Birthday_Options::qb_Birthday_Reminder_Options() should not be called statically
- 8 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=happy-birthday-reminder/happy-birthday-reminder-options.php
- > Notice in wp-content/plugins/happy-birthday-reminder/happy-birthday-reminder-options.php+81
Trying to access array offset on value of type bool
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 items
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/happy-birthday-reminder/happy-birthday-reminder-mail.php:64
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/happy-birthday-reminder/happy-birthday-extra-profile-fields.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/happy-birthday-reminder/happy-birthday-reminder-options.php:100
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/happy-birthday-reminder/happy-birthday-reminder.php:53
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
6 plugin tags: date of birth, happy birthday reminder, users birthday, upcoming birthdays, birthdays celebrants...
happy-birthday-reminder/happy-birthday-reminder.php 92% from 13 tests
The main PHP script in "Happy Birthday Reminder" version 1.0 is automatically included on every request by WordPress
Please take the time to fix the following:
- Requires at least: Required version must match the one declared in readme.txt ("3.5" instead of "4.9")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin225 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 31 | 22 | 225 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 5 | 71.43% |
▷ Anonymous functions | 2 | 28.57% |
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