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
Install script ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▲2.19ms] Passed 4 tests
Analyzing server-side resources used by RW Super Slider
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 40.84 ▼1.64 |
Dashboard /wp-admin | 3.36 ▲0.06 | 52.59 ▼1.19 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 67.38 ▲12.73 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.12 | 101.23 ▲7.69 |
Media Library /wp-admin/upload.php | 3.29 ▲0.07 | 42.95 ▲3.89 |
All RW Slide /wp-admin/edit.php?post_type=rw_slider | 3.34 | 42.54 |
New RW Slider /wp-admin/post-new.php?post_type=rw_slider | 3.15 | 37.29 |
Server storage [IO: ▲0.68MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 63 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_rwss_widget |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
RW Super Slider: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,843 ▲82 | 14.21 ▼0.56 | 1.69 ▼0.15 | 48.38 ▲2.37 |
Dashboard /wp-admin | 2,237 ▲62 | 5.64 ▼0.07 | 94.47 ▼20.52 | 45.15 ▲5.33 |
Posts /wp-admin/edit.php | 2,151 ▲48 | 2.00 ▲0.01 | 40.03 ▼3.48 | 30.94 ▼6.27 |
Add New Post /wp-admin/post-new.php | 1,575 ▲49 | 23.05 ▲0.06 | 649.44 ▼86.21 | 56.76 ▲3.37 |
Media Library /wp-admin/upload.php | 1,448 ▲48 | 4.20 ▼0.02 | 132.95 ▲18.84 | 48.99 ▲4.17 |
All RW Slide /wp-admin/edit.php?post_type=rw_slider | 1,118 | 1.95 | 36.84 | 32.67 |
New RW Slider /wp-admin/post-new.php?post_type=rw_slider | 2,293 | 3.86 | 77.60 | 99.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- widget_rwss_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/post-new.php?post_type=rw_slider
- > User notice in wp-includes/functions.php+5905
Function map_meta_cap was called incorrectly. When checking for the edit_post capability, you must always check it against a specific post. Please see Debugging in WordPress for more information. (This message was added in version 6.1.0.)
SRP 0% from 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
Please take a closer look at the following
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/rw-super-slider/assets/jquery.repeater/test-post-parse.php
- > /wp-content/plugins/rw-super-slider/assets/jquery.repeater/test/echo.php
- 7× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/rw-super-slider/admin-editor.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/rw-super-slider/cpt.php:53
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/rw-super-slider/widget.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/rw-super-slider/front.php:289
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/rw-super-slider/rw-super-slider.php:30
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/rw-super-slider/custom-cmb.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function get_intermediate_image_sizes() in wp-content/plugins/rw-super-slider/cmb.php:275
- > 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)
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: slider, post slider, post, responsive, owl...
rw-super-slider/rw-super-slider.php Passed 13 tests
The main PHP script in "RW Super Slider" version 1.0 is automatically included on every request by WordPress
82 characters long description:
RW Super Slider provides owl slider for custom post type as well as custom images.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin15,386 lines of code in 49 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 17 | 2,999 | 3,013 | 12,884 |
PHP | 9 | 127 | 185 | 1,345 |
CSS | 10 | 91 | 77 | 419 |
HTML | 7 | 63 | 5 | 405 |
Markdown | 3 | 67 | 0 | 240 |
JSON | 3 | 0 | 0 | 93 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 38.25 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 64.00 |
Average method complexity | 8.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 63.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 2 | 10.00% |
▷ Public methods | 20 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
7 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon.png | 1.84KB | 1.16KB | ▼ 37.27% |
assets/owl/owl.video.play.png | 4.86KB | 2.74KB | ▼ 43.61% |
images/img-thumb.png | 4.55KB | 0.57KB | ▼ 87.48% |
images/arrow-right.png | 0.34KB | 0.24KB | ▼ 28.41% |
images/arrow-up.png | 0.25KB | 0.17KB | ▼ 33.08% |