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
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.91 ▲0.45 | 42.46 ▲4.10 |
Dashboard /wp-admin | 3.75 ▲0.40 | 46.28 ▼17.76 |
Posts /wp-admin/edit.php | 3.80 ▲0.44 | 47.43 ▲1.24 |
Add New Post /wp-admin/post-new.php | 6.30 ▲0.41 | 80.98 ▼12.46 |
Media Library /wp-admin/upload.php | 3.61 ▲0.38 | 40.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
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,824 ▲63 | 14.32 ▼0.10 | 1.65 ▼0.02 | 44.85 ▲6.12 |
Dashboard /wp-admin | 2,233 ▲53 | 5.52 ▼0.04 | 80.54 ▼8.44 | 79.27 ▲37.56 |
Posts /wp-admin/edit.php | 2,138 ▲38 | 2.12 ▲0.13 | 34.60 ▲0.36 | 33.69 ▼2.30 |
Add New Post /wp-admin/post-new.php | 1,555 ▲29 | 23.62 ▲0.05 | 672.57 ▼23.96 | 66.04 ▼6.58 |
Media Library /wp-admin/upload.php | 1,429 ▲26 | 4.12 ▼0.09 | 92.39 ▼8.03 | 72.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
- > PHP Fatal error
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:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 33 | 829 | 1,046 | 4,462 |
Markdown | 2 | 105 | 0 | 349 |
JavaScript | 5 | 7 | 352 | 159 |
JSON | 3 | 0 | 0 | 145 |
CSS | 2 | 12 | 7 | 105 |
XML | 1 | 1 | 0 | 20 |
HTML | 1 | 0 | 1 | 15 |
SVG | 1 | 0 | 1 | 13 |
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 code | 0.34 |
Average class complexity | 15.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 132.00 |
Average method complexity | 2.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 10 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 36 | |
▷ Abstract classes | 4 | 11.11% |
▷ Concrete classes | 32 | 88.89% |
▷ Final classes | 1 | 3.12% |
Methods | 294 | |
▷ Static methods | 74 | 25.17% |
▷ Public methods | 246 | 83.67% |
▷ Protected methods | 3 | 1.02% |
▷ Private methods | 45 | 15.31% |
Functions | 4 | |
▷ Named functions | 2 | 50.00% |
▷ Anonymous functions | 2 | 50.00% |
Constants | 41 | |
▷ Global constants | 20 | 48.78% |
▷ Class constants | 21 | 51.22% |
▷ Public constants | 21 | 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
No PNG files were detected