Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/get-post-list-with-thumbnails/get_post_list_with_thumbs.php+944
Methods with the same name as their class will not be constructors in a future version of PHP; GPLWT_Widget has a deprecated constructor
Server metrics [RAM: ▼1.53MB] [CPU: ▼55.47ms] Passed 4 tests
A check of server-side resources used by Get Post List With Thumbnails
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.46 ▼1.00 | 6.57 ▼31.61 |
Dashboard /wp-admin | 2.48 ▼0.83 | 7.04 ▼43.48 |
Posts /wp-admin/edit.php | 2.48 ▼0.88 | 7.79 ▼42.93 |
Add New Post /wp-admin/post-new.php | 2.48 ▼3.41 | 7.35 ▼103.84 |
Media Library /wp-admin/upload.php | 2.48 ▼0.75 | 7.14 ▼24.20 |
Server storage [IO: ▲0.40MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
widget_gplwt-widget |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Get Post List With Thumbnails
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,850 ▲89 | 13.35 ▼1.33 | 1.92 ▲0.10 | 46.17 ▲5.88 |
Dashboard /wp-admin | 2,223 ▲23 | 5.90 ▲0.97 | 108.76 ▼3.05 | 41.50 ▼3.66 |
Posts /wp-admin/edit.php | 2,105 ▲5 | 2.06 ▲0.00 | 39.71 ▼2.68 | 38.50 ▲2.26 |
Add New Post /wp-admin/post-new.php | 1,549 ▲23 | 23.40 ▲5.90 | 654.92 ▼40.13 | 55.53 ▼9.29 |
Media Library /wp-admin/upload.php | 1,408 ▲8 | 4.25 ▲0.01 | 105.46 ▲1.68 | 49.17 ▲4.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/get-post-list-with-thumbnails/get_post_list_with_thumbs.php+944
Methods with the same name as their class will not be constructors in a future version of PHP; GPLWT_Widget has a deprecated constructor
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-comments
- widget_gplwt-widget
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 50% from 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)
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/get-post-list-with-thumbnails/ajaxgplwt.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/get-post-list-with-thumbnails/get_post_list_with_thumbs.php:36
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% 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
Please fix the following attributes:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Posting it on a page as shotcode - live demo on: http://www.wpworking.com/posts-list/), #2 (Configuring widget parameters on wp-admin), #3 (Registering the widget on wp-admin widget pannel and Making the widget work on a PHP page)
get-post-list-with-thumbnails/get_post_list_with_thumbs.php 85% from 13 tests
The main file in "Get Post List With Thumbnails" v. 10.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("get-post-list-with-thumbnails.php" instead of "get_post_list_with_thumbs.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 150 characters long)
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,184 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 26 | 227 | 1,140 |
JavaScript | 1 | 55 | 2 | 44 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 24.00 |
▷ Minimum class complexity | 24.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 6.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.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 | 12 | |
▷ Named functions | 12 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected