77% everest-backup

Code Review | Everest Backup - WordPress Cloud Backup, Migration, Restore & Cloning Plugin

WordPress plugin Everest Backup - WordPress Cloud Backup, Migration, Restore & Cloning Plugin scored77%from 54 tests.

About plugin

  • Plugin page: everest-backup
  • Plugin version: 2.2.2
  • PHP compatiblity: 7.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.6-6.4
  • WordPress version: 6.3.1
  • First release: Oct 18, 2021
  • Latest release: Nov 26, 2023
  • Number of updates: 37
  • Update frequency: every 21.1 days
  • Top authors: everestthemes (100%)

Code review

54 tests

User reviews

33 reviews

Install metrics

4,000+ active /66,870 total downloads

Benchmarks

Plugin footprint 82% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully

Server metrics [RAM: ▲2.02MB] [CPU: ▲36.71ms] 75% from 4 tests

This is a short check of server-side resources used by Everest Backup - WordPress Cloud Backup, Migration, Restore & Cloning Plugin
Please fix the following
  • CPU: Total CPU usage should be kept under 500.00ms (currently 12,277.22ms on /wp-admin/admin.php?page=everest-backup-changelogs)
PageMemory (MB)CPU Time (ms)
Home /5.47 ▲2.0167.29 ▲26.45
Dashboard /wp-admin5.32 ▲2.0189.00 ▲40.79
Posts /wp-admin/edit.php5.37 ▲2.0190.26 ▲38.50
Add New Post /wp-admin/post-new.php7.96 ▲2.07149.84 ▲55.50
Media Library /wp-admin/upload.php5.26 ▲2.0375.36 ▲41.08
UPGRADE TO PRO /wp-admin/admin.php?page=everest-backup-upgradetopro5.2364.32
Migration / Clone /wp-admin/admin.php?page=everest-backup-migration_clone5.27173.75
Logs /wp-admin/admin.php?page=everest-backup-logs5.2591.90
Restore /wp-admin/admin.php?page=everest-backup-import5.3083.00
Settings /wp-admin/admin.php?page=everest-backup-settings5.2991.65
Addons /wp-admin/admin.php?page=everest-backup-addons5.2996.59
Backup /wp-admin/admin.php?page=everest-backup-export5.2892.52
Changelogs /wp-admin/admin.php?page=everest-backup-changelogs5.3812,277.22
History /wp-admin/admin.php?page=everest-backup-history5.2567.74

Server storage [IO: ▲1.66MB] [DB: ▲0.02MB] 67% from 3 tests

Filesystem and database footprint
Please fix the following
  • There were 9 files (0.54KB) illegally modified outside of "wp-content/plugins/everest-backup/" and "wp-content/uploads/"
    • (new file) wp-content/ebwp-temps/index.php
    • (new file) wp-content/ebwp-backups/index.html
    • (new file) wp-content/ebwp-backups/activity-01520bfd9fbe4a0dfcca84778e405e9a.txt
    • (new file) wp-content/ebwp-backups/sse.php
    • (new file) wp-content/ebwp-backups/index.php
    • (new file) wp-content/ebwp-temps/.htaccess
    • (new file) wp-content/ebwp-temps/index.html
    • (new file) wp-content/ebwp-backups/LOCKFILE
    • (new file) wp-content/ebwp-backups/.htaccess
Filesystem: 291 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_recent-posts
widget_recent-comments
widget_theysaidso_widget
theysaidso_admin_options
can_compress_scripts

Browser metrics Passed 4 tests

Checking browser requirements for Everest Backup - WordPress Cloud Backup, Migration, Restore & Cloning Plugin
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,010 ▲24814.68 ▲0.411.82 ▲0.0536.99 ▼9.16
Dashboard /wp-admin2,328 ▲1505.67 ▲0.0393.87 ▼15.5184.30 ▲39.14
Posts /wp-admin/edit.php2,254 ▲1512.04 ▲0.0738.88 ▼2.5234.46 ▼7.47
Add New Post /wp-admin/post-new.php1,800 ▲26522.16 ▼3.04687.79 ▲6.7066.86 ▲1.81
Media Library /wp-admin/upload.php1,531 ▲1314.16 ▲0.0096.56 ▲1.9571.30 ▲29.94
UPGRADE TO PRO /wp-admin/admin.php?page=everest-backup-upgradetopro9311.6627.2424.94
Migration / Clone /wp-admin/admin.php?page=everest-backup-migration_clone1,77611.64287.6262.06
Logs /wp-admin/admin.php?page=everest-backup-logs1,6639.28266.6242.40
Restore /wp-admin/admin.php?page=everest-backup-import1,7929.83285.7644.64
Settings /wp-admin/admin.php?page=everest-backup-settings1,7828.85271.9247.52
Addons /wp-admin/admin.php?page=everest-backup-addons1,9098.90290.9254.07
Backup /wp-admin/admin.php?page=everest-backup-export2,0159.05278.3076.27
Changelogs /wp-admin/admin.php?page=everest-backup-changelogs2,0951.6424.6252.87
History /wp-admin/admin.php?page=everest-backup-history1,7109.43270.0942.45

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-posts
    • widget_recent-comments
    • db_upgraded

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested

SRP 50% 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 take a closer look at the following
  • 39× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'PhpZip\\Model\\Extra\\Fields\\AbstractUnicodeExtraField' not found in wp-content/plugins/everest-backup/vendor/nelexa/zip/src/Model/Extra/Fields/UnicodePathExtraField.php:59
    • > PHP Fatal error
      Uncaught Error: Interface 'PhpZip\\Model\\Extra\\ZipExtraField' not found in wp-content/plugins/everest-backup/vendor/nelexa/zip/src/Model/Extra/Fields/Zip64ExtraField.php:25
    • > PHP Fatal error
      Uncaught Error: Interface 'PhpZip\\Model\\Extra\\ZipExtraField' not found in wp-content/plugins/everest-backup/vendor/nelexa/zip/src/Model/Extra/Fields/ExtendedTimestampExtraField.php:76
    • > PHP Fatal error
      Uncaught Error: Interface 'PhpZip\\Model\\Extra\\ZipExtraField' not found in wp-content/plugins/everest-backup/vendor/nelexa/zip/src/Model/Extra/Fields/UnrecognizedExtraField.php:21
    • > PHP Fatal error
      Uncaught Error: Call to undefined function everest_backup_render_view() in wp-content/plugins/everest-backup/inc/views/template-parts/header.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'PhpZip\\Exception\\ZipException' not found in wp-content/plugins/everest-backup/vendor/nelexa/zip/src/Exception/ZipUnsupportMethodException.php:14
    • > PHP Fatal error
      Uncaught Error: Interface 'PhpZip\\Model\\ZipData' not found in wp-content/plugins/everest-backup/vendor/nelexa/zip/src/Model/Data/ZipFileData.php:18
    • > PHP Fatal error
      Uncaught Error: Class 'Symfony\\Component\\Finder\\Iterator\\MultiplePcreFilterIterator' not found in wp-content/plugins/everest-backup/vendor/symfony/finder/Iterator/FilecontentFilterIterator.php:22
    • > PHP Fatal error
      Uncaught Error: Interface 'PhpZip\\Model\\Extra\\ZipExtraField' not found in wp-content/plugins/everest-backup/vendor/nelexa/zip/src/Model/Extra/Fields/ApkAlignmentExtraField.php:24
    • > PHP Fatal error
      Uncaught Error: Class 'Symfony\\Component\\Finder\\Iterator\\MultiplePcreFilterIterator' not found in wp-content/plugins/everest-backup/vendor/symfony/finder/Iterator/FilenameFilterIterator.php:23

User-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following browser errors
    • > GET request to /wp-admin/admin.php?page=everest-backup-upgradetopro
    • > Javascript (severe) in unknown
    /wp-admin/admin.php?page=everest-backup-upgradetopro 55:18 Uncaught DOMException: Failed to execute 'replaceState' on 'History': A h…dmin/admin.php?page=everest-backup-upgradetopro'.

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
  • Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
  • Screenshots: These screenshots lack descriptions #1, #2, #3, #4, #5, #6, #7, #8, #9, #10, #11 in everest-backup/assets to your readme.txt
You can take inspiration from this readme.txt

everest-backup/everest-backup.php Passed 13 tests

The entry point to "Everest Backup - WordPress Cloud Backup, Migration, Restore & Cloning Plugin" version 2.2.2 is a PHP file that has certain tags in its header comment area
114 characters long description:
Everest Backup is a modern tool that will take care of your website's backups, restoration, migration and cloning.

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
Everything looks great! No dangerous files found in this plugin28,972 lines of code in 259 files:
LanguageFilesBlank linesComment linesLines of code
PHP2257,14813,28521,838
Markdown1333202,269
CSS2451101,697
PO File26888641,430
JavaScript601141,069
JSON600570
SVG50099

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.41
Average class complexity14.73
▷ Minimum class complexity1.00
▷ Maximum class complexity163.00
Average method complexity2.93
▷ Minimum method complexity1.00
▷ Maximum method complexity40.00
Code structure
Namespaces31
Interfaces17
Traits5
Classes157
▷ Abstract classes31.91%
▷ Concrete classes15498.09%
▷ Final classes2516.23%
Methods1,282
▷ Static methods24419.03%
▷ Public methods98476.76%
▷ Protected methods18214.20%
▷ Private methods1169.05%
Functions159
▷ Named functions11069.18%
▷ Anonymous functions4930.82%
Constants217
▷ Global constants3917.97%
▷ Class constants17882.03%
▷ Public constants16894.38%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/images/active-ribbon-shadow.png0.96KB0.13KB▼ 86.99%
assets/images/ebwp-stop.png6.89KB3.06KB▼ 55.59%
assets/images/icon.png2.06KB0.73KB▼ 64.76%