74% fastdup

Code Review | FastDup - Fastest WordPress Migration & Duplicator

WordPress plugin FastDup - Fastest WordPress Migration & Duplicator scored74%from 54 tests.

About plugin

  • Plugin page: fastdup
  • Plugin version: 2.1.8
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-6.3.2
  • WordPress version: 6.3.1
  • First release: Feb 11, 2020
  • Latest release: Oct 16, 2023
  • Number of updates: 27
  • Update frequency: every 49.8 days
  • Top authors: ninjateam (100%)

Code review

54 tests

User reviews

18 reviews

Install metrics

3,000+ active /44,079 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.41MB] [CPU: ▼6.22ms] Passed 4 tests

This is a short check of server-side resources used by FastDup - Fastest WordPress Migration & Duplicator
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.91 ▲0.4542.46 ▲4.10
Dashboard /wp-admin3.75 ▲0.4046.28 ▼17.76
Posts /wp-admin/edit.php3.80 ▲0.4447.43 ▲1.24
Add New Post /wp-admin/post-new.php6.30 ▲0.4180.98 ▼12.46
Media Library /wp-admin/upload.php3.61 ▲0.3840.46 ▲6.73

Server storage [IO: ▲4.08MB] [DB: ▲0.00MB] 67% from 3 tests

Filesystem and database footprint
Please fix the following
  • There were 5 files (0.08KB) illegally modified outside of "wp-content/plugins/fastdup/" and "wp-content/uploads/"
    • (new file) wp-content/njt-fastdup/index.php
    • (new file) wp-content/njt-fastdup/.htaccess
    • (new file) wp-content/njt-fastdup/packages/.empty
    • (new file) wp-content/njt-fastdup/tmp/.empty
    • (new file) wp-content/njt-fastdup/robots.txt
Filesystem: 58 new files
Database: 2 new tables, 6 new options
New tables
wp_njt_fastdup_entities
wp_njt_fastdup_packages
New WordPress options
widget_recent-comments
db_upgraded
can_compress_scripts
widget_theysaidso_widget
widget_recent-posts
theysaidso_admin_options

Browser metrics Passed 4 tests

Checking browser requirements for FastDup - Fastest WordPress Migration & Duplicator
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,824 ▲6314.32 ▼0.101.65 ▼0.0244.85 ▲6.12
Dashboard /wp-admin2,233 ▲535.52 ▼0.0480.54 ▼8.4479.27 ▲37.56
Posts /wp-admin/edit.php2,138 ▲382.12 ▲0.1334.60 ▲0.3633.69 ▼2.30
Add New Post /wp-admin/post-new.php1,555 ▲2923.62 ▲0.05672.57 ▼23.9666.04 ▼6.58
Media Library /wp-admin/upload.php1,429 ▲264.12 ▼0.0992.39 ▼8.0372.64 ▲27.15

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • The plugin did not uninstall successfully, leaving 2 tables in the database
    • wp_njt_fastdup_entities
    • wp_njt_fastdup_packages
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_theysaidso_widget
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/fastdup/vendor/ifsnop/mysqldump-php/unit-tests/MysqldumpTest.php:5

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
9 plugin tags: backwpup, clone wordpress, backup, migration, duplicate...

fastdup/fastdup.php 92% from 13 tests

This is the main PHP file of "FastDup - Fastest WordPress Migration & Duplicator" version 2.1.8, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
  • Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin5,268 lines of code in 48 files:
LanguageFilesBlank linesComment linesLines of code
PHP338291,0464,462
Markdown21050349
JavaScript57352159
JSON300145
CSS2127105
XML11020
HTML10115
SVG10113

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.34
Average class complexity15.17
▷ Minimum class complexity1.00
▷ Maximum class complexity132.00
Average method complexity2.73
▷ Minimum method complexity1.00
▷ Maximum method complexity26.00
Code structure
Namespaces10
Interfaces0
Traits0
Classes36
▷ Abstract classes411.11%
▷ Concrete classes3288.89%
▷ Final classes13.12%
Methods294
▷ Static methods7425.17%
▷ Public methods24683.67%
▷ Protected methods31.02%
▷ Private methods4515.31%
Functions4
▷ Named functions250.00%
▷ Anonymous functions250.00%
Constants41
▷ Global constants2048.78%
▷ Class constants2151.22%
▷ Public constants21100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected