10% backuply

Code Review | Backuply - Backup, Restore, Migrate and Clone

WordPress plugin Backuply - Backup, Restore, Migrate and Clone scored10%from 54 tests.

About plugin

  • Plugin page: backuply
  • Plugin version: 1.2.0
  • PHP compatiblity: 5.5+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-6.4
  • WordPress version: 6.3.1
  • First release: Jul 22, 2022
  • Latest release: Nov 7, 2023
  • Number of updates: 33
  • Update frequency: every 14.4 days
  • Top authors: softaculous (100%)

Code review

54 tests

User reviews

66 reviews

Install metrics

200,000+ active /1,447,607 total downloads

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
PageMemory (MB)CPU Time (ms)
Home /3.74 ▲0.2841.57 ▲0.43
Dashboard /wp-admin3.57 ▲0.2749.01 ▼5.97
Posts /wp-admin/edit.php3.69 ▲0.3355.40 ▲7.52
Add New Post /wp-admin/post-new.php6.16 ▲0.2790.58 ▼1.95
Media Library /wp-admin/upload.php3.50 ▲0.2737.37 ▲0.81
Dashboard /wp-admin/admin.php?page=backuply4.1635.90
Backuply Cloud /wp-admin/admin.php?page=backuply-license4.1838.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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,870 ▲10814.25 ▼0.091.64 ▼0.1637.52 ▼6.40
Dashboard /wp-admin2,263 ▲865.54 ▼0.1292.69 ▼6.0073.01 ▲29.13
Posts /wp-admin/edit.php2,186 ▲861.99 ▲0.0537.08 ▲2.9633.52 ▼0.13
Add New Post /wp-admin/post-new.php1,607 ▲8023.37 ▲0.25685.89 ▲51.3456.60 ▲4.00
Media Library /wp-admin/upload.php1,474 ▲714.20 ▼0.0298.76 ▼1.2676.21 ▲34.03
Dashboard /wp-admin/admin.php?page=backuply3,0482.6569.1674.75
Backuply Cloud /wp-admin/admin.php?page=backuply-license1,2612.2335.2846.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

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
Please take inspiration from this readme.txt

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:
LanguageFilesBlank linesComment linesLines of code
PHP234,0734,02815,132
CSS3130661,770
JavaScript3379671,417
SVG1855817

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 code0.45
Average class complexity112.47
▷ Minimum class complexity1.00
▷ Maximum class complexity344.00
Average method complexity4.90
▷ Minimum method complexity1.00
▷ Maximum method complexity77.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes17
▷ Abstract classes00.00%
▷ Concrete classes17100.00%
▷ Final classes15.88%
Methods488
▷ Static methods8216.80%
▷ Public methods45292.62%
▷ Protected methods20.41%
▷ Private methods346.97%
Functions230
▷ Named functions22196.09%
▷ Anonymous functions93.91%
Constants39
▷ Global constants2871.79%
▷ Class constants1128.21%
▷ Public constants11100.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
FileSize - originalSize - compressedSavings
assets/images/backuply-white.png2.20KB2.39KB0.00%
assets/images/pagelayer_product.png3.28KB3.06KB▼ 6.73%
assets/images/30off.png51.77KB32.34KB▼ 37.53%
assets/images/backuply-square.png42.99KB13.97KB▼ 67.50%
assets/images/loginizer_product.png6.59KB4.31KB▼ 34.61%