Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
It is recommended to fix the following installer errors
- The plugin cannot be installed
- > Notice in wp-content/plugins/listly/listly.php+88
Trying to access array offset on value of type bool
Server metrics [RAM: ▼1.55MB] [CPU: ▼51.10ms] Passed 4 tests
Server-side resources used by Listly: Listicles For Wordpress
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.44 ▼1.02 | 5.88 ▼36.44 |
Dashboard /wp-admin | 2.46 ▼0.85 | 7.29 ▼40.49 |
Posts /wp-admin/edit.php | 2.46 ▼0.90 | 7.59 ▼41.64 |
Add New Post /wp-admin/post-new.php | 2.46 ▼3.43 | 6.48 ▼85.82 |
Media Library /wp-admin/upload.php | 2.46 ▼0.77 | 6.31 ▼31.57 |
Listly /wp-admin/options-general.php?page=Listly | 2.46 | 7.38 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
widget_listly-widget |
widget_recent-comments |
widget_theysaidso_widget |
Listly |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Listly: Listicles For Wordpress
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,813 ▲67 | 13.26 ▼1.11 | 5.20 ▲3.53 | 41.59 ▲0.84 |
Dashboard /wp-admin | 2,216 ▲28 | 4.86 ▼0.02 | 108.03 ▼0.59 | 48.93 ▲5.67 |
Posts /wp-admin/edit.php | 2,101 ▲9 | 1.99 ▼0.01 | 40.18 ▲1.52 | 37.84 ▲0.46 |
Add New Post /wp-admin/post-new.php | 6,231 ▲4,712 | 26.06 ▲2.95 | 936.32 ▲223.51 | 51.48 ▼15.29 |
Media Library /wp-admin/upload.php | 1,404 ▲16 | 4.30 ▲0.08 | 103.46 ▼12.42 | 45.29 ▼1.11 |
Listly /wp-admin/options-general.php?page=Listly | 1,838 | 2.55 | 75.86 | 37.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/listly/listly.php+90
Function create_function() is deprecated
- This plugin does not fully uninstall, leaving 8 options in the database
- widget_recent-comments
- db_upgraded
- Listly
- widget_recent-posts
- widget_theysaidso_widget
- widget_listly-widget
- theysaidso_admin_options
- can_compress_scripts
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
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=Listly
- > Deprecated in wp-content/plugins/listly/listly.php+90
Function create_function() is deprecated
- > GET request to /wp-admin/options-general.php?page=Listly
- > User deprecated in wp-includes/functions.php+5828
Hook contextual_help is deprecated since version 3.3.0! Use get_current_screen()->add_help_tab(), get_current_screen()->remove_help_tab() instead.
- > GET request to /wp-admin/options-general.php?page=Listly
- > Notice in wp-content/plugins/listly/listly.php+382
Undefined index: text_color
- > GET request to /wp-admin/options-general.php?page=Listly
- > Notice in wp-content/plugins/listly/listly.php+391
Undefined index: text_font
- > GET request to /wp-admin/options-general.php?page=Listly
- > Notice in wp-content/plugins/listly/listly.php+401
Undefined index: title_color
- > GET request to /wp-admin/options-general.php?page=Listly
- > Notice in wp-content/plugins/listly/listly.php+410
Undefined index: title_font
- > GET request to /wp-admin/options-general.php?page=Listly
- > Notice in wp-content/plugins/listly/listly.php+420
Undefined index: border_color
- > GET request to /wp-admin/options-general.php?page=Listly
- > Notice in wp-content/plugins/listly/listly.php+429
Undefined index: link_color
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=Listly
- > Notice in wp-content/plugins/listly/listly.php+447
Undefined index: secondary_link_color
- > GET request to /wp-admin/options-general.php?page=Listly
- > Notice in wp-content/plugins/listly/listly.php+456
Undefined index: separator_color
SRP 50% 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
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_bloginfo() in wp-content/plugins/listly/listly.php:36
- > 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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Tags: Please delete some tags, you are using 35 tag instead of maximum 10
listly/listly.php Passed 13 tests
The main PHP script in "Listly: Listicles For Wordpress" version 2.7 is automatically included on every request by WordPress
129 characters long description:
Brings the power of the Listly platform to engage your audience with list posts in gallery, slideshow, magazine, and list layouts
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin1,326 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 263 | 34 | 1,030 |
JavaScript | 1 | 33 | 4 | 166 |
CSS | 1 | 17 | 0 | 130 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 79.00 |
▷ Minimum class complexity | 50.00 |
▷ Maximum class complexity | 108.00 |
Average method complexity | 6.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 45.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
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 | 1 | 3.33% |
▷ Public methods | 30 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/shortcode.png | 2.37KB | 0.43KB | ▼ 81.97% |