Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▼3.03ms] Passed 4 tests
An overview of server-side resources used by Xserver Migrator
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.19 | 44.73 ▼3.69 |
Dashboard /wp-admin | 3.52 ▲0.17 | 52.52 ▼11.94 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 48.62 ▲2.16 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 104.64 ▲5.11 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 37.92 ▲1.37 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
Please fix the following
- The plugin illegally modified 3 files (0.23KB) outside of "wp-content/plugins/xserver-migrator/" and "wp-content/uploads/"
- (new file) wp-content/xserver-migrator/migrator.log
- (new file) wp-content/xserver-migrator/.htaccess
- (new file) wp-content/xserver-migrator/index.php
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Xserver Migrator
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.24 ▼0.69 | 5.06 ▲3.28 | 43.00 ▼1.77 |
Dashboard /wp-admin | 2,209 ▲18 | 5.85 ▼0.01 | 104.82 ▼1.65 | 42.03 ▼1.59 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.04 ▲0.03 | 33.77 ▼2.66 | 33.77 ▼2.47 |
Add New Post /wp-admin/post-new.php | 1,533 ▼2 | 23.29 ▲0.11 | 677.18 ▲21.26 | 55.81 ▼3.03 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.23 ▲0.02 | 96.83 ▼5.00 | 39.86 ▼2.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/xserver-migrator/xserver-migrator.php
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)
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 uses markdown syntax to describe your plugin to the world
1 plugin tags: xserver
xserver-migrator/xserver-migrator.php 92% from 13 tests
The main PHP file in "Xserver Migrator" ver. 1.6.1 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 201 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected1,087 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 278 | 456 | 1,087 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 10.60 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 57.00 |
Average method complexity | 2.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 1 | 6.67% |
▷ Concrete classes | 14 | 93.33% |
▷ Final classes | 0 | 0.00% |
Methods | 92 | |
▷ Static methods | 37 | 40.22% |
▷ Public methods | 56 | 60.87% |
▷ Protected methods | 4 | 4.35% |
▷ Private methods | 32 | 34.78% |
Functions | 5 | |
▷ Named functions | 1 | 20.00% |
▷ Anonymous functions | 4 | 80.00% |
Constants | 5 | |
▷ Global constants | 4 | 80.00% |
▷ Class constants | 1 | 20.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin