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.12MB] [CPU: ▼290.27ms] Passed 4 tests
A check of server-side resources used by Vertical scroll recent post
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.72 ▲0.21 | 55.19 ▲8.63 |
Dashboard /wp-admin | 3.56 ▲0.15 | 35.15 ▲1.19 |
Posts /wp-admin/edit.php | 3.78 ▲0.14 | 39.32 ▲0.51 |
Add New Post /wp-admin/post-new.php | 7.06 ▲0.06 | 98.80 ▼1,162.32 |
Media Library /wp-admin/upload.php | 3.43 ▲0.14 | 24.65 ▼0.47 |
VSRP Options /wp-admin/options-general.php?page=vertical-scroll-recent-post | 3.40 | 22.98 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 2 new options
New WordPress options |
---|
vsrp_scrollings |
widget_vertical_recent_post_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Vertical scroll recent post
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,905 ▲151 | 16.52 ▲0.77 | 9.45 ▲3.17 | 2.30 ▼0.24 |
Dashboard /wp-admin | 2,897 ▲39 | 5.99 ▼0.16 | 115.86 ▼21.29 | 152.24 ▼13.03 |
Posts /wp-admin/edit.php | 2,693 ▲2 | 3.24 ▲0.00 | 67.21 ▲4.03 | 135.07 ▼3.89 |
Add New Post /wp-admin/post-new.php | 1,664 ▼47 | 16.15 ▼4.74 | 446.79 ▲10.76 | 158.36 ▼3.93 |
Media Library /wp-admin/upload.php | 1,703 ▲5 | 5.44 ▼0.04 | 138.57 ▲3.00 | 186.98 ▲0.57 |
VSRP Options /wp-admin/options-general.php?page=vertical-scroll-recent-post | 1,119 | 2.42 | 55.98 | 129.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options were found after uninstall: 1 option
- widget_vertical_recent_post_widget
Smoke tests 75% 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)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/vertical-scroll-recent-post/class-vertical-scroll-recent-post-widget.php:5
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/vertical-scroll-recent-post/class-vertical-scroll-recent-post-widget.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: post, vertical, scroll, recent
vertical-scroll-recent-post/vertical-scroll-recent-post.php Passed 13 tests
"Vertical scroll recent post" version 13.8's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
125 characters long description:
Vertical Scroll Recent Post plugin scroll the recent post title in the widget, the post scroll from bottom to top vertically.
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
No dangerous file extensions were detected1,087 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 38 | 55 | 697 |
JavaScript | 2 | 11 | 68 | 161 |
PO File | 1 | 65 | 86 | 157 |
CSS | 1 | 12 | 0 | 72 |
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.18 |
Average class complexity | 21.33 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 6.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 43.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 5 | 41.67% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 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 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 |
vsrp_icon.png | 0.26KB | 0.19KB | ▼ 26.14% |