Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼3.83ms] Passed 4 tests
This is a short check of server-side resources used by Moving Users
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 35.13 ▼9.20 |
Dashboard /wp-admin | 3.33 ▲0.03 | 45.00 ▼2.76 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 46.89 ▲0.49 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 93.68 ▼3.85 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 34.62 ▲2.42 |
Export /wp-admin/admin.php?page=movingusers-generate-json | 3.22 | 32.49 |
Moving Users /wp-admin/admin.php?page=movingusers | 3.22 | 33.17 |
Import /wp-admin/admin.php?page=movingusers-update-db | 3.22 | 36.18 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Moving Users: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲34 | 14.28 ▼0.13 | 1.68 ▼0.31 | 41.96 ▼4.51 |
Dashboard /wp-admin | 2,220 ▲40 | 5.63 ▼0.04 | 86.04 ▼9.00 | 41.38 ▼2.06 |
Posts /wp-admin/edit.php | 2,131 ▲31 | 2.04 ▲0.06 | 41.03 ▲1.52 | 37.00 ▲1.19 |
Add New Post /wp-admin/post-new.php | 1,551 ▲25 | 23.35 ▲0.25 | 603.52 ▼48.59 | 58.87 ▼1.05 |
Media Library /wp-admin/upload.php | 1,425 ▲25 | 4.20 ▲0.03 | 96.18 ▼1.33 | 39.98 ▼3.10 |
Export /wp-admin/admin.php?page=movingusers-generate-json | 837 | 2.03 | 26.32 | 29.35 |
Moving Users /wp-admin/admin.php?page=movingusers | 857 | 2.00 | 28.67 | 31.47 |
Import /wp-admin/admin.php?page=movingusers-update-db | 861 | 2.00 | 25.34 | 33.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- 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)
The smoke test was a success, however most plugin functionality was not tested
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
Please fix the following
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_upload_dir() in wp-content/plugins/moving-users/lib/class-movingusers.php:45
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_upload_dir() in wp-content/plugins/moving-users/lib/class-movingusersadmin.php:50
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_upload_dir() in wp-content/plugins/moving-users/lib/class-movingusers.php:45
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: users, user, moving
moving-users/movingusers.php 92% from 13 tests
The main file in "Moving Users" v. 1.02 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("moving-users.php" instead of "movingusers.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin649 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 91 | 186 | 649 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 50.00 |
▷ Minimum class complexity | 25.00 |
▷ Maximum class complexity | 75.00 |
Average method complexity | 4.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 93.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 6.67% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected