Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
- Install procedure validation failed for this plugin
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method freshideas_WPUpdatesInfo::activate_plugin() should not be called statically
Server metrics [RAM: ▼0.88MB] [CPU: ▼37.00ms] Passed 4 tests
This is a short check of server-side resources used by MySitesManager Updates Checker
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 39.08 ▼3.83 |
Dashboard /wp-admin | 3.06 ▼0.24 | 31.39 ▼26.30 |
Posts /wp-admin/edit.php | 3.06 ▼0.29 | 25.56 ▼34.22 |
Add New Post /wp-admin/post-new.php | 3.06 ▼2.82 | 27.38 ▼74.15 |
Media Library /wp-admin/upload.php | 3.06 ▼0.16 | 24.20 ▼13.31 |
MySitesManager.com Updates Checker /wp-admin/options-general.php?page=mysitesmanager-updates-checker | 3.07 | 23.58 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 8 new options
New WordPress options |
---|
freshideas_wpui_settings |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
freshideas_wpui_settings_ver |
Browser metrics Passed 4 tests
Checking browser requirements for MySitesManager Updates Checker
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.16 ▼0.13 | 2.05 ▲0.36 | 42.11 ▲1.97 |
Dashboard /wp-admin | 2,199 ▲25 | 5.62 ▼0.03 | 87.55 ▼9.37 | 43.34 ▲0.17 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.98 ▼0.03 | 38.79 ▼2.16 | 35.23 ▼0.46 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.09 ▼0.53 | 643.41 ▼68.94 | 51.63 ▲1.31 |
Media Library /wp-admin/upload.php | 1,395 ▼2 | 4.16 ▼0.09 | 99.58 ▼22.03 | 48.24 ▼1.95 |
MySitesManager.com Updates Checker /wp-admin/options-general.php?page=mysitesmanager-updates-checker | 813 | 2.00 | 24.46 | 28.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin cannot be uninstalled
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method freshideas_WPUpdatesInfo::admin_settings_menu() should not be called statically
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=mysitesmanager-updates-checker
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method freshideas_WPUpdatesInfo::admin_settings_menu() should not be called statically
- > GET request to /wp-admin/options-general.php?page=mysitesmanager-updates-checker
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method freshideas_WPUpdatesInfo::admin_settings_init() should not be called statically
- > GET request to /wp-admin/options-general.php?page=mysitesmanager-updates-checker
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method freshideas_WPUpdatesInfo::settings_page() should not be called statically
- > GET request to /wp-admin/options-general.php?page=mysitesmanager-updates-checker
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=mysitesmanager-updates-checker
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=mysitesmanager-updates-checker
- > Deprecated in wp-admin/includes/template.php+1771
Non-static method freshideas_WPUpdatesInfo::freshideas_wpui_settings_main_text() should not be called statically
- > GET request to /wp-admin/options-general.php?page=mysitesmanager-updates-checker
- > Deprecated in wp-admin/includes/template.php+1824
Non-static method freshideas_WPUpdatesInfo::freshideas_wpui_settings_main_field_xml_filename() should not be called statically
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors 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 a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 76% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== mysitesmanagercom-updates-checker ===
) - Screenshots: Add an image for screenshot #1 (Settings page)
- Contributors: The plugin contributors field is missing
mysitesmanagercom-updates-checker/mysitesmanager-updates-checker.php 69% from 13 tests
Analyzing the main PHP file in "MySitesManager Updates Checker" version 1.0.1
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 ("mysitesmanagercom-updates-checker.php" instead of "mysitesmanager-updates-checker.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 167 characters long)
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
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
Everything looks great! No dangerous files found in this plugin341 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 58 | 95 | 341 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 35.00 |
▷ Minimum class complexity | 35.00 |
▷ Maximum class complexity | 35.00 |
Average method complexity | 2.42 |
▷ 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 | 24 | |
▷ Static methods | 5 | 20.83% |
▷ Public methods | 17 | 70.83% |
▷ Protected methods | 7 | 29.17% |
▷ Private methods | 0 | 0.00% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 25.39KB | 10.94KB | ▼ 56.92% |