Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.08MB] [CPU: ▼12.50ms] Passed 4 tests
Analyzing server-side resources used by All Round Order
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 38.13 ▼17.96 |
Dashboard /wp-admin | 3.39 ▲0.09 | 46.80 ▼15.53 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 49.20 ▼0.25 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 88.47 ▼15.61 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 34.09 ▼0.88 |
Custom Order /wp-admin/edit.php?post_type=wp_template_part&page=custom-order-wp_template_part | 3.29 | 29.10 |
Custom Order /wp-admin/edit.php?post_type=nav_menu_item&page=custom-order-nav_menu_item | 3.29 | 33.47 |
All Round Order /wp-admin/options-general.php?page=wbso-options | 3.28 | 28.09 |
Custom Order /wp-admin/edit.php?post_type=attachment&page=custom-order-attachment | 3.29 | 27.65 |
Custom Order /wp-admin/edit.php?post_type=page&page=custom-order-page | 3.29 | 26.44 |
Custom Order /wp-admin/edit.php?post_type=revision&page=custom-order-revision | 3.29 | 31.23 |
Custom Order /wp-admin/edit.php?post_type=wp_block&page=custom-order-wp_block | 3.29 | 31.21 |
Custom Order /wp-admin/edit.php?post_type=user_request&page=custom-order-user_request | 3.29 | 29.55 |
Custom Order /wp-admin/edit.php?post_type=wp_navigation&page=custom-order-wp_navigation | 3.29 | 28.49 |
Custom Order /wp-admin/upload.php?page=custom-order-attachment | 3.29 | 33.32 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 20 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
wbsoft_order_options |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for All Round Order
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,841 ▲106 | 13.55 ▼0.83 | 1.94 ▲0.05 | 43.32 ▲4.58 |
Dashboard /wp-admin | 2,222 ▲34 | 5.90 ▲0.88 | 109.57 ▲3.38 | 38.62 ▼6.00 |
Posts /wp-admin/edit.php | 2,108 ▲22 | 2.05 ▲0.06 | 38.85 ▼2.55 | 34.39 ▲2.13 |
Add New Post /wp-admin/post-new.php | 1,526 ▲6 | 17.81 ▼5.50 | 660.79 ▲57.84 | 53.28 ▼11.34 |
Media Library /wp-admin/upload.php | 1,404 ▲22 | 4.20 ▼0.01 | 95.43 ▼1.66 | 41.71 ▲0.57 |
Custom Order /wp-admin/edit.php?post_type=wp_template_part&page=custom-order-wp_template_part | 815 | 1.83 | 28.41 | 23.36 |
Custom Order /wp-admin/edit.php?post_type=nav_menu_item&page=custom-order-nav_menu_item | 800 | 1.82 | 27.46 | 20.48 |
All Round Order /wp-admin/options-general.php?page=wbso-options | 803 | 2.06 | 25.38 | 29.85 |
Custom Order /wp-admin/edit.php?post_type=attachment&page=custom-order-attachment | 816 | 1.85 | 26.67 | 21.98 |
Custom Order /wp-admin/edit.php?post_type=page&page=custom-order-page | 831 | 1.98 | 27.25 | 23.07 |
Custom Order /wp-admin/edit.php?post_type=revision&page=custom-order-revision | 818 | 1.90 | 27.27 | 23.84 |
Custom Order /wp-admin/edit.php?post_type=wp_block&page=custom-order-wp_block | 818 | 1.86 | 25.38 | 22.64 |
Custom Order /wp-admin/edit.php?post_type=user_request&page=custom-order-user_request | 815 | 1.81 | 25.62 | 21.01 |
Custom Order /wp-admin/edit.php?post_type=wp_navigation&page=custom-order-wp_navigation | 815 | 1.82 | 26.13 | 23.50 |
Custom Order /wp-admin/upload.php?page=custom-order-attachment | 819 | 1.85 | 26.15 | 25.32 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 6× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'Walker' not found in wp-content/plugins/all-round-order/classes/class.walk.php:3
- > PHP Fatal error
Uncaught Error: Class 'Walker' not found in wp-content/plugins/all-round-order/1.1/classes/class.walk.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/all-round-order/1.1/all-round-order.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/all-round-order/all-round-order.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/all-round-order/settings.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/all-round-order/1.1/settings.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Requires at least: The plugin version is formatted incorrectly
all-round-order/all-round-order.php Passed 13 tests
"All Round Order" version 1.1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
78 characters long description:
Posts, Custom Post Types and Media Library Order using a Drag and Drop feature
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected564 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 141 | 135 | 514 |
CSS | 1 | 1 | 0 | 50 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 28 | |
▷ Named functions | 28 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
8 PNG files occupy 0.12MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
1.1/images/settings-icon.png | 2.85KB | 1.68KB | ▼ 40.82% |
1.1/screenshot-2.png | 31.45KB | 15.94KB | ▼ 49.32% |
screenshot-1.png | 23.72KB | 11.90KB | ▼ 49.82% |
1.1/screenshot-1.png | 23.72KB | 11.90KB | ▼ 49.82% |
screenshot-2.png | 31.45KB | 15.94KB | ▼ 49.32% |