77% myrepono-wordpress-backup-plugin

Code Review | myRepono WordPress Backup Plugin

WordPress plugin myRepono WordPress Backup Plugin scored77%from 54 tests.

About plugin

  • Plugin page: myrepono-wordpres...
  • Plugin version: 2.0.12
  • PHP version: 7.4.16
  • WordPress compatibility: 2.8-4.6
  • WordPress version: 6.3.1
  • First release: Jan 17, 2011
  • Latest release: Aug 24, 2016
  • Number of updates: 287
  • Update frequency: every 7.1 days
  • Top authors: ionix (100%)

Code review

54 tests

User reviews

11 reviews

Install metrics

300+ active /66,495 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully

Server metrics [RAM: ▲0.11MB] [CPU: ▼14.05ms] Passed 4 tests

This is a short check of server-side resources used by myRepono WordPress Backup Plugin
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0144.96 ▼1.51
Dashboard /wp-admin3.62 ▲0.3239.60 ▼12.49
Posts /wp-admin/edit.php3.62 ▲0.2643.26 ▼10.13
Add New Post /wp-admin/post-new.php5.74 ▼0.1580.59 ▼31.87
Media Library /wp-admin/upload.php3.62 ▲0.3938.66 ▼1.72

Server storage [IO: ▲0.60MB] [DB: ▲0.00MB] Passed 3 tests

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 86 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-posts
widget_recent-comments
widget_theysaidso_widget
theysaidso_admin_options
db_upgraded

Browser metrics Passed 4 tests

A check of browser resources used by myRepono WordPress Backup Plugin
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,814 ▲6414.32 ▼0.171.63 ▲0.2043.00 ▲2.73
Dashboard /wp-admin2,214 ▲345.51 ▼0.1187.18 ▼12.5141.55 ▲1.43
Posts /wp-admin/edit.php2,128 ▲282.02 ▲0.0440.01 ▼1.3238.86 ▼2.51
Add New Post /wp-admin/post-new.php1,558 ▲3018.27 ▼2.91624.34 ▼93.0783.12 ▲28.60
Media Library /wp-admin/upload.php1,425 ▲254.27 ▲0.1199.73 ▼4.4946.30 ▲3.54

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • Zombie WordPress options detected upon uninstall: 6 options
    • db_upgraded
    • widget_recent-comments
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-posts
    • can_compress_scripts

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected

SRP 0% 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
  • 8× PHP files perform the action of outputting non-empty strings when accessed directly:
    • > /wp-content/plugins/myrepono-wordpress-backup-plugin/myrepono_plugin_settings.php
    • > /wp-content/plugins/myrepono-wordpress-backup-plugin/myrepono_plugin_account.php
    • > /wp-content/plugins/myrepono-wordpress-backup-plugin/myrepono_plugin_databases.php
    • > /wp-content/plugins/myrepono-wordpress-backup-plugin/myrepono_plugin_functions.php
    • > /wp-content/plugins/myrepono-wordpress-backup-plugin/myrepono_plugin_begin.php
    • > /wp-content/plugins/myrepono-wordpress-backup-plugin/myrepono_plugin_plugin.php
    • > /wp-content/plugins/myrepono-wordpress-backup-plugin/myrepono_plugin_home.php
    • > /wp-content/plugins/myrepono-wordpress-backup-plugin/myrepono_plugin_files.php
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Parse error
      syntax error, unexpected 'new' (T_NEW) in wp-content/plugins/myrepono-wordpress-backup-plugin/api/libcurlemu/libcurlnative.inc.php on line 205

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found

Optimizations

Plugin configuration 87% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
  • Tags: Please reduce the number of tags, currently 26 tag instead of maximum 10
  • Screenshots: These screenshots do not have images: #1 (Automate your WordPress, website & database backups using the myRepono remote website backup service.), #2 (Manage your backup file/directory selections and file exclusion rules.), #3 (Manage your backup profiles each with different settings and schedules.)
The official readme.txt might help

myrepono-wordpress-backup-plugin/myrepono_plugin.php 85% from 13 tests

This is the main PHP file of "myRepono WordPress Backup Plugin" version 2.0.12, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("myrepono-wordpress-backup-plugin.php" instead of "myrepono_plugin.php")
  • Description: The description should be shorter than 140 characters (currently 315 characters long)

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 detected5,845 lines of code in 19 files:
LanguageFilesBlank linesComment linesLines of code
PHP142,6757405,840
CSS4004
JavaScript1001

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.54
Average class complexity169.00
▷ Minimum class complexity169.00
▷ Maximum class complexity169.00
Average method complexity6.79
▷ Minimum method complexity1.00
▷ Maximum method complexity83.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods29
▷ Static methods00.00%
▷ Public methods29100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions74
▷ Named functions74100.00%
▷ Anonymous functions00.00%
Constants242
▷ Global constants242100.00%
▷ Class constants00.00%
▷ Public constants00.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
48 compressed PNG files occupy 0.22MB
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
img/flags/gf.png0.53KB0.63KB0.00%
img/icons/accept.png0.76KB0.81KB0.00%
img/flags/at.png0.39KB0.61KB0.00%
img/flags/ie.png0.47KB0.64KB0.00%
img/icons/control_pause.png0.58KB0.62KB0.00%