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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼144.11ms] 75% from 4 tests
An overview of server-side resources used by Autoupdate Plugins & Themes
Please fix the following
- CPU: Total CPU usage must kept under 500.00ms (currently 575.62ms on /wp-admin/options-general.php?page=auto-update-restore)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.97 ▲0.25 | 41.28 ▲19.30 |
Dashboard /wp-admin | 3.08 ▲0.03 | 47.31 ▲1.03 |
Posts /wp-admin/edit.php | 3.13 ▲0.03 | 43.53 ▲2.42 |
Add New Post /wp-admin/post-new.php | 5.45 ▲0.01 | 87.93 ▼579.72 |
Media Library /wp-admin/upload.php | 3.02 ▲0.02 | 34.33 ▼0.16 |
Auto Update Manager /wp-admin/options-general.php?page=auto-update-restore | 3.02 | 575.62 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: 3 new tables, 2 new options
New tables |
---|
wp_autoupdaterestore_data |
wp_autoupdaterestore_backup |
wp_autoupdaterestore_updates |
New WordPress options |
---|
autoupdaterestore_plugin_frm_eml |
autoupdaterestore_plugin_eml |
Browser metrics Passed 4 tests
Checking browser requirements for Autoupdate Plugins & Themes
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,858 ▲262 | 16.37 ▲0.85 | 12.62 ▲4.23 | 46.40 ▲1.27 |
Dashboard /wp-admin | 2,988 ▲57 | 5.99 ▲0.03 | 147.57 ▲3.73 | 114.17 ▲5.41 |
Posts /wp-admin/edit.php | 2,754 ▲18 | 2.71 ▲0.03 | 66.75 ▼2.81 | 88.57 ▼8.73 |
Add New Post /wp-admin/post-new.php | 1,627 ▼56 | 21.86 ▲3.01 | 281.22 ▼100.29 | 109.17 ▼2.51 |
Media Library /wp-admin/upload.php | 1,819 ▲12 | 5.05 ▲0.05 | 157.40 ▼12.07 | 118.51 ▼2.06 |
Auto Update Manager /wp-admin/options-general.php?page=auto-update-restore | 1,324 | 2.35 | 58.29 | 118.00 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 1 option in the database
- autoupdaterestore_plugin_frm_eml
Smoke tests 75% from 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
Congratulations! This plugin passed the SRP test
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There are user-side issues you should fix
- > GET request to /wp-admin/options-general.php?page=auto-update-restore
- > Network (severe)
wp-content/themes/twentytwentyone/css/custom_script.css?ver=5.8.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/options-general.php?page=auto-update-restore
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8.1 1:31592 "jQuery.Deferred exception: $ is not a function" "TypeError: $ is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/safe-auto-update-restore-manager/js/script.js?ver=1.1:16:19)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8.1:2:30038)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8.1:2:30340)" undefined
- > GET request to /wp-admin/options-general.php?page=auto-update-restore
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8.1 1:31702 Uncaught TypeError: $ is not a function
- > GET request to /wp-admin/options-general.php?page=auto-update-restore
- > Network (severe)
https://jackrugile.com/images/misc/noise-diagonal.png - Failed to load resource: the server responded with a status of 404 ()
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% 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
Attributes that require attention:
- Screenshots: Add descriptions for screenshots #1, #2, #3 in safe-auto-update-restore-manager/assets to your readme.txt
safe-auto-update-restore-manager/auto-update-restore.php 92% from 13 tests
The primary PHP file in "Autoupdate Plugins & Themes" version 1.0.0 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("safe-auto-update-restore-manager.php" instead of "auto-update-restore.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected1,033 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 197 | 72 | 821 |
CSS | 1 | 21 | 5 | 147 |
JavaScript | 1 | 9 | 0 | 65 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 15 | |
▷ Named functions | 15 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 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 are no PNG files in this plugin