Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.18MB] [CPU: ▼0.89ms] Passed 4 tests
An overview of server-side resources used by Migrate To Liquid Web & Nexcess
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.20 | 38.94 ▲0.98 |
Dashboard /wp-admin | 3.53 ▲0.22 | 48.40 ▲1.95 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 50.13 ▲1.90 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.16 | 93.71 ▼8.39 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 39.91 ▲9.72 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 30 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Migrate To Liquid Web & Nexcess
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲80 | 13.29 ▼0.89 | 4.80 ▲3.00 | 39.79 ▼4.54 |
Dashboard /wp-admin | 2,221 ▲36 | 5.86 ▲0.83 | 110.63 ▲1.67 | 69.38 ▲22.34 |
Posts /wp-admin/edit.php | 2,110 ▲21 | 2.02 ▲0.00 | 39.08 ▼0.07 | 34.43 ▼0.18 |
Add New Post /wp-admin/post-new.php | 1,536 ▲3 | 18.15 ▼4.96 | 648.76 ▲5.84 | 58.55 ▲11.40 |
Media Library /wp-admin/upload.php | 1,397 ▲15 | 4.16 ▼0.12 | 98.00 ▼1.45 | 78.60 ▲34.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
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 take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/migrate-to-liquidweb/admin/main_page.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
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: liquidweb, migration
migrate-to-liquidweb/liquidweb.php 92% from 13 tests
The primary PHP file in "Migrate To Liquid Web & Nexcess" version 5.25 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("migrate-to-liquidweb.php" instead of "liquidweb.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected3,394 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 23 | 454 | 48 | 3,324 |
CSS | 1 | 0 | 0 | 70 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
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
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.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/icon.png | 0.77KB | 0.86KB | 0.00% |
img/blogvault-logo.png | 4.06KB | 3.29KB | ▼ 19.01% |
img/liquidweb-logo.png | 10.81KB | 4.12KB | ▼ 61.90% |