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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼2.16ms] Passed 4 tests
A check of server-side resources used by Get Notified
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 39.07 ▲0.51 |
Dashboard /wp-admin | 3.36 ▲0.06 | 50.19 ▼2.67 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 52.95 ▲0.53 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 96.71 ▼4.82 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 39.14 ▼1.64 |
Hooks /wp-admin/admin.php?page=get-notified-hooks | 3.28 | 34.64 |
Information /wp-admin/admin.php?page=get-notified | 3.25 | 34.04 |
Integrations /wp-admin/admin.php?page=get-notified-integrations | 3.28 | 32.47 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Get Notified
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,856 ▲110 | 13.61 ▼0.69 | 1.82 ▼0.25 | 44.83 ▲0.03 |
Dashboard /wp-admin | 2,237 ▲49 | 4.92 ▼0.02 | 100.64 ▼6.85 | 41.75 ▲2.92 |
Posts /wp-admin/edit.php | 2,120 ▲28 | 2.00 ▲0.01 | 41.60 ▲5.36 | 37.06 ▲3.97 |
Add New Post /wp-admin/post-new.php | 1,544 ▲25 | 23.04 ▼0.19 | 630.75 ▼43.59 | 55.24 ▼8.31 |
Media Library /wp-admin/upload.php | 1,422 ▲34 | 4.22 ▼0.06 | 100.20 ▼12.66 | 46.99 ▼2.14 |
Hooks /wp-admin/admin.php?page=get-notified-hooks | 959 | 2.07 | 31.67 | 24.41 |
Information /wp-admin/admin.php?page=get-notified | 885 | 2.21 | 28.48 | 34.02 |
Integrations /wp-admin/admin.php?page=get-notified-integrations | 862 | 2.06 | 25.39 | 26.51 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=get-notified-integrations
- > Notice in wp-content/plugins/get-notified/integrations/slack.php+117
Undefined index: slack-enable
- > GET request to /wp-admin/admin.php?page=get-notified-integrations
- > Notice in wp-content/plugins/get-notified/integrations/email.php+118
Undefined index: email-enable
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
The following issues need your attention
- 5× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr_e() in wp-content/plugins/get-notified/views/settings.php:2
- > PHP Notice
Undefined variable: integrations in wp-content/plugins/get-notified/views/integrations.php on line 4
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/get-notified/views/integrations.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function submit_button() in wp-content/plugins/get-notified/views/integrations.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr_e() in wp-content/plugins/get-notified/views/hooks.php:2
- > 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)
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
10 plugin tags: ping, slack, message, status, notification...
get-notified/get-notified.php 92% from 13 tests
This is the main PHP file of "Get Notified" version 1.0.7, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected577 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 206 | 352 | 577 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 8.67 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 2.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 1 | 16.67% |
Methods | 28 | |
▷ Static methods | 1 | 3.57% |
▷ Public methods | 25 | 89.29% |
▷ Protected methods | 1 | 3.57% |
▷ Private methods | 2 | 7.14% |
Functions | 18 | |
▷ Named functions | 18 | 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
PNG images were not found in this plugin