Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼2.88ms] Passed 4 tests
This is a short check of server-side resources used by Multi Item Responsive Slider
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 46.10 ▲1.09 |
Dashboard /wp-admin | 3.36 ▲0.05 | 48.92 ▼8.58 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 49.47 ▼0.88 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 88.16 ▼3.16 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 37.04 ▲3.07 |
All Slider /wp-admin/edit.php?post_type=mislider | 3.32 | 41.76 |
Add New /wp-admin/post-new.php?post_type=mislider | 3.43 | 49.75 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Multi Item Responsive Slider
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,908 ▲147 | 13.43 ▼0.89 | 8.21 ▲6.60 | 36.41 ▼4.44 |
Dashboard /wp-admin | 2,229 ▲52 | 5.65 ▼0.01 | 86.88 ▼4.57 | 40.17 ▲2.14 |
Posts /wp-admin/edit.php | 2,131 ▲31 | 1.97 ▼0.05 | 36.11 ▼0.06 | 33.08 ▼2.56 |
Add New Post /wp-admin/post-new.php | 1,552 ▲26 | 23.68 ▲0.19 | 675.97 ▼14.75 | 57.15 ▼5.78 |
Media Library /wp-admin/upload.php | 1,434 ▲37 | 4.17 ▲0.00 | 96.43 ▼15.58 | 42.99 ▼5.33 |
All Slider /wp-admin/edit.php?post_type=mislider | 1,146 | 1.97 | 34.16 | 29.91 |
Add New /wp-admin/post-new.php?post_type=mislider | 2,514 | 7.62 | 188.82 | 69.54 |
Mislider Settings /wp-admin/mioptions.php | 26 | 0.42 | 0.10 | 12.76 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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 fix the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/mislider/mislider.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/mislider/mioptions.php:31
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following browser errors
- > GET request to /wp-admin/mioptions.php
- > Network (severe)
wp-admin/mioptions.php - Failed to load resource: the server responded with a status of 404 (Not Found)
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
Attributes that need to be fixed:
- Plugin Name: Please specify the plugin name on the first line (
=== mislider ===
)
mislider/mislider.php Passed 13 tests
"Multi Item Responsive Slider" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
70 characters long description:
Its jQuery slider specifically designed for displaying multiple images
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin1,122 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 184 | 285 | 763 |
PHP | 2 | 26 | 22 | 207 |
CSS | 1 | 0 | 1 | 152 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
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 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.08MB with 0.04MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 50.58KB | 29.87KB | ▼ 40.95% |
screenshot-2.png | 32.45KB | 17.46KB | ▼ 46.21% |