Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.19MB] [CPU: ▼3.04ms] Passed 4 tests
An overview of server-side resources used by Savvii WP Migrate
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.20 | 44.37 ▼2.13 |
Dashboard /wp-admin | 3.53 ▲0.23 | 51.01 ▲2.13 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 50.18 ▼2.09 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 90.63 ▼10.06 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 48.45 ▲8.37 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 31 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Savvii WP Migrate
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲94 | 13.21 ▼1.23 | 2.49 ▲0.27 | 43.51 ▼1.29 |
Dashboard /wp-admin | 2,224 ▲36 | 5.86 ▲0.99 | 98.62 ▼13.48 | 91.00 ▲46.23 |
Posts /wp-admin/edit.php | 2,107 ▲18 | 1.98 ▲0.01 | 37.56 ▲2.12 | 32.18 ▼4.83 |
Add New Post /wp-admin/post-new.php | 1,681 ▲164 | 21.79 ▲4.30 | 772.08 ▲105.02 | 61.41 ▲11.76 |
Media Library /wp-admin/upload.php | 1,403 ▲12 | 4.23 ▲0.01 | 116.77 ▲14.52 | 53.69 ▲5.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- 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 everything seems fine, this is not an exhaustive test
SRP 50% 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
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: Call to undefined function esc_url() in wp-content/plugins/savvii-wp-migrate/admin/main_page.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
2 plugin tags: migration, savvii
savvii-wp-migrate/savvii.php 92% from 13 tests
The principal PHP file in "Savvii WP Migrate" v. 5.25 is loaded by WordPress automatically on each request
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("savvii-wp-migrate.php" instead of "savvii.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin3,440 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 23 | 455 | 48 | 3,377 |
CSS | 2 | 12 | 0 | 63 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 25.87 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 98.00 |
Average method complexity | 3.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 54.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 23 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 23 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 238 | |
▷ Static methods | 32 | 13.45% |
▷ Public methods | 237 | 99.58% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 0.42% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 1 | 12.50% |
▷ Class constants | 7 | 87.50% |
▷ Public constants | 7 | 100.00% |
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.02MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/icon.png | 2.90KB | 0.28KB | ▼ 90.21% |
img/logo.png | 4.06KB | 3.29KB | ▼ 19.01% |
img/savvii-logo.png | 9.79KB | 4.13KB | ▼ 57.84% |