Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▲1.38ms] Passed 4 tests
An overview of server-side resources used by Easy Post Re-Order
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.13 | 39.75 ▼1.39 |
Dashboard /wp-admin | 3.46 ▲0.16 | 57.28 ▲7.16 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 55.86 ▲3.59 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.18 | 100.09 ▼2.00 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 41.73 ▲5.33 |
Posts Re-Order /wp-admin/edit.php?page=order-post-types-post | 3.33 | 33.88 |
Images Re-Order /wp-admin/upload.php?page=order-post-types-attachment | 3.33 | 34.52 |
Re-Order /wp-admin/edit.php?post_type=wp_navigation&page=order-post-types-wp_navigation | 3.33 | 34.73 |
Re-Order /wp-admin/edit.php?post_type=wp_block&page=order-post-types-wp_block | 3.33 | 37.96 |
Server storage [IO: ▲0.32MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 47 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
espro_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Easy Post Re-Order
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲34 | 14.35 ▼0.21 | 2.02 ▲0.02 | 41.29 ▲0.92 |
Dashboard /wp-admin | 2,211 ▲31 | 5.56 ▼0.03 | 89.44 ▼2.64 | 77.66 ▲37.07 |
Posts /wp-admin/edit.php | 2,143 ▲40 | 2.27 ▲0.24 | 39.46 ▼1.41 | 35.61 ▼3.96 |
Add New Post /wp-admin/post-new.php | 1,559 ▲22 | 23.08 ▲4.74 | 742.99 ▲127.16 | 52.44 ▼9.09 |
Media Library /wp-admin/upload.php | 1,432 ▲35 | 4.14 ▼0.05 | 104.54 ▲3.09 | 73.77 ▲31.54 |
Posts Re-Order /wp-admin/edit.php?page=order-post-types-post | 1,110 | 6.75 | 204.65 | 42.84 |
Images Re-Order /wp-admin/upload.php?page=order-post-types-attachment | 1,110 | 6.75 | 183.15 | 33.28 |
Re-Order /wp-admin/edit.php?post_type=wp_navigation&page=order-post-types-wp_navigation | 1,110 | 6.74 | 126.47 | 36.25 |
Re-Order /wp-admin/edit.php?post_type=wp_block&page=order-post-types-wp_block | 1,110 | 6.79 | 151.76 | 33.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- espro_options
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- 4 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=wp_block&page=order-post-types-wp_block
- > Notice in wp-content/plugins/easy-post-re-order/files/easysoftonic-my-easy-class.php+364
Undefined variable: post_id
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
The following issues need your attention
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'Walker' not found in wp-content/plugins/easy-post-re-order/files/easysoftonic-my-walkers.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/easy-post-re-order/easy-post-re-order.php:12
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please take a look at the following user-side issues
- 4 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=wp_block&page=order-post-types-wp_block
- > Other (severe) in unknown
chrome-error://chromewebdata/ - Refused to display 'https://developers.google.com/' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=wp_block&page=order-post-types-wp_block
- > Network (severe)
wp-content/plugins/easy-post-re-order/css/cpt-archive-dd.css?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (The Re-Order Options interface.), #2 (The Re-Order Move Posts and Update.), #3 (The Re-Order Drag & Drop Sortable within Post Type archive interface.)
- Tags: Please delete some tags, you are using 15 tag instead of maximum 10
easy-post-re-order/easy-post-re-order.php Passed 13 tests
The main file in "Easy Post Re-Order" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
112 characters long description:
This Easy Post Re-order, Re order your Posts and Media (Images) using the Drag and Drop easily update your sort.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin2,610 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 17 | 559 | 670 | 1,762 |
PHP | 5 | 270 | 82 | 776 |
JavaScript | 1 | 14 | 1 | 38 |
CSS | 1 | 11 | 1 | 34 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 25.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 4.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.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 | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 19 | |
▷ Named functions | 19 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 0.13MB with 0.07MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 78.75KB | 40.85KB | ▼ 48.12% |
images/menu-icon.png | 1.13KB | 0.44KB | ▼ 61.35% |
screenshot-2.png | 27.55KB | 11.95KB | ▼ 56.61% |
screenshot-3.png | 23.18KB | 11.18KB | ▼ 51.75% |