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.02MB] [CPU: ▼1.48ms] Passed 4 tests
A check of server-side resources used by Oh Dear - Monitor Uptime, Performance and Broken Links
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 50.16 ▲4.09 |
Dashboard /wp-admin | 3.34 ▲0.03 | 48.32 ▼2.79 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 52.30 ▲4.58 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 88.79 ▼5.86 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.16 ▼1.36 |
Dashboard /wp-admin/admin.php?page=ohdear | 3.04 | 27.73 |
Settings /wp-admin/admin.php?page=ohdear-settings | 3.23 | 29.57 |
Server storage [IO: ▲0.51MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
ohdear_settings |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Oh Dear - Monitor Uptime, Performance and Broken Links
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,841 ▲95 | 13.94 ▼0.44 | 1.76 ▲0.02 | 43.13 ▲2.38 |
Dashboard /wp-admin | 2,235 ▲50 | 5.98 ▲0.13 | 111.60 ▲1.91 | 87.58 ▲43.22 |
Posts /wp-admin/edit.php | 2,112 ▲20 | 1.97 ▼0.04 | 35.02 ▼5.54 | 33.32 ▼6.35 |
Add New Post /wp-admin/post-new.php | 1,536 ▲23 | 23.07 ▲5.64 | 688.43 ▼3.32 | 57.93 ▲2.83 |
Media Library /wp-admin/upload.php | 1,405 ▲17 | 4.16 ▼0.04 | 105.00 ▼2.17 | 81.11 ▲35.35 |
Dashboard /wp-admin/admin.php?page=ohdear | 888 | 2.46 | 34.08 | 28.66 |
Settings /wp-admin/admin.php?page=ohdear-settings | 888 | 2.48 | 35.07 | 29.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-comments
- ohdear_settings
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
4 plugin tags: performance, broken links, ohdear, uptime
ohdear/ohdear.php Passed 13 tests
The primary PHP file in "Oh Dear - Monitor Uptime, Performance and Broken Links" version 1.0.2 is used by WordPress to initiate all plugin functionality
105 characters long description:
This plugin brings Oh Dear uptime, performance and broken links monitoring into your WordPress dashboard.
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 plugin1,190 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 520 | 529 | 1,101 |
CSS | 1 | 16 | 6 | 46 |
JavaScript | 2 | 9 | 14 | 42 |
YAML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An short overview of 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.55 |
Average class complexity | 33.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 86.00 |
Average method complexity | 4.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 1 | 25.00% |
Methods | 33 | |
▷ Static methods | 2 | 6.06% |
▷ Public methods | 28 | 84.85% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 15.15% |
Functions | 21 | |
▷ Named functions | 21 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/icon.png | 1.49KB | 1.26KB | ▼ 15.62% |