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.19MB] [CPU: ▼2.41ms] Passed 4 tests
This is a short check of server-side resources used by Pushover Notifications for WordPress
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.11 | 37.88 ▼1.84 |
Dashboard /wp-admin | 3.52 ▲0.21 | 48.96 ▼0.53 |
Posts /wp-admin/edit.php | 3.63 ▲0.27 | 45.20 ▼1.79 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 81.62 ▼5.49 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 35.63 ▲3.76 |
Pushover Notifications /wp-admin/options-general.php?page=pushover-notifications | 3.41 | 32.67 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Pushover Notifications for WordPress
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲33 | 13.25 ▼1.33 | 1.67 ▼0.20 | 38.17 ▼4.87 |
Dashboard /wp-admin | 2,210 ▲19 | 5.88 ▲0.96 | 94.82 ▼9.12 | 38.12 ▼5.26 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.02 ▼0.00 | 33.61 ▼2.52 | 35.76 ▼0.85 |
Add New Post /wp-admin/post-new.php | 1,536 ▲3 | 23.19 ▲0.09 | 642.50 ▼11.53 | 66.16 ▲2.65 |
Media Library /wp-admin/upload.php | 1,392 ▲10 | 4.25 ▲0.06 | 97.42 ▼1.38 | 42.48 ▼1.77 |
Pushover Notifications /wp-admin/options-general.php?page=pushover-notifications | 1,021 | 2.03 | 23.70 | 36.55 |
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
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/pushover-notifications/pushover-notifications.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
9 plugin tags: notifications, push notifications, ios, bbpress, iphone...
pushover-notifications/pushover-notifications.php 92% from 13 tests
Analyzing the main PHP file in "Pushover Notifications for WordPress" version 1.9.4
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 243 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin1,423 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 241 | 261 | 938 |
PO File | 2 | 162 | 177 | 461 |
JavaScript | 1 | 5 | 0 | 24 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 28.00 |
▷ Minimum class complexity | 28.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 3.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 13 | |
▷ Static methods | 1 | 7.69% |
▷ Public methods | 12 | 92.31% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 7.69% |
Functions | 31 | |
▷ Named functions | 31 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 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
No PNG files were detected