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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼0.85ms] Passed 4 tests
This is a short check of server-side resources used by WP Responsive Slideshows
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 38.84 ▲2.06 |
Dashboard /wp-admin | 3.46 ▲0.16 | 49.55 ▲4.02 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 39.36 ▼6.35 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 90.21 ▼3.12 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 37.62 ▲4.36 |
All Slideshows /wp-admin/edit.php?post_type=wrs_slideshow | 3.42 | 36.33 |
Add Slideshow /wp-admin/post-new.php?post_type=wrs_slideshow | 3.42 | 41.77 |
Server storage [IO: ▲1.07MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Responsive Slideshows
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,851 ▲80 | 13.27 ▼1.13 | 1.72 ▼0.13 | 44.01 ▲4.14 |
Dashboard /wp-admin | 2,257 ▲65 | 4.86 ▼0.05 | 99.74 ▼9.28 | 40.22 ▼5.36 |
Posts /wp-admin/edit.php | 2,140 ▲51 | 2.04 ▲0.02 | 38.63 ▲1.29 | 38.54 ▲9.93 |
Add New Post /wp-admin/post-new.php | 1,584 ▲56 | 18.72 ▲0.38 | 606.31 ▼16.06 | 49.40 ▲1.82 |
Media Library /wp-admin/upload.php | 1,433 ▲42 | 4.27 ▲0.09 | 94.98 ▼2.59 | 41.05 ▼2.23 |
All Slideshows /wp-admin/edit.php?post_type=wrs_slideshow | 1,109 | 1.92 | 30.63 | 30.97 |
Add Slideshow /wp-admin/post-new.php?post_type=wrs_slideshow | 1,553 | 3.60 | 63.41 | 38.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- 6 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=wrs_slideshow
- > Notice in wp-content/plugins/wp-responsive-slideshows/includes/class-wrs-admin-end.php+589
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Warning
Use of undefined constant WP_PLUGIN_URL - assumed 'WP_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-responsive-slideshows/index.php on line 29
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/wp-responsive-slideshows/index.php:29
- > PHP Warning
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 83% from 29 tests
readme.txt 75% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Contributors: Please add at least on tag
- Donate link: Please fix this invalid URI: ""
- Contributors: The plugin contributors field is missing
- Screenshots: These screenshots require images: #1 (Add New Slideshow Panel.), #2 (Add Slideshow Images Panel.), #3 (Add Slideshow Images By URL Panel.), #4 (Add Slideshow Videos Panel.), #5 (Add Slideshow Settings Panel.), #6 (Add Slideshow Shortcode Button on Posts and Pages WP Editor.), #7 (Add Slideshow Shortcode Panel.)
wp-responsive-slideshows/index.php 92% from 13 tests
The entry point to "WP Responsive Slideshows" version 1.0.0 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("wp-responsive-slideshows.php" instead of "index.php")
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 plugin4,351 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 552 | 897 | 2,561 |
PHP | 3 | 169 | 146 | 783 |
SVG | 1 | 0 | 0 | 504 |
CSS | 2 | 51 | 12 | 438 |
HTML | 4 | 3 | 0 | 65 |
PHP code Passed 2 tests
This is a short overview 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.21 |
Average class complexity | 22.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 54.00 |
Average method complexity | 2.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 1 | 33.33% |
Methods | 35 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 35 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.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
9 PNG files occupy 0.20MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/video_play.png | 4.86KB | 2.74KB | ▼ 43.61% |
screenshot-5.png | 9.46KB | 4.68KB | ▼ 50.56% |
screenshot-1.png | 44.67KB | 16.94KB | ▼ 62.08% |
screenshot-7.png | 46.45KB | 18.00KB | ▼ 61.24% |
screenshot-6.png | 18.74KB | 8.02KB | ▼ 57.19% |