Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼146.22ms] Passed 4 tests
Server-side resources used by WPSBackup
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.87 ▲0.15 | 42.52 ▲19.84 |
Dashboard /wp-admin | 3.11 ▲0.05 | 46.22 ▼3.23 |
Posts /wp-admin/edit.php | 3.16 ▲0.04 | 43.51 ▼10.83 |
Add New Post /wp-admin/post-new.php | 5.46 ▲0.03 | 89.27 ▼568.58 |
Media Library /wp-admin/upload.php | 3.05 ▲0.05 | 32.54 ▼2.22 |
Jobs /wp-admin/admin.php?page=wps-backup-jobs | 3.00 | 30.07 |
WPS Backup /wp-admin/admin.php?page=wpsbackup/wpsbackup.php | 1.83 | 5.94 |
Restore /wp-admin/admin.php?page=wps-backup-restore | 1.83 | 5.65 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 1 new option
New WordPress options |
---|
wps_backup_options |
Browser metrics Passed 4 tests
An overview of browser requirements for WPSBackup
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,736 ▲99 | 15.91 ▲0.32 | 8.66 ▼0.74 | 47.77 ▼4.53 |
Dashboard /wp-admin | 2,987 ▲56 | 5.90 ▼0.25 | 164.18 ▲11.61 | 137.56 ▲33.92 |
Posts /wp-admin/edit.php | 2,790 ▲51 | 2.70 ▼0.00 | 73.23 ▲10.36 | 88.56 ▲6.41 |
Add New Post /wp-admin/post-new.php | 1,694 ▲194 | 18.80 ▲0.05 | 401.56 ▼86.10 | 115.64 ▼9.93 |
Media Library /wp-admin/upload.php | 1,781 ▼26 | 5.03 ▼0.01 | 138.44 ▼13.30 | 136.23 ▲27.59 |
Jobs /wp-admin/admin.php?page=wps-backup-jobs | 1,139 | 2.06 | 53.75 | 89.23 |
WPS Backup /wp-admin/admin.php?page=wpsbackup/wpsbackup.php | 1,197 | 2.06 | 53.30 | 88.20 |
Restore /wp-admin/admin.php?page=wps-backup-restore | 1,142 | 2.05 | 54.30 | 77.88 |
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
- > Notice in wp-content/plugins/wpsbackup/wpsbackup.php+26
Undefined index: vcti_a
- Zombie WordPress options detected upon uninstall: 1 option
- wps_backup_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- 22 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wps-backup-restore
- > Notice in wp-content/plugins/wpsbackup/wpsbackup.php+234
Undefined index: vcti_a
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wps-backup-restore
- > Notice in wp-content/plugins/wpsbackup/wpsbackup.php+252
Undefined index: vcti_b
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wps-backup-restore
- > Notice in wp-content/plugins/wpsbackup/wpsbackup.php+216
Undefined index: vcti_c
- 16 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wps-backup-restore
- > Deprecated in wp-content/plugins/wpsbackup/wpsbackup.php+26
strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior
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
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/wpsbackup/uninstall.php
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: backup, protection, disaster, recovery, restore
wpsbackup/wpsbackup.php Passed 13 tests
The entry point to "WPSBackup" version 1.31 is a PHP file that has certain tags in its header comment area
10 characters long description:
WPS Backup
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
No dangerous file extensions were detected201 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 50 | 12 | 201 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
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 | 14 | |
▷ Named functions | 14 | 100.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.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon1.png | 3.44KB | 0.40KB | ▼ 88.50% |