Benchmarks
Plugin footprint 64% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲13.72MB] [CPU: ▲75.98ms] 50% from 4 tests
Analyzing server-side resources used by Migrate WordPress Website & Backups - Prime Mover
Please fix the following
- RAM: Total memory usage must be kept under 10MB (currently 17.22MB on /wp-admin/admin.php?page=freemius)
- Extra RAM: Extra memory usage should kept under 5MB (currently 13.72MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 17.15 ▲13.69 | 110.79 ▲68.79 |
Dashboard /wp-admin | 17.05 ▲13.70 | 129.79 ▲71.25 |
Posts /wp-admin/edit.php | 17.16 ▲13.81 | 133.75 ▲88.25 |
Add New Post /wp-admin/post-new.php | 19.63 ▲13.74 | 175.40 ▲87.68 |
Media Library /wp-admin/upload.php | 16.97 ▲13.74 | 111.70 ▲76.20 |
Migration Tools /wp-admin/tools.php?page=migration-tools | 17.00 | 112.01 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 17.22 | 105.79 |
Server storage [IO: ▲6.88MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
Please try to fix the following items
- There were 1 file (16.98KB) illegally modified outside of "wp-content/plugins/prime-mover/" and "wp-content/uploads/"
- (new file) wp-content/mu-plugins/prime-mover-cli-plugin-manager.php
Filesystem: 375 new files
Database: no new tables, 10 new options
New WordPress options |
---|
widget_theysaidso_widget |
prime_mover_thirdparty_data_hooks |
db_upgraded |
fs_active_plugins |
fs_debug_mode |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
fs_accounts |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Migrate WordPress Website & Backups - Prime Mover
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,854 ▲107 | 14.21 ▼0.13 | 1.69 ▼0.09 | 27.83 ▼17.04 |
Dashboard /wp-admin | 2,234 ▲65 | 5.52 ▼0.22 | 98.16 ▼23.45 | 46.84 ▲2.56 |
Posts /wp-admin/edit.php | 2,140 ▲43 | 2.01 ▲0.04 | 39.75 ▲3.58 | 38.16 ▲6.76 |
Add New Post /wp-admin/post-new.php | 1,548 ▲22 | 20.95 ▼2.15 | 685.73 ▼69.79 | 49.52 ▼18.13 |
Media Library /wp-admin/upload.php | 1,442 ▲39 | 4.23 ▲0.07 | 99.14 ▲0.15 | 46.05 ▲3.55 |
Migration Tools /wp-admin/tools.php?page=migration-tools | 1,157 | 2.05 | 43.88 | 31.26 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 1,104 | 1.65 | 29.38 | 31.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/prime-mover/freemius/includes/class-freemius.php+8546
Undefined property: stdClass::$plugins
- This plugin does not fully uninstall, leaving 9 options in the database
- widget_recent-comments
- fs_debug_mode
- db_upgraded
- widget_theysaidso_widget
- fs_active_plugins
- widget_recent-posts
- fs_accounts
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
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 fix the following
- 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WP_List_Table' not found in wp-content/plugins/prime-mover/menus/PrimeMoverBackupMenuListTable.php:23
- > PHP Notice
Undefined variable: argv in wp-content/plugins/prime-mover/scripts/prime-mover-shell-archiver.php on line 23
- > PHP Notice
Undefined variable: argc in wp-content/plugins/prime-mover/scripts/prime-mover-shell-archiver.php on line 23
- > PHP Fatal error
Uncaught Error: Class 'Codexonics\\PrimeMoverFramework\\build\\splitbrain\\PHPArchive\\Archive' not found in wp-content/plugins/prime-mover/build/splitbrain/php-archive/src/Tar.php:20
- > PHP Fatal error
Uncaught Error: Class 'Codexonics\\PrimeMoverFramework\\build\\splitbrain\\PHPArchive\\Archive' not found in wp-content/plugins/prime-mover/build/splitbrain/php-archive/src/Zip.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
7 plugin tags: migrate wordpress, database backup, multisite, multisite migration, wordpress backup...
prime-mover/prime-mover.php Passed 13 tests
The entry point to "Migrate WordPress Website & Backups - Prime Mover" version 1.9.3 is a PHP file that has certain tags in its header comment area
140 characters long description:
The simplest all-around WordPress migration tool/backup plugin. These support multisite backup/migration or clone WP site/multisite subsite.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin94,443 lines of code in 299 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 244 | 15,262 | 35,104 | 73,905 |
JavaScript | 22 | 1,326 | 1,551 | 9,957 |
SVG | 4 | 0 | 0 | 6,949 |
PO File | 2 | 1,080 | 1,254 | 3,004 |
CSS | 25 | 40 | 21 | 625 |
Markdown | 1 | 0 | 0 | 2 |
JSON | 1 | 0 | 0 | 1 |
PHP code 50% from 2 tests
An overview of cyclomatic complexity and code structure
These items need your attention
- Cyclomatic complexity of classes has to be reduced to less than 1000 (currently 3,096)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 63.87 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,096.00 |
Average method complexity | 3.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 19 | |
Interfaces | 6 | |
Traits | 0 | |
Classes | 171 | |
▷ Abstract classes | 7 | 4.09% |
▷ Concrete classes | 164 | 95.91% |
▷ Final classes | 2 | 1.22% |
Methods | 4,093 | |
▷ Static methods | 261 | 6.38% |
▷ Public methods | 3,070 | 75.01% |
▷ Protected methods | 420 | 10.26% |
▷ Private methods | 603 | 14.73% |
Functions | 139 | |
▷ Named functions | 118 | 84.89% |
▷ Anonymous functions | 21 | 15.11% |
Constants | 314 | |
▷ Global constants | 205 | 65.29% |
▷ Class constants | 109 | 34.71% |
▷ Public constants | 109 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
res/img/done.png | 0.53KB | 0.58KB | 0.00% |