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 gracefully, with no errors
Server metrics [RAM: ▲0.30MB] [CPU: ▲1.82ms] Passed 4 tests
An overview of server-side resources used by Rundiz PostOrder
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.76 ▲0.29 | 43.66 ▲3.36 |
Dashboard /wp-admin | 3.61 ▲0.31 | 57.42 ▲4.63 |
Posts /wp-admin/edit.php | 3.72 ▲0.37 | 53.34 ▲7.68 |
Add New Post /wp-admin/post-new.php | 6.19 ▲0.31 | 88.22 ▼8.41 |
Media Library /wp-admin/upload.php | 3.53 ▲0.30 | 45.83 ▲9.77 |
Rundiz PostOrder /wp-admin/options-general.php?page=rd-postorder-settings | 3.52 | 36.31 |
Re-order posts /wp-admin/edit.php?page=rd-postorder_reorder-posts | 3.87 | 43.16 |
Server storage [IO: ▲1.27MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 44 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
rundiz_postorder_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Rundiz PostOrder: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲36 | 14.28 ▲0.00 | 1.77 ▲0.05 | 44.11 ▲0.34 |
Dashboard /wp-admin | 2,206 ▲26 | 5.63 ▼0.02 | 95.31 ▲5.31 | 42.72 ▲0.04 |
Posts /wp-admin/edit.php | 2,108 ▲8 | 1.96 ▲0.02 | 35.98 ▼2.67 | 36.52 ▲0.39 |
Add New Post /wp-admin/post-new.php | 1,532 ▲6 | 22.90 ▼0.88 | 666.73 ▲48.74 | 60.37 ▲12.99 |
Media Library /wp-admin/upload.php | 1,405 ▲8 | 4.21 ▼0.00 | 111.21 ▲8.86 | 45.64 ▲5.10 |
Rundiz PostOrder /wp-admin/options-general.php?page=rd-postorder-settings | 823 | 2.00 | 23.46 | 27.02 |
Re-order posts /wp-admin/edit.php?page=rd-postorder_reorder-posts | 1,153 | 1.94 | 29.91 | 33.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
- 21× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Trait 'RdPostOrder\\App\\AppTrait' not found in wp-content/plugins/rundiz-postorder/App/Models/PostOrder.php on line 11
- > PHP Fatal error
Uncaught Error: Class 'RdPostOrder\\App\\Controllers\\Admin\\Posts\\AbstractReOrderPosts' not found in wp-content/plugins/rundiz-postorder/App/Controllers/Admin/Posts/ReOrderPostsAjax.php:14
- > PHP Fatal error
Uncaught Error: Class 'RdPostOrder\\App\\Controllers\\Admin\\Posts\\AbstractReOrderPosts' not found in wp-content/plugins/rundiz-postorder/App/Controllers/Admin/Posts/ReOrderPosts.php:10
- > PHP Fatal error
Uncaught Error: Interface 'RdPostOrder\\App\\Controllers\\ControllerInterface' not found in wp-content/plugins/rundiz-postorder/App/Controllers/Admin/Posts/HookNewPost.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/rundiz-postorder/App/Views/admin/Posts/ReOrderPosts/adminHelpTab_04.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/rundiz-postorder/App/Views/admin/Posts/reOrderPosts_listPostsAction_v.php:2
- > PHP Fatal error
Uncaught Error: Interface 'RdPostOrder\\App\\Controllers\\ControllerInterface' not found in wp-content/plugins/rundiz-postorder/App/Controllers/Admin/Settings/MultisiteSettings.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/rundiz-postorder/App/Views/admin/Posts/ReOrderPosts/adminHelpTab_02.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function RdPostOrder\\App\\add_action() in wp-content/plugins/rundiz-postorder/App/App.php:38
- > PHP Fatal error
Uncaught Error: Interface 'RdPostOrder\\App\\Controllers\\ControllerInterface' not found in wp-content/plugins/rundiz-postorder/App/Controllers/Admin/Posts/AbstractReOrderPosts.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
10 plugin tags: re arrange, sort, order posts, rearrange, posts...
rundiz-postorder/rd-postorder.php 77% from 13 tests
Analyzing the main PHP file in "Rundiz PostOrder" version 1.0.3
You should first fix the following items:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Domain Path: The domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("/App/languages/")
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("rundiz-postorder.php" instead of "rd-postorder.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin5,788 lines of code in 36 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 2,671 |
PHP | 30 | 651 | 1,300 | 2,403 |
JavaScript | 1 | 110 | 153 | 482 |
PO File | 1 | 45 | 56 | 133 |
Markdown | 1 | 28 | 0 | 54 |
CSS | 2 | 10 | 3 | 45 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 19.90 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 129.00 |
Average method complexity | 4.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 8 | |
Interfaces | 1 | |
Traits | 1 | |
Classes | 18 | |
▷ Abstract classes | 1 | 5.56% |
▷ Concrete classes | 17 | 94.44% |
▷ Final classes | 0 | 0.00% |
Methods | 111 | |
▷ Static methods | 3 | 2.70% |
▷ Public methods | 81 | 72.97% |
▷ Protected methods | 27 | 24.32% |
▷ Private methods | 3 | 2.70% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.00% |
Constants | 2 | |
▷ Global constants | 1 | 50.00% |
▷ Class constants | 1 | 50.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin