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.04MB] [CPU: ▼11.22ms] Passed 4 tests
An overview of server-side resources used by Custom Users Order
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 36.33 ▼5.06 |
Dashboard /wp-admin | 3.36 ▲0.01 | 45.37 ▼13.06 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 46.06 ▼1.87 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 83.37 ▼24.90 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 35.42 ▲2.95 |
Custom Users Order /wp-admin/users.php?page=addsection | 3.22 | 30.04 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
section_name |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Custom Users Order
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▲64 | 13.22 ▼1.16 | 1.59 ▼0.06 | 40.73 ▼1.04 |
Dashboard /wp-admin | 2,214 ▲26 | 4.92 ▼0.98 | 99.77 ▼7.42 | 38.65 ▼3.25 |
Posts /wp-admin/edit.php | 2,101 ▲12 | 2.26 ▲0.20 | 39.47 ▼4.34 | 34.69 ▲0.54 |
Add New Post /wp-admin/post-new.php | 1,521 ▼21 | 23.27 ▲5.27 | 630.56 ▲30.94 | 49.39 ▼1.77 |
Media Library /wp-admin/upload.php | 1,390 ▲5 | 4.23 ▼0.00 | 97.10 ▼1.50 | 40.94 ▼8.46 |
Custom Users Order /wp-admin/users.php?page=addsection | 825 | 1.83 | 27.01 | 32.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- section_name
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/users.php?page=addsection
- > Notice in wp-content/plugins/custom-users-order/addsection.php+24
Undefined index: sname
- > GET request to /wp-admin/users.php?page=addsection
- > Notice in wp-content/plugins/custom-users-order/addsection.php+32
Undefined index: listing
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
Please fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/custom-users-order/custom_users_order.php:19
- > PHP Fatal error
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)
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Tags: You are using too many tags: 31 tag instead of maximum 10
custom-users-order/custom_users_order.php 92% from 13 tests
The main file in "Custom Users Order" v. 4.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("custom-users-order.php" instead of "custom_users_order.php")
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
Good job! No executable or dangerous file extensions detected413 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 25 | 46 | 299 |
JavaScript | 1 | 8 | 11 | 88 |
CSS | 2 | 0 | 1 | 26 |
PHP code Passed 2 tests
A short review of 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.23 |
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 | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin