Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼3.77ms] Passed 4 tests
A check of server-side resources used by WP Managed
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 42.41 ▲3.05 |
Dashboard /wp-admin | 3.39 ▲0.09 | 49.38 ▲2.07 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 46.17 ▼8.04 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 84.40 ▼11.38 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 35.19 ▲2.27 |
WP Managed /wp-admin/options-general.php?page=wphotell-managed | 3.28 | 30.86 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
Please try to fix the following items
- You have illegally modified 1 file (4.18KB) outside of "wp-content/plugins/wp-hotell-managed/" and "wp-content/uploads/"
- (modified) wp-config.php
Filesystem: 9 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
wphm_blacklisted_ips |
wphm_options |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Managed
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,900 ▲165 | 13.50 ▼0.85 | 1.83 ▼0.29 | 44.44 ▼5.29 |
Dashboard /wp-admin | 2,213 ▲22 | 4.86 ▼1.02 | 111.43 ▲10.26 | 43.77 ▲1.62 |
Posts /wp-admin/edit.php | 2,093 ▼0 | 2.00 ▲0.03 | 37.70 ▼9.28 | 34.50 ▼8.99 |
Add New Post /wp-admin/post-new.php | 1,523 ▼19 | 23.64 ▲5.46 | 663.94 ▲12.19 | 59.38 ▲0.61 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.21 ▼0.03 | 118.72 ▲15.84 | 45.32 ▲1.90 |
WP Managed /wp-admin/options-general.php?page=wphotell-managed | 966 | 2.02 | 24.05 | 30.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking 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 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: staging, limit login, disable updates, united works
wp-hotell-managed/wphotell-managed.php 77% from 13 tests
This is the main PHP file of "WP Managed" version 1.0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: The principal plugin file should be the same as the plugin slug ("wp-hotell-managed.php" instead of "wphotell-managed.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 175 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin683 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 97 | 54 | 370 |
SVG | 1 | 1 | 1 | 185 |
PO File | 1 | 37 | 38 | 116 |
CSS | 1 | 0 | 0 | 12 |
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.44 |
Average class complexity | 64.00 |
▷ Minimum class complexity | 64.00 |
▷ Maximum class complexity | 64.00 |
Average method complexity | 3.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.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 | 27 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 25 | 92.59% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 7.41% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/united-works-logo-teal-plugin.png | 6.38KB | 4.88KB | ▼ 23.53% |