Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼4.55ms] Passed 4 tests
An overview of server-side resources used by Responsive Slider
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 39.24 ▼3.79 |
Dashboard /wp-admin | 3.36 ▲0.05 | 49.59 ▲1.27 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 45.41 ▲1.61 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 86.90 ▼17.29 |
Media Library /wp-admin/upload.php | 3.27 ▲0.05 | 38.00 ▲2.48 |
Add New Slide /wp-admin/post-new.php?post_type=slides | 3.36 | 45.04 |
All Slides /wp-admin/edit.php?post_type=slides | 3.32 | 34.99 |
Settings /wp-admin/edit.php?post_type=slides&page=responsive-slider-settings | 3.22 | 28.17 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
responsive_slider_options |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Responsive Slider
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,920 ▲149 | 13.63 ▼0.69 | 6.10 ▲4.13 | 41.65 ▼5.24 |
Dashboard /wp-admin | 2,240 ▲49 | 4.88 ▼1.01 | 112.20 ▲7.92 | 42.73 ▲1.37 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 2.01 ▼0.02 | 34.18 ▼6.26 | 35.57 ▼3.85 |
Add New Post /wp-admin/post-new.php | 1,540 ▲21 | 17.59 ▼5.60 | 682.74 ▲72.90 | 62.63 ▲18.03 |
Media Library /wp-admin/upload.php | 1,419 ▲28 | 4.24 ▲0.02 | 96.38 ▼7.69 | 39.81 ▼4.48 |
Add New Slide /wp-admin/post-new.php?post_type=slides | 1,710 | 3.52 | 63.40 | 32.56 |
All Slides /wp-admin/edit.php?post_type=slides | 1,119 | 1.94 | 31.28 | 30.66 |
Settings /wp-admin/edit.php?post_type=slides&page=responsive-slider-settings | 898 | 2.03 | 24.68 | 27.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/edit.php?post_type=slides&page=responsive-slider-settings
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/edit.php?post_type=slides&page=responsive-slider-settings
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/responsive-slider/responsive-slider.php:23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Donate link: Invalid URI found ("")
- Tags: Please reduce the number of tags, currently 16 tag instead of maximum 10
responsive-slider/responsive-slider.php Passed 13 tests
Analyzing the main PHP file in "Responsive Slider" version 0.1.9
96 characters long description:
A responsive content slider for integrating into themes, pages and posts via a simple shortcode.
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
Success! There were no dangerous files found in this plugin731 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 136 | 186 | 265 |
PO File | 3 | 100 | 103 | 241 |
CSS | 2 | 11 | 24 | 143 |
HTML | 1 | 10 | 2 | 63 |
JavaScript | 1 | 6 | 14 | 19 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
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 | 30 | |
▷ Named functions | 30 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/slider-nav.png | 1.29KB | 0.90KB | ▼ 30.36% |