Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
It is recommended to fix the following installer errors
- The plugin did not install without errors
- > 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.18MB] [CPU: ▼184.66ms] Passed 4 tests
Analyzing server-side resources used by StorageMadeEasy Multi-Cloud WordPress Backup
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.45 ▼0.39 | 6.40 ▼18.26 |
Dashboard /wp-admin | 2.47 ▼0.59 | 5.38 ▼37.62 |
Posts /wp-admin/edit.php | 2.47 ▼0.64 | 4.72 ▼31.24 |
Add New Post /wp-admin/post-new.php | 2.47 ▼2.97 | 5.35 ▼651.52 |
Media Library /wp-admin/upload.php | 2.47 ▼0.53 | 6.49 ▼16.87 |
Cloud Backup /wp-admin/tools.php?page=wp-db-backup-storagemadeeasy | 2.47 | 5.74 |
Server storage [IO: ▲0.67MB] [DB: ▲0.00MB] 67% from 3 tests
Input-output and database impact of this plugin
It is recommended to fix the following issues
- You have 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, 3 new options
New WordPress options |
---|
storagemadeeasy_server |
storagemadeeasy_password |
storagemadeeasy_username |
Browser metrics Passed 4 tests
StorageMadeEasy Multi-Cloud WordPress Backup: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,671 ▲70 | 15.57 ▼0.20 | 6.15 ▲0.39 | 75.65 ▲2.10 |
Dashboard /wp-admin | 2,935 ▲39 | 6.08 ▼0.10 | 113.19 ▼17.44 | 165.72 ▼7.00 |
Posts /wp-admin/edit.php | 2,745 ▲8 | 3.23 ▼0.00 | 63.97 ▲3.38 | 129.91 ▼14.76 |
Add New Post /wp-admin/post-new.php | 3,739 ▲35 | 18.68 ▲0.88 | 426.75 ▲6.76 | 161.60 ▼14.21 |
Media Library /wp-admin/upload.php | 1,757 ▲8 | 5.54 ▲0.06 | 139.34 ▼2.16 | 183.03 ▲0.98 |
Cloud Backup /wp-admin/tools.php?page=wp-db-backup-storagemadeeasy | 1,469 | 2.42 | 54.54 | 153.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need 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 were found after uninstall: 3 options
- storagemadeeasy_username
- storagemadeeasy_password
- storagemadeeasy_server
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- > 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+5211
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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 2× PHP files trigger errors when accessed directly with GET requests:
- > 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 | A shallow check that no browser errors were triggered
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
Please fix the following attributes:
- Tags: You are using too many tags: 15 tag instead of maximum 10
storagemadeeasy-multicloud-files-backup/wp-db-backup-storagemadeeasy.php 85% from 13 tests
This is the main PHP file of "StorageMadeEasy Multi-Cloud WordPress Backup" version 2.2.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("storagemadeeasy-multicloud-files-backup.php" instead of "wp-db-backup-storagemadeeasy.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 297 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected9,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
This plugin's cyclomatic complexity and code structure detailed below
It is recommended to fix the following
- Method cyclomatic complexity should 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
It is recommended to compress PNG files in your plugin to 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% |