Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.51ms] Passed 4 tests
An overview of server-side resources used by Simple Responsive WP Slider
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 44.09 ▲2.12 |
Dashboard /wp-admin | 3.31 ▲0.00 | 52.48 ▲1.70 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 50.79 ▼9.17 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 96.18 ▲3.50 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.54 ▼4.70 |
Server storage [IO: ▲0.34MB] [DB: ▲0.00MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
Please try to fix the following items
- The plugin illegally modified 1 file (0.00KB) outside of "wp-content/plugins/simple-responsive-wp-slider/" and "wp-content/uploads/"
- (new file) "wp-content/plugins/simple-responsive-wp-slider/assets/icon-256\303\227256.png"
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Simple Responsive WP Slider: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲29 | 14.73 ▲0.32 | 1.84 ▼0.24 | 43.08 ▼3.14 |
Dashboard /wp-admin | 2,206 ▲18 | 5.91 ▲0.00 | 103.65 ▼3.52 | 40.24 ▼3.70 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.01 ▼0.01 | 35.17 ▼5.30 | 34.88 ▼2.14 |
Add New Post /wp-admin/post-new.php | 1,533 ▲14 | 23.11 ▲0.04 | 623.99 ▼67.68 | 60.83 ▲14.72 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.23 ▲0.11 | 103.90 ▼15.71 | 45.50 ▼2.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means 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
Please fix the following items
- 2× 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/simple-responsive-wp-slider/cpt/sws_slider.php:41
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-responsive-wp-slider/simple-wp-slider.php:63
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Screenshots: These screenshots require images: #1 (Add slider page), #2 (Slider shorcodes on page)
simple-responsive-wp-slider/simple-wp-slider.php 77% from 13 tests
"Simple Responsive WP Slider" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 246 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("simple-responsive-wp-slider.php" instead of "simple-wp-slider.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
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
Good job! No executable or dangerous file extensions detected644 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 54 | 5 | 343 |
PHP | 2 | 134 | 141 | 277 |
SVG | 1 | 1 | 0 | 13 |
JavaScript | 2 | 0 | 0 | 11 |
PHP code Passed 2 tests
An short overview of 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.19 |
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 | 11 | |
▷ Named functions | 11 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.27MB with 0.16MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/Screen Shot 2020-12-19 at 6.52.00 PM.png | 93.39KB | 16.96KB | ▼ 81.84% |
assets/Screen Shot 2020-12-19 at 6.52.20 PM.png | 174.68KB | 41.91KB | ▼ 76.01% |
assets/icon-256×256.png | 4.19KB | 3.13KB | ▼ 25.30% |