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.18MB] [CPU: ▼2.91ms] Passed 4 tests
An overview of server-side resources used by OnList
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 36.44 ▼8.18 |
Dashboard /wp-admin | 3.50 ▲0.20 | 56.11 ▲8.15 |
Posts /wp-admin/edit.php | 3.62 ▲0.26 | 51.00 ▲2.51 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 94.25 ▼8.88 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 38.71 ▲2.92 |
Listings Categories /wp-admin/edit-tags.php?taxonomy=onlist-taxonomy&post_type=onlist_post | 3.42 | 35.63 |
OnList Listings /wp-admin/edit.php?post_type=onlist_post | 3.47 | 48.75 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=onlist_post | 3.42 | 36.87 |
Add New /wp-admin/post-new.php?post_type=onlist_post | 3.56 | 49.45 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 23 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_onlist_widget |
widget_recent-comments |
can_compress_scripts |
onlist_date_plugin_activated |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by OnList
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,858 ▲123 | 13.63 ▼1.02 | 1.75 ▼0.09 | 40.92 ▼2.19 |
Dashboard /wp-admin | 2,262 ▲74 | 5.85 ▲0.78 | 102.81 ▼3.43 | 43.99 ▼1.91 |
Posts /wp-admin/edit.php | 2,121 ▲32 | 2.02 ▲0.02 | 37.26 ▲0.07 | 31.76 ▲0.31 |
Add New Post /wp-admin/post-new.php | 1,572 ▲38 | 23.00 ▼0.09 | 579.21 ▼65.65 | 47.54 ▼20.92 |
Media Library /wp-admin/upload.php | 1,441 ▲56 | 4.23 ▲0.02 | 98.65 ▼5.92 | 41.63 ▼2.11 |
Listings Categories /wp-admin/edit-tags.php?taxonomy=onlist-taxonomy&post_type=onlist_post | 1,315 | 2.14 | 27.99 | 28.83 |
OnList Listings /wp-admin/edit.php?post_type=onlist_post | 1,165 | 2.00 | 38.16 | 34.52 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=onlist_post | 1,360 | 2.14 | 29.42 | 32.98 |
Add New /wp-admin/post-new.php?post_type=onlist_post | 2,771 | 7.94 | 179.47 | 73.07 |
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
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_onlist_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- 11 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=onlist_post
- > Notice in wp-content/plugins/onlist/admin/onlist-editor-page.php+32
Trying to access array offset on value of type bool
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 13× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
- > /wp-content/plugins/onlist/admin/onlist-plugin-admin.php
- > /wp-content/plugins/onlist/inc/onlist-plugin-post-type.php
- > /wp-content/plugins/onlist/public/onlist-public-options.php
- > /wp-content/plugins/onlist/inc/templates/comments.php
- > /wp-content/plugins/onlist/inc/onlist-manage-terms.php
- > /wp-content/plugins/onlist/inc/onlist-plugin-post-taxo.php
- > /wp-content/plugins/onlist/admin/onlist-editor-page.php
- > /wp-content/plugins/onlist/admin/onlist-admin-forms.php
- > /wp-content/plugins/onlist/admin/onlist-public-settings.php
- > /wp-content/plugins/onlist/inc/templates/onlist-global-options.php
- 5× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function the_ID() in wp-content/plugins/onlist/inc/templates/content-single.php:6
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/onlist/inc/Onlist_Widget.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/onlist/inc/templates/single-onlist_post.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/onlist/inc/templates/archive-onlist_post.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function the_ID() in wp-content/plugins/onlist/inc/templates/content-category.php:2
- > 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 errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
onlist/onlist.php 85% from 13 tests
The main PHP file in "OnList" ver. 1.0.7 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Requires at least: Required version does not match the one declared in readme.txt ("4.8" instead of "4.6")
- Requires PHP: Required version does not match the one declared in readme.txt ("5.6" instead of "5.4")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected1,904 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 215 | 288 | 1,422 |
CSS | 2 | 8 | 1 | 482 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 54 | |
▷ Named functions | 54 | 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
There are no PNG files in this plugin