Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
- This plugin did not install gracefully
- > Notice in wp-content/plugins/custom-post-list-order/custom-post-list-order.php+132
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.04MB] [CPU: ▼5.99ms] Passed 4 tests
Analyzing server-side resources used by Custom Post List Order by BLOG BOOT CAMP
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 36.18 ▼2.09 |
Dashboard /wp-admin | 3.35 ▲0.04 | 47.22 ▼2.40 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 49.31 ▼3.09 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 84.52 ▼16.37 |
Media Library /wp-admin/upload.php | 3.27 ▲0.03 | 36.47 ▲0.09 |
Custom Post List Order /wp-admin/options-general.php?page=custom-post-list-order | 3.24 | 32.74 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
custom-post-list-order |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Custom Post List Order by BLOG BOOT CAMP
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.20 ▼1.16 | 1.57 ▼0.07 | 41.29 ▲1.19 |
Dashboard /wp-admin | 2,207 ▲18 | 5.77 ▲0.86 | 95.48 ▼11.69 | 39.51 ▼3.60 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.05 ▼0.07 | 39.35 ▲3.91 | 35.89 ▼1.74 |
Add New Post /wp-admin/post-new.php | 1,517 ▼2 | 17.89 ▼5.26 | 673.20 ▼24.46 | 66.38 ▲11.88 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.21 ▼0.02 | 96.57 ▼12.16 | 43.91 ▼3.59 |
Custom Post List Order /wp-admin/options-general.php?page=custom-post-list-order | 852 | 2.08 | 24.35 | 25.88 |
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
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
Almost there! Just fix the following items
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Cannot access self:: when no class scope is active in wp-content/plugins/custom-post-list-order/includes/setting.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/custom-post-list-order/custom-post-list-order.php:29
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 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: order posts, order posts list, post list order, custom category order, order post list...
custom-post-list-order/custom-post-list-order.php Passed 13 tests
This is the main PHP file of "Custom Post List Order by BLOG BOOT CAMP" version 1.0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
78 characters long description:
Sort the posted articles in order of published date or update date, page view.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin233 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 48 | 32 | 233 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 4.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 4 | 80.00% |
▷ Anonymous functions | 1 | 20.00% |
Constants | 8 | |
▷ Global constants | 2 | 25.00% |
▷ Class constants | 6 | 75.00% |
▷ Public constants | 6 | 100.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
There are no PNG files in this plugin