Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
You still need to fix the following installer errors
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/storagemadeeasy-multicloud-files-backup/wp-db-backup-storagemadeeasy.php+50
Methods with the same name as their class will not be constructors in a future version of PHP; wpdbBackup_StorageMadeEasy has a deprecated constructor
Server metrics [RAM: ▼1.25MB] [CPU: ▼54.59ms] Passed 4 tests
This is a short check of server-side resources used by StorageMadeEasy Multi-Cloud WordPress Backup
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.74 ▼0.73 | 6.96 ▼45.73 |
Dashboard /wp-admin | 2.76 ▼0.55 | 7.88 ▼37.95 |
Posts /wp-admin/edit.php | 2.76 ▼0.60 | 9.53 ▼40.64 |
Add New Post /wp-admin/post-new.php | 2.76 ▼3.13 | 9.13 ▼94.04 |
Media Library /wp-admin/upload.php | 2.76 ▼0.47 | 9.68 ▼29.66 |
Cloud Backup /wp-admin/tools.php?page=wp-db-backup-storagemadeeasy | 2.76 | 7.91 |
Server storage [IO: ▲0.67MB] [DB: ▲0.00MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
It is recommended to fix the following issues
- The plugin illegally modified 1 file (0.00KB) outside of "wp-content/plugins/storagemadeeasy-multicloud-files-backup/" and "wp-content/uploads/"
- (new file) wp-content/backup-e4bd2/index.php
Filesystem: 37 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
storagemadeeasy_server |
storagemadeeasy_username |
storagemadeeasy_password |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for StorageMadeEasy Multi-Cloud WordPress Backup
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲33 | 13.18 ▼1.43 | 1.54 ▼0.43 | 40.86 ▼1.63 |
Dashboard /wp-admin | 2,207 ▲22 | 5.77 ▼0.08 | 97.42 ▼5.27 | 38.37 ▼6.87 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 1.98 ▼0.05 | 38.92 ▼2.08 | 34.61 ▲0.34 |
Add New Post /wp-admin/post-new.php | 1,516 ▼161 | 22.36 ▼2.33 | 668.79 ▼14.13 | 60.73 ▲11.44 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.19 ▲0.01 | 96.68 ▼5.76 | 42.42 ▼1.36 |
Cloud Backup /wp-admin/tools.php?page=wp-db-backup-storagemadeeasy | 1,082 | 1.72 | 23.58 | 34.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/storagemadeeasy-multicloud-files-backup/wp-db-backup-storagemadeeasy.php+50
Methods with the same name as their class will not be constructors in a future version of PHP; wpdbBackup_StorageMadeEasy has a deprecated constructor
- Zombie WordPress options detected upon uninstall: 9 options
- storagemadeeasy_server
- storagemadeeasy_username
- storagemadeeasy_password
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 50% 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)
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/tools.php?page=wp-db-backup-storagemadeeasy
- > Deprecated in wp-content/plugins/storagemadeeasy-multicloud-files-backup/wp-db-backup-storagemadeeasy.php+50
Methods with the same name as their class will not be constructors in a future version of PHP; wpdbBackup_StorageMadeEasy has a deprecated constructor
- 6 occurences, only the last one shown
- > GET request to /wp-admin/tools.php?page=wp-db-backup-storagemadeeasy
- > Deprecated in wp-content/plugins/storagemadeeasy-multicloud-files-backup/wp-db-backup-storagemadeeasy.php+1838
Function create_function() is deprecated
- > GET request to /wp-admin/tools.php?page=wp-db-backup-storagemadeeasy
- > User deprecated in wp-includes/functions.php+5453
Function add_contextual_help is deprecated since version 3.3.0! Use get_current_screen()->add_help_tab() instead.
SRP 50% from 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
Almost there! Just fix the following items
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/storagemadeeasy-multicloud-files-backup/lib.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/storagemadeeasy-multicloud-files-backup/wp-db-backup-storagemadeeasy.php:13
- > PHP Fatal error
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 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Tags: There are too many tags (15 tag instead of maximum 10)
storagemadeeasy-multicloud-files-backup/wp-db-backup-storagemadeeasy.php 85% from 13 tests
The main file in "StorageMadeEasy Multi-Cloud WordPress Backup" v. 2.2.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 297 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("storagemadeeasy-multicloud-files-backup.php" instead of "wp-db-backup-storagemadeeasy.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin9,842 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 1,245 | 2,098 | 6,610 |
PO File | 15 | 1,264 | 1,521 | 3,232 |
PHP code 50% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
It is recommended to fix the following
- Method cyclomatic complexity has to be reduced to less than 100 (currently 122)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 368.50 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 580.00 |
Average method complexity | 12.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 122.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 129 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 129 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 70 | |
▷ Global constants | 70 | 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
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 |
selectButton.png | 0.58KB | 0.20KB | ▼ 64.97% |