Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.15MB] [CPU: ▼2.37ms] Passed 4 tests
A check of server-side resources used by Ultimate Post Slider Widget
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 40.13 ▼2.15 |
Dashboard /wp-admin | 3.45 ▲0.15 | 52.27 ▼3.58 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 49.26 ▼5.92 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.17 | 101.14 ▲4.25 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 35.97 ▲2.17 |
Server storage [IO: ▲0.24MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_ups_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Ultimate Post Slider Widget
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,837 ▲91 | 13.24 ▼1.40 | 6.73 ▲5.03 | 43.36 ▲3.93 |
Dashboard /wp-admin | 2,210 ▲19 | 4.85 ▼1.05 | 101.62 ▼5.33 | 38.64 ▼5.02 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.06 ▲0.01 | 36.11 ▼6.52 | 34.93 ▼2.14 |
Add New Post /wp-admin/post-new.php | 1,527 ▼1 | 18.81 ▲0.74 | 603.51 ▼13.27 | 52.58 ▲3.30 |
Media Library /wp-admin/upload.php | 1,386 ▼2 | 4.21 ▼0.03 | 95.56 ▼13.10 | 42.91 ▲0.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_ups_widget
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Almost there! Just fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ultimate-post-slider/ultimate-post-slider.php:17
- > PHP Fatal error
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 81% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== ultimate-post-slider ===
) - Screenshots: These screenshots do not have images: #1 (General Options), #2 (Ordering / Display Options), #3 (Sliding Options), #4 (Formatting Options), #5 (Example with TwentyFifteen theme with the default widget options)
- Tags: There are too many tags (15 tag instead of maximum 10)
ultimate-post-slider/ultimate-post-slider.php Passed 13 tests
The entry point to "Ultimate Post Slider Widget" version 2.0.0 is a PHP file that has certain tags in its header comment area
95 characters long description:
A Post Slider Widget built around what you need to do, with lots of functions and more to come.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected2,160 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 6 | 136 | 630 | 1,098 |
PHP | 1 | 89 | 34 | 720 |
CSS | 3 | 45 | 23 | 253 |
Markdown | 1 | 42 | 0 | 89 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 63.00 |
▷ Minimum class complexity | 63.00 |
▷ Maximum class complexity | 63.00 |
Average method complexity | 15.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 54.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 | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.09MB with 0.05MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 52.47KB | 17.83KB | ▼ 66.02% |
screenshot-2.png | 37.47KB | 14.06KB | ▼ 62.48% |
third-party/jquery.bxslider/images/controls.png | 2.74KB | 1.42KB | ▼ 48.29% |