Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼10.32ms] Passed 4 tests
This is a short check of server-side resources used by hiWeb Migration Simple
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 35.51 ▼4.57 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.89 ▼5.69 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 45.24 ▼8.96 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 78.77 ▼22.07 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.40 ▲4.01 |
hiWeb Migration S /wp-admin/tools.php?page=hw_migration_simple | 5.88 | 71.48 |
Server storage [IO: ▲0.40MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 8 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
hw_migration_simple_baseurl |
widget_theysaidso_widget |
hw_migration_simple_basedir |
Browser metrics Passed 4 tests
A check of browser resources used by hiWeb Migration Simple
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲47 | 13.58 ▼0.79 | 1.68 ▼0.64 | 37.48 ▼9.15 |
Dashboard /wp-admin | 2,210 ▲22 | 4.85 ▼1.01 | 108.17 ▲10.43 | 38.17 ▼2.38 |
Posts /wp-admin/edit.php | 2,096 ▲4 | 1.97 ▼0.04 | 39.90 ▼2.27 | 33.91 ▼2.89 |
Add New Post /wp-admin/post-new.php | 1,545 ▲26 | 18.41 ▼4.72 | 591.89 ▲9.34 | 51.20 ▼2.42 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.20 ▼0.01 | 92.91 ▼2.92 | 40.17 ▼4.11 |
hiWeb Migration S /wp-admin/tools.php?page=hw_migration_simple | 1,639 | 2.11 | 23.52 | 28.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 8 options in the database
- widget_theysaidso_widget
- hw_migration_simple_basedir
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- hw_migration_simple_baseurl
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
- 9× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/hiweb-migration-simple/template/options.php:3
- > PHP Notice
Undefined variable: R in wp-content/plugins/hiweb-migration-simple/template/force-re-migrate-done.php on line 7
- > PHP Fatal error
Uncaught Error: Class 'hiweb_migration_simple\\tools' not found in wp-content/plugins/hiweb-migration-simple/template/force-re-migrate-confirm.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function hiweb_migration_simple\\add_action() in wp-content/plugins/hiweb-migration-simple/inc/hooks.php:15
- > PHP Fatal error
Uncaught Error: Class 'hiweb_migration_simple\\tools' not found in wp-content/plugins/hiweb-migration-simple/template/force-re-migrate-done.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/hiweb-migration-simple/template/options.php:3
- > PHP Fatal error
Uncaught Error: Class 'hiweb_migration_simple\\tools' not found in wp-content/plugins/hiweb-migration-simple/template/frontend.php:17
- > PHP Warning
count(): Parameter must be an array or an object that implements Countable in wp-content/plugins/hiweb-migration-simple/template/force-re-migrate-done.php on line 13
- > PHP Notice
Undefined variable: R in wp-content/plugins/hiweb-migration-simple/template/force-re-migrate-done.php on line 13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Donate link: Invalid url: ""
- Tags: You are using too many tags: 36 tag instead of maximum 10
- Screenshots: Add an image for screenshot #1 (Little instruction)
hiweb-migration-simple/hiweb-migration-simple.php 92% from 13 tests
"hiWeb Migration Simple" version 2.0.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 152 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin476 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 95 | 122 | 381 |
PO File | 1 | 15 | 15 | 73 |
JavaScript | 1 | 2 | 0 | 22 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 14.25 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 2.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 27 | 100.00% |
▷ Public methods | 26 | 96.30% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 3.70% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.10MB with 0.07MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 106.25KB | 39.19KB | ▼ 63.12% |