Benchmarks
Plugin footprint 75% 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
- The plugin cannot be installed
- > Parse error in wp-content/plugins/recent-post-list/recent_post_list.php+236
syntax error, unexpected end of file
Server metrics [RAM: ▼0.02MB] [CPU: ▼293.75ms] Passed 4 tests
A check of server-side resources used by Recent post list
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.40 | 56.09 ▲38.75 |
Dashboard /wp-admin | 3.41 ▲0.00 | 34.27 ▲0.06 |
Posts /wp-admin/edit.php | 3.64 ▲0.00 | 71.56 ▲2.16 |
Add New Post /wp-admin/post-new.php | 6.88 ▼0.09 | 92.92 ▼1,173.85 |
Media Library /wp-admin/upload.php | 3.29 ▲0.00 | 25.64 ▼3.37 |
Server storage [IO: ▲0.89MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Recent post list: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,781 ▲26 | 15.37 ▼0.65 | 7.11 ▲1.22 | 2.05 ▼0.08 |
Dashboard /wp-admin | 2,881 ▲27 | 6.11 ▼0.08 | 117.84 ▼18.80 | 158.78 ▼6.51 |
Posts /wp-admin/edit.php | 2,685 ▼9 | 3.23 ▲0.01 | 63.93 ▼5.54 | 144.94 ▼0.30 |
Add New Post /wp-admin/post-new.php | 1,661 ▼91 | 15.34 ▼5.56 | 448.80 ▼26.42 | 172.79 ▲15.07 |
Media Library /wp-admin/upload.php | 1,695 ▼3 | 5.57 ▲0.05 | 153.74 ▲1.97 | 201.26 ▲11.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstall script ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however 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
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Parse error
syntax error, unexpected end of file in wp-content/plugins/recent-post-list/recent_post_list.php on line 236
- > PHP Parse error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Contributors: Contributors not specified
- Tags: You are using too many tags: 15 tag instead of maximum 10
recent-post-list/recent_post_list.php 77% from 13 tests
The main PHP script in "Recent post list" version 0.9.8 is automatically included on every request by WordPress
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("recent-post-list.php" instead of "recent_post_list.php")
- Version: Plugin version missing
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 190 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin1,404 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 37 | 50 | 1,186 |
PHP | 1 | 11 | 7 | 218 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
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 | 5 | |
▷ Named functions | 5 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/ui-bg_highlight-soft_100_eeeeee_1x100.png | 0.27KB | 0.14KB | ▼ 47.84% |
css/images/ui-icons_ef8c08_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |