Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.36MB] [CPU: ▼129.98ms] Passed 4 tests
Server-side resources used by Responsive jQuery Slider
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.11 ▲0.38 | 45.93 ▲22.44 |
Dashboard /wp-admin | 3.42 ▲0.36 | 53.29 ▲8.78 |
Posts /wp-admin/edit.php | 3.52 ▲0.41 | 57.03 ▲17.40 |
Add New Post /wp-admin/post-new.php | 5.78 ▲0.34 | 109.14 ▼557.70 |
Media Library /wp-admin/upload.php | 3.36 ▲0.36 | 47.85 ▲11.60 |
Add New /wp-admin/post-new.php?post_type=responsive-slider | 3.48 | 61.91 |
RJS Settings /wp-admin/themes.php?page=rjs_settings | 3.34 | 43.27 |
Sliders /wp-admin/edit.php?post_type=responsive-slider | 3.39 | 53.26 |
Server storage [IO: ▲1.32MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 40 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Responsive jQuery Slider: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,886 ▲290 | 16.56 ▲0.63 | 16.25 ▲7.21 | 48.06 ▼4.13 |
Dashboard /wp-admin | 3,024 ▲90 | 6.73 ▲0.73 | 144.62 ▼9.35 | 137.41 ▲12.56 |
Posts /wp-admin/edit.php | 2,821 ▲82 | 2.73 ▲0.04 | 69.29 ▲0.88 | 116.57 ▲17.73 |
Add New Post /wp-admin/post-new.php | 1,728 ▲45 | 18.57 ▼0.19 | 420.07 ▲32.38 | 123.35 ▲8.24 |
Media Library /wp-admin/upload.php | 1,889 ▲79 | 5.13 ▲0.12 | 146.15 ▼6.70 | 152.49 ▲25.93 |
Add New /wp-admin/post-new.php?post_type=responsive-slider | 4,853 | 8.35 | 236.24 | 137.83 |
RJS Settings /wp-admin/themes.php?page=rjs_settings | 2,955 | 4.00 | 81.51 | 134.55 |
Sliders /wp-admin/edit.php?post_type=responsive-slider | 1,480 | 2.66 | 63.04 | 83.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/themes.php?page=rjs_settings
- > User deprecated in wp-includes/functions.php+5221
screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/themes.php?page=rjs_settings
- > User deprecated in wp-includes/functions.php+5221
get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/responsive-jquery-slider/custom-post-responsive-jquery-slider.php:37
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/responsive-jquery-slider/responsive-jquery-slider.php:14
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
These are user-side errors you should fix
- > GET request to /wp-admin/post-new.php?post_type=responsive-slider
- > Javascript (severe) in unknown
/wp-includes/js/tinymce/themes/modern/theme.min.js?wp-mce-49110-20201110 0:29282 Uncaught TypeError: Cannot read properties of undefined (reading 'setAttribute')
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: Add images for these screenshots: #1 (Side flap Slider), #2 (List all Sliders), #3 (Add New Slider), #4 (Side flap RJS Settings), #5 (Responsive jQuery Slider - Settings), #6 (Final Result)
responsive-jquery-slider/responsive-jquery-slider.php Passed 13 tests
"Responsive jQuery Slider" version 1.1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
92 characters long description:
Responsive jQuery Slider - jQuery Cycle 2 with Animate.css with some really cool animations.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin3,428 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 133 | 60 | 1,612 |
JavaScript | 4 | 229 | 74 | 1,252 |
PO File | 3 | 459 | 787 | 564 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 15 | |
▷ Named functions | 15 | 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 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
15 PNG files occupy 0.76MB with 0.26MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/shadow.png | 5.53KB | 7.79KB | 0.00% |
screenshot-6.png | 216.02KB | 71.25KB | ▼ 67.01% |
screenshot-5.png | 59.28KB | 19.41KB | ▼ 67.25% |
images/plus.png | 0.14KB | 0.13KB | ▼ 6.29% |
images/icons/linkedin.png | 3.40KB | 2.28KB | ▼ 32.88% |