Benchmarks
Plugin footprint 57% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
These installer errors require your attention
- The plugin did not install without errors
- > Warning in wp-content/plugins/backuply/functions.php+134
file_put_contents(wp-content/backuply/backups-IHyxaG/tmp/index.html): failed to open stream: No such file or directory
Server metrics [RAM: ▲0.27MB] [CPU: ▼1.67ms] Passed 4 tests
This is a short check of server-side resources used by Backuply - Backup, Restore, Migrate and Clone
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.74 ▲0.28 | 41.57 ▲0.43 |
Dashboard /wp-admin | 3.57 ▲0.27 | 49.01 ▼5.97 |
Posts /wp-admin/edit.php | 3.69 ▲0.33 | 55.40 ▲7.52 |
Add New Post /wp-admin/post-new.php | 6.16 ▲0.27 | 90.58 ▼1.95 |
Media Library /wp-admin/upload.php | 3.50 ▲0.27 | 37.37 ▲0.81 |
Dashboard /wp-admin/admin.php?page=backuply | 4.16 | 35.90 |
Backuply Cloud /wp-admin/admin.php?page=backuply-license | 4.18 | 38.83 |
Server storage [IO: ▲1.49MB] [DB: ▲0.00MB] 67% from 3 tests
Input-output and database impact of this plugin
These are issues you should consider
- Illegal file modification detected: 9 files (0.54KB) outside of "wp-content/plugins/backuply/" and "wp-content/uploads/"
- (new file) wp-content/backuply/index.html
- (new file) wp-content/backuply/backups-IHyxaG/index.html
- (new file) wp-content/backuply/backups-IHyxaG/index.php
- (new file) wp-content/backuply/backups_info-IHyxaG/index.html
- (new file) wp-content/backuply/index.php
- (new file) wp-content/backuply/status_key.php
- (new file) wp-content/backuply/.htaccess
- (new file) wp-content/backuply/web.config
- (new file) wp-content/backuply/backups_info-IHyxaG/index.php
Filesystem: 60 new files
Database: no new tables, 13 new options
New WordPress options |
---|
backuply_promo_time |
backuply_hide_holiday |
backuply_config_keys |
db_upgraded |
backuply_backup_nag |
theysaidso_admin_options |
backuply_offer_time |
widget_recent-posts |
backuply_version |
widget_recent-comments |
... |
Browser metrics Passed 4 tests
Backuply - Backup, Restore, Migrate and Clone: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,870 ▲108 | 14.25 ▼0.09 | 1.64 ▼0.16 | 37.52 ▼6.40 |
Dashboard /wp-admin | 2,263 ▲86 | 5.54 ▼0.12 | 92.69 ▼6.00 | 73.01 ▲29.13 |
Posts /wp-admin/edit.php | 2,186 ▲86 | 1.99 ▲0.05 | 37.08 ▲2.96 | 33.52 ▼0.13 |
Add New Post /wp-admin/post-new.php | 1,607 ▲80 | 23.37 ▲0.25 | 685.89 ▲51.34 | 56.60 ▲4.00 |
Media Library /wp-admin/upload.php | 1,474 ▲71 | 4.20 ▼0.02 | 98.76 ▼1.26 | 76.21 ▲34.03 |
Dashboard /wp-admin/admin.php?page=backuply | 3,048 | 2.65 | 69.16 | 74.75 |
Backuply Cloud /wp-admin/admin.php?page=backuply-license | 1,261 | 2.23 | 35.28 | 46.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin did not uninstall successfully, leaving 8 options in the database
- backuply_backup_nag
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- backuply_config_keys
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 25% 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
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=backuply-license
- > Notice in wp-content/plugins/backuply/main/settings.php+41
date_default_timezone_set(): Timezone ID '+00:00' is invalid
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 8× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/backuply/backuplytar.php
- > /wp-content/plugins/backuply/main/ajax.php
- > /wp-content/plugins/backuply/functions.php
- > /wp-content/plugins/backuply/main/license.php
- > /wp-content/plugins/backuply/main/bcloud-cron.php
- > /wp-content/plugins/backuply/status_logs.php
- > /wp-content/plugins/backuply/init.php
- > /wp-content/plugins/backuply/main/settings.php
- 4095× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/backuply/restore_ins.php on line 2774
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/backuply/restore_ins.php on line 2784
- > PHP Notice
Undefined index: current_status in wp-content/plugins/backuply/restore_ins.php on line 2766
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/backuply/restore_ins.php on line 2788
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/backuply/restore_ins.php on line 2784
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/backuply/restore_ins.php on line 2784
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/backuply/restore_ins.php on line 2777
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/backuply/restore_ins.php on line 2784
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/backuply/restore_ins.php on line 2784
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/backuply/restore_ins.php on line 2782
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Tags: Too many tags (19 tag instead of maximum 10); only the first 5 tags are used in your directory listing
backuply/backuply.php Passed 13 tests
The entry point to "Backuply - Backup, Restore, Migrate and Clone" version 1.2.0 is a PHP file that has certain tags in its header comment area
107 characters long description:
Backuply is a Wordpress Backup plugin. Backups are the best form of security and safety a website can have.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin19,136 lines of code in 47 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 23 | 4,073 | 4,028 | 15,132 |
CSS | 3 | 130 | 66 | 1,770 |
JavaScript | 3 | 379 | 67 | 1,417 |
SVG | 18 | 5 | 5 | 817 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 112.47 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 344.00 |
Average method complexity | 4.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 77.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 17 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 17 | 100.00% |
▷ Final classes | 1 | 5.88% |
Methods | 488 | |
▷ Static methods | 82 | 16.80% |
▷ Public methods | 452 | 92.62% |
▷ Protected methods | 2 | 0.41% |
▷ Private methods | 34 | 6.97% |
Functions | 230 | |
▷ Named functions | 221 | 96.09% |
▷ Anonymous functions | 9 | 3.91% |
Constants | 39 | |
▷ Global constants | 28 | 71.79% |
▷ Class constants | 11 | 28.21% |
▷ Public constants | 11 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
9 PNG files occupy 0.21MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/backuply-white.png | 2.20KB | 2.39KB | 0.00% |
assets/images/pagelayer_product.png | 3.28KB | 3.06KB | ▼ 6.73% |
assets/images/30off.png | 51.77KB | 32.34KB | ▼ 37.53% |
assets/images/backuply-square.png | 42.99KB | 13.97KB | ▼ 67.50% |
assets/images/loginizer_product.png | 6.59KB | 4.31KB | ▼ 34.61% |