Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼0.69ms] Passed 4 tests
This is a short check of server-side resources used by Horizontal Widget Most Recent Viewed Posts
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.97 ▼3.57 |
Dashboard /wp-admin | 3.31 ▲0.01 | 46.29 ▼3.93 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 68.01 ▲14.14 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 107.74 ▼9.39 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 58.84 ▲21.69 |
Server storage [IO: ▲0.02MB] [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, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_hwmrvp_recent_posts_with_thumbnails |
Browser metrics Passed 4 tests
An overview of browser requirements for Horizontal Widget Most Recent Viewed Posts
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲56 | 13.41 ▼0.97 | 1.53 ▼0.45 | 43.42 ▲4.73 |
Dashboard /wp-admin | 2,206 ▲17 | 5.86 ▲0.71 | 107.60 ▼11.40 | 41.62 ▼2.26 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.14 ▲0.15 | 43.73 ▼21.47 | 43.24 ▲5.31 |
Add New Post /wp-admin/post-new.php | 1,411 ▼103 | 17.63 ▼0.24 | 803.17 ▲119.93 | 66.12 ▲14.84 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.16 ▼0.05 | 140.54 ▲26.25 | 57.79 ▲9.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_hwmrvp_recent_posts_with_thumbnails
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% 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
Please fix the following attributes:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Configuration of widget.), #2 (Result in the sidebar.)
horizontal-widget-most-recent-viewed-posts/horizontal-widget-most-recent-viewed-posts.php Passed 13 tests
The primary PHP file in "Horizontal Widget Most Recent Viewed Posts" version 0.1.0 is used by WordPress to initiate all plugin functionality
41 characters long description:
A widget to show most recent viewed posts
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected132 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 3 | 19 | 103 |
CSS | 1 | 2 | 9 | 29 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 2.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
no_image.png | 0.77KB | 0.69KB | ▼ 10.47% |