Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼4.07ms] Passed 4 tests
An overview of server-side resources used by Posts Order
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 43.55 ▲0.42 |
Dashboard /wp-admin | 3.39 ▲0.08 | 50.66 ▼3.38 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 48.77 ▼4.97 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 89.75 ▼8.33 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 40.76 ▲4.23 |
Order posts /wp-admin/admin.php?page=sort-page | 3.27 | 29.25 |
Posts order /wp-admin/options-general.php?page=posts-order-settings | 3.28 | 34.24 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
posts_order_upgrade |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Posts Order
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.56 ▲0.30 | 1.73 ▼0.19 | 44.19 ▲4.16 |
Dashboard /wp-admin | 2,192 ▲15 | 5.70 ▲0.05 | 82.86 ▼8.80 | 38.53 ▼5.04 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 2.17 ▲0.20 | 34.12 ▼3.94 | 33.46 ▼4.46 |
Add New Post /wp-admin/post-new.php | 1,542 ▲14 | 23.09 ▲0.13 | 597.72 ▼76.62 | 34.29 ▼15.39 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.17 ▲0.00 | 102.67 ▼3.60 | 70.85 ▲23.46 |
Order posts /wp-admin/admin.php?page=sort-page | 759 | 1.77 | 27.01 | 24.61 |
Posts order /wp-admin/options-general.php?page=posts-order-settings | 938 | 1.79 | 25.91 | 28.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-comments
- theysaidso_admin_options
- posts_order_upgrade
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
Smoke tests Passed 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 Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 96% 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
6 plugin tags: post order, taxonomy post order, order posts by category, category post order, custom post order...
category-custom-post-order/category-custom-post-order.php 92% from 13 tests
The entry point to "Posts Order" version 1.5.0 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected694 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 111 | 194 | 585 |
PO File | 1 | 41 | 49 | 89 |
JavaScript | 1 | 2 | 0 | 20 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 46.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 81.00 |
Average method complexity | 4.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 27 | 90.00% |
▷ Protected methods | 2 | 6.67% |
▷ Private methods | 1 | 3.33% |
Functions | 1 | |
▷ Named functions | 1 | 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
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 13.39KB | 9.04KB | ▼ 32.47% |