Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▲0.32ms] Passed 4 tests
Server-side resources used by WP User Merger
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.71 ▲0.25 | 44.85 ▲2.20 |
Dashboard /wp-admin | 3.41 ▲0.10 | 54.59 ▲2.02 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 50.11 ▼0.47 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 86.52 ▼2.48 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 41.79 ▲6.71 |
WP User Merger /wp-admin/users.php?page=wpus_merger | 3.54 | 38.92 |
Server storage [IO: ▲4.43MB] [DB: ▲0.00MB] 67% from 3 tests
Analyzing filesystem and database footprints of this plugin
Please try to fix the following items
- You have illegally modified 1 file (4.00KB) outside of "wp-content/plugins/wp-user-merger/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 37 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for WP User Merger
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲58 | 13.61 ▼0.62 | 1.66 ▼0.40 | 43.69 ▼1.44 |
Dashboard /wp-admin | 2,225 ▲22 | 5.80 ▼0.14 | 100.45 ▼10.71 | 40.25 ▼1.83 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 2.04 ▲0.03 | 39.22 ▲0.62 | 34.12 ▼0.05 |
Add New Post /wp-admin/post-new.php | 1,549 ▲4 | 23.45 ▲0.12 | 643.64 ▲1.91 | 72.25 ▲4.78 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.20 ▼0.01 | 98.10 ▼3.86 | 44.58 ▼2.97 |
WP User Merger /wp-admin/users.php?page=wpus_merger | 1,601 | 9.39 | 274.49 | 55.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
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 fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-user-merger/inc/wpus_settings.php:1
- > 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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
3 plugin tags: merge users, user merger, woocommerce memberships
wp-user-merger/index.php 92% from 13 tests
This is the main PHP file of "WP User Merger" version 1.5.7, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("wp-user-merger.php" instead of "index.php")
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
Success! There were no dangerous files found in this plugin11,462 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 0 | 0 | 9,546 |
PHP | 3 | 432 | 64 | 958 |
CSS | 5 | 52 | 19 | 488 |
PO File | 3 | 117 | 117 | 288 |
JavaScript | 5 | 58 | 24 | 182 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 19 | |
▷ Named functions | 19 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
2 PNG files occupy 0.06MB with 0.03MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/selection-fields.png | 51.88KB | 18.06KB | ▼ 65.18% |
img/restore-users.png | 9.69KB | 5.70KB | ▼ 41.21% |