Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼145.77ms] Passed 4 tests
Analyzing server-side resources used by Profile Update Notifications for User Profiles Made Easy
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.01 | 24.71 ▲3.14 |
Dashboard /wp-admin | 3.07 ▲0.01 | 31.99 ▼4.68 |
Posts /wp-admin/edit.php | 3.13 ▲0.02 | 30.28 ▲0.86 |
Add New Post /wp-admin/post-new.php | 5.44 ▼0.00 | 68.43 ▼579.97 |
Media Library /wp-admin/upload.php | 3.02 ▲0.01 | 23.89 ▲0.71 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Profile Update Notifications for User Profiles Made Easy
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,698 ▲62 | 16.05 ▲0.06 | 5.02 ▼0.88 | 77.59 ▲4.35 |
Dashboard /wp-admin | 2,959 ▲63 | 6.16 ▼0.04 | 115.28 ▼22.73 | 166.70 ▼7.34 |
Posts /wp-admin/edit.php | 2,773 ▲30 | 3.24 ▲0.00 | 63.70 ▼0.67 | 137.02 ▼5.87 |
Add New Post /wp-admin/post-new.php | 3,944 ▲240 | 19.34 ▲0.75 | 438.17 ▼15.10 | 154.48 ▼43.15 |
Media Library /wp-admin/upload.php | 1,787 ▲35 | 5.55 ▲0.09 | 148.00 ▲0.99 | 184.88 ▲2.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/profile-update-notifications-for-user-profiles-made-easy/templates/menu-page-container.php
- 6× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Notice
Undefined variable: tab_content in wp-content/plugins/profile-update-notifications-for-user-profiles-made-easy/templates/menu-page-container.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/profile-update-notifications-for-user-profiles-made-easy/templates/profile-notify-settings.php:7
- > PHP Warning
extract() expects parameter 1 to be array, null given in wp-content/plugins/profile-update-notifications-for-user-profiles-made-easy/templates/profile-notify-settings.php on line 3
- > PHP Notice
Undefined variable: notification_fields_list in wp-content/plugins/profile-update-notifications-for-user-profiles-made-easy/templates/profile-notify-settings.php on line 4
- > PHP Warning
extract() expects parameter 1 to be array, null given in wp-content/plugins/profile-update-notifications-for-user-profiles-made-easy/templates/menu-page-container.php on line 3
- > PHP Notice
Undefined variable: tabs in wp-content/plugins/profile-update-notifications-for-user-profiles-made-easy/templates/menu-page-container.php on line 7
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: profile notifications, user profiles made easy, profile update, custom field notifications
profile-update-notifications-for-user-profiles-made-easy/upme-profile-notifications.php 92% from 13 tests
The primary PHP file in "Profile Update Notifications for User Profiles Made Easy" version 1.0 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("profile-update-notifications-for-user-profiles-made-easy.php" instead of "upme-profile-notifications.php")
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
There were no executable files found in this plugin247 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 117 | 21 | 247 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 10.67 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 2.61 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 1 | 5.56% |
▷ Public methods | 17 | 94.44% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 5.56% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin