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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▲2.54ms] Passed 4 tests
A check of server-side resources used by Powie's Uptime Robot Plugin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 39.76 ▲4.98 |
Dashboard /wp-admin | 3.35 ▲0.04 | 45.86 ▲2.52 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 43.94 ▲2.47 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 91.16 ▲3.86 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 33.11 ▲1.29 |
Uptime Robot Setup /wp-admin/options-general.php?page=powies-uptime-robot/pum_settings.php | 3.24 | 32.53 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
widget_pum-status-cloud |
can_compress_scripts |
postfield-legend |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Powie's Uptime Robot Plugin
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲34 | 14.33 ▼0.03 | 1.77 ▲0.24 | 43.71 ▼5.33 |
Dashboard /wp-admin | 2,202 ▲30 | 5.56 ▼0.02 | 81.68 ▼22.71 | 47.69 ▲10.30 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.95 ▼0.08 | 35.96 ▲1.57 | 34.04 ▲0.52 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.35 ▲0.31 | 613.73 ▼85.68 | 57.07 ▼5.36 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.18 ▼0.01 | 101.53 ▲1.03 | 43.27 ▼3.23 |
Uptime Robot Setup /wp-admin/options-general.php?page=powies-uptime-robot/pum_settings.php | 1,103 | 5.54 | 143.90 | 41.91 |
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
- This plugin did not uninstall successfully, leaving 8 options in the database
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_pum-status-cloud
- can_compress_scripts
- postfield-legend
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/powies-uptime-robot/status-cloud-widget.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/powies-uptime-robot/pum.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/powies-uptime-robot/pum_settings.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following user-side errors
- > GET request to /wp-admin/options-general.php?page=powies-uptime-robot/pum_settings.php
- > Other (severe) in unknown
chrome-error://chromewebdata/ - Refused to display 'https://developers.google.com/' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
4 plugin tags: widget, server monitoring, shortcode, uptime robot
powies-uptime-robot/pum.php 92% from 13 tests
This is the main PHP file of "Powie's Uptime Robot Plugin" version 0.9.7, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("powies-uptime-robot.php" instead of "pum.php")
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
There were no executable files found in this plugin398 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 32 | 51 | 238 |
PO File | 2 | 80 | 144 | 152 |
CSS | 1 | 2 | 1 | 8 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 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 | 2 | |
▷ Global constants | 2 | 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 were not PNG files found in your plugin