Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▼0.74MB] [CPU: ▼24.62ms] Passed 4 tests
A check of server-side resources used by Multiple Post Type Order
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 37.07 ▼3.55 |
Dashboard /wp-admin | 3.21 ▼0.10 | 35.14 ▼12.50 |
Posts /wp-admin/edit.php | 3.27 ▼0.08 | 36.09 ▼10.31 |
Add New Post /wp-admin/post-new.php | 3.10 ▼2.79 | 35.50 ▼66.91 |
Media Library /wp-admin/upload.php | 3.21 ▼0.02 | 32.22 ▼8.75 |
Multiple Post Type Order /wp-admin/options-general.php?page=mpto-options | 3.18 | 29.99 |
Server storage [IO: ▲0.91MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Multiple Post Type Order
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲59 | 14.24 ▼0.18 | 1.65 ▲0.12 | 42.74 ▲7.34 |
Dashboard /wp-admin | 2,195 ▲14 | 5.56 ▼0.17 | 83.84 ▼13.44 | 37.51 ▼5.67 |
Posts /wp-admin/edit.php | 2,110 ▲10 | 2.07 ▲0.09 | 33.42 ▼0.78 | 32.98 ▼3.04 |
Add New Post /wp-admin/post-new.php | 1,540 ▲12 | 18.28 ▼4.91 | 600.09 ▼77.80 | 69.97 ▲15.98 |
Media Library /wp-admin/upload.php | 1,406 ▲9 | 4.21 ▼0.08 | 96.07 ▼7.89 | 39.89 ▼5.50 |
Multiple Post Type Order /wp-admin/options-general.php?page=mpto-options | 1,002 | 1.89 | 23.73 | 27.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=mpto-options
- > Warning in wp-content/plugins/multiple-post-type-order/mpto-function.php+23
session_start(): Cannot start session when headers already sent
- 12 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=mpto-options
- > Notice in wp-content/plugins/multiple-post-type-order/mpto-option.php+57
Trying to access array offset on value of type bool
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
The following issues need your attention
- 5× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/multiple-post-type-order/mpto-function.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/multiple-post-type-order/mpto-option.php:104
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/multiple-post-type-order/mpto-list.php:210
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/multiple-post-type-order/multiple-post-type-order.php:29
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/multiple-post-type-order/mpto-shortcode.php:386
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Donate link: Invalid URI found ("")
- Screenshots: Screenshot #4 (Listing display with hover effects) image missing
multiple-post-type-order/multiple-post-type-order.php 92% from 13 tests
This is the main PHP file of "Multiple Post Type Order" version 1.9.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 168 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin3,009 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 6 | 387 | 107 | 2,172 |
PHP | 5 | 56 | 57 | 837 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
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 | 17 | |
▷ Named functions | 17 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 0% from 2 tests
Image compression 0% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 0.79MB with 0.51MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 57.24KB | 25.61KB | ▼ 55.25% |
screenshot-2.png | 42.00KB | 19.42KB | ▼ 53.78% |
(invalid) screenshot-4.png | 660.54KB | 0.00KB | ▼ 100.00% |
screenshot-1.png | 44.63KB | 22.30KB | ▼ 50.04% |