Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.19MB] [CPU: ▼154.46ms] Passed 4 tests
This is a short check of server-side resources used by Recent Posts Slider with Widget
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.97 ▲0.13 | 32.64 ▲3.75 |
Dashboard /wp-admin | 3.28 ▲0.21 | 36.08 ▼4.37 |
Posts /wp-admin/edit.php | 3.39 ▲0.28 | 32.96 ▼2.50 |
Add New Post /wp-admin/post-new.php | 5.64 ▲0.20 | 75.62 ▼609.88 |
Media Library /wp-admin/upload.php | 3.22 ▲0.21 | 27.38 ▼1.07 |
Server storage [IO: ▲1.06MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 32 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_rpsw_rpsw |
Browser metrics Passed 4 tests
Checking browser requirements for Recent Posts Slider with Widget
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,690 ▲39 | 15.77 ▼0.28 | 4.98 ▼1.57 | 76.40 ▼4.28 |
Dashboard /wp-admin | 2,951 ▲56 | 6.16 ▼0.01 | 116.10 ▼13.02 | 167.63 ▼3.31 |
Posts /wp-admin/edit.php | 2,758 ▲18 | 3.24 ▲0.00 | 68.03 ▼0.44 | 139.03 ▼23.50 |
Add New Post /wp-admin/post-new.php | 3,755 ▼52 | 18.73 ▲0.07 | 407.37 ▼40.07 | 159.01 ▼6.71 |
Media Library /wp-admin/upload.php | 1,767 ▲12 | 5.54 ▲0.07 | 136.73 ▼4.97 | 182.47 ▲0.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 1 option in the database
- widget_rpsw_rpsw
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 17 tag instead of maximum 10
recent-post-slider-with-widget/recent-post-slider-with-widget.php 92% from 13 tests
This is the main PHP file of "Recent Posts Slider with Widget" version 1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin2,411 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 158 | 227 | 1,394 |
SVG | 2 | 0 | 0 | 725 |
CSS | 4 | 2 | 15 | 192 |
JavaScript | 3 | 0 | 1 | 100 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 15.50 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 4.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.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 | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 25 | |
▷ Named functions | 25 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin