Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.61MB] [CPU: ▼16.73ms] Passed 4 tests
Analyzing server-side resources used by Uptime Robot Widget
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.06 | 36.42 ▼4.72 |
Dashboard /wp-admin | 3.41 ▲0.07 | 50.19 ▼0.74 |
Posts /wp-admin/edit.php | 3.53 ▲0.13 | 52.84 ▼3.05 |
Add New Post /wp-admin/post-new.php | 3.29 ▼2.64 | 40.37 ▼56.00 |
Media Library /wp-admin/upload.php | 3.34 ▲0.07 | 34.38 ▼3.13 |
Uptime Robot Widget /wp-admin/options-general.php?page=uptime-robot-settings | 3.28 | 30.20 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 11 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
widget_uptimerobot_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Uptime Robot Widget
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.24 ▼0.29 | 1.93 ▼0.01 | 40.03 ▼5.25 |
Dashboard /wp-admin | 2,202 ▲22 | 5.64 ▼0.02 | 92.27 ▼7.41 | 41.47 ▼3.40 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 1.99 ▼0.03 | 39.60 ▲4.32 | 36.72 ▲4.24 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.01 ▲0.05 | 658.25 ▲13.25 | 52.72 ▼5.91 |
Media Library /wp-admin/upload.php | 1,401 ▼2 | 4.19 ▲0.03 | 95.11 ▲0.36 | 41.12 ▼1.63 |
Uptime Robot Widget /wp-admin/options-general.php?page=uptime-robot-settings | 935 | 2.04 | 23.80 | 26.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- can_compress_scripts
- widget_uptimerobot_widget
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=uptime-robot-settings
- > Notice in wp-content/plugins/uptime-robot-widget/includes/settings.php+119
Undefined index: settings-updated
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
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
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
7 plugin tags: server monitoring, uptimerobot, uptime robot, widget, uptime monitoring...
uptime-robot-widget/uptime-robot.php 92% from 13 tests
This is the main PHP file of "Uptime Robot Widget" version 1.8.2, 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: The principal plugin file should be the same as the plugin slug ("uptime-robot-widget.php" instead of "uptime-robot.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin366 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 17 | 63 | 305 |
CSS | 2 | 0 | 0 | 43 |
JavaScript | 2 | 0 | 0 | 18 |
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.31 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 2.40 |
▷ 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 | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 8 | 88.89% |
▷ Anonymous functions | 1 | 11.11% |
Constants | 4 | |
▷ Global constants | 4 | 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
There were not PNG files found in your plugin