Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼6.61ms] Passed 4 tests
A check of server-side resources used by WP Responsive Recent Post Slider/Carousel
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 38.29 ▼7.20 |
Dashboard /wp-admin | 3.35 ▲0.01 | 46.76 ▼13.89 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 46.35 ▼0.41 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 92.52 ▼4.94 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 38.38 ▲1.46 |
Server storage [IO: ▲0.88MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 72 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
wpos_anylc_site_uid |
theysaidso_admin_options |
wpos_anylc_redirect |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Responsive Recent Post Slider/Carousel
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 1,544 ▼1,203 | 13.38 ▼0.86 | 1.85 ▲0.21 | 18.95 ▼23.68 |
Dashboard /wp-admin | 2,219 ▲41 | 5.56 ▼0.03 | 102.56 ▼10.96 | 52.98 ▲9.07 |
Posts /wp-admin/edit.php | 2,126 ▲26 | 2.03 ▲0.05 | 39.89 ▲1.07 | 35.74 ▲1.27 |
Add New Post /wp-admin/post-new.php | 6,218 ▲4,692 | 19.17 ▼3.91 | 974.52 ▲366.41 | 72.32 ▲18.27 |
Media Library /wp-admin/upload.php | 1,423 ▲23 | 4.32 ▲0.07 | 102.51 ▼0.32 | 42.64 ▼4.47 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 8 options
- theysaidso_admin_options
- wpos_anylc_site_uid
- wpos_anylc_redirect
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Tags: Please delete some tags, you are using 15 tag instead of maximum 10
wp-responsive-recent-post-slider/wp-recent-post-slider.php 85% from 13 tests
The principal PHP file in "WP Responsive Recent Post Slider/Carousel" v. 3.5 is loaded by WordPress automatically on each request
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("wp-responsive-recent-post-slider.php" instead of "wp-recent-post-slider.php")
- Description: Keep the plugin description shorter than 140 characters (currently 189 characters long)
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 plugin4,222 lines of code in 48 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 33 | 679 | 923 | 3,524 |
JavaScript | 7 | 122 | 65 | 397 |
CSS | 6 | 22 | 13 | 299 |
JSON | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
Average class complexity | 17.25 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 87.00 |
Average method complexity | 4.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 2 | 25.00% |
Methods | 41 | |
▷ Static methods | 2 | 4.88% |
▷ Public methods | 37 | 90.24% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 9.76% |
Functions | 40 | |
▷ Named functions | 40 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 18 | |
▷ Global constants | 18 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
20 PNG files occupy 0.48MB with 0.27MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
wpos-analytics/assets/images/wpos-logo.png | 9.04KB | 3.17KB | ▼ 64.91% |
assets/images/popup-icon/slider-carousel.png | 5.07KB | 2.69KB | ▼ 46.98% |
assets/images/popup-icon/centermode.png | 5.72KB | 2.98KB | ▼ 47.84% |
wpos-plugins/assets/images/essentialplugin-logo.png | 7.62KB | 3.82KB | ▼ 49.88% |
assets/images/popup-icon/grid-box.png | 11.39KB | 3.31KB | ▼ 70.95% |