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.11MB] [CPU: ▼4.10ms] Passed 4 tests
Server-side resources used by Responsive Slides
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 36.20 ▼2.49 |
Dashboard /wp-admin | 3.41 ▲0.10 | 44.67 ▼2.19 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 45.25 ▼6.83 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.13 | 88.56 ▼4.90 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 35.81 ▲0.80 |
Add A New Slideshow /wp-admin/post-new.php?post_type=responsive_post | 3.38 | 41.64 |
Responsive Slideshow /wp-admin/edit.php?post_type=responsive_post | 3.37 | 34.83 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Responsive Slides
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,946 ▲200 | 13.62 ▼1.03 | 4.94 ▲3.18 | 40.66 ▼4.02 |
Dashboard /wp-admin | 2,237 ▲49 | 4.86 ▼1.17 | 109.90 ▼0.05 | 38.88 ▲1.03 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 2.15 ▲0.15 | 39.27 ▲3.16 | 34.24 ▼0.08 |
Add New Post /wp-admin/post-new.php | 1,566 ▲47 | 18.16 ▼5.11 | 592.59 ▼93.53 | 45.13 ▼8.71 |
Media Library /wp-admin/upload.php | 1,419 ▲37 | 4.20 ▲0.04 | 93.52 ▼4.74 | 44.30 ▲2.86 |
Add A New Slideshow /wp-admin/post-new.php?post_type=responsive_post | 2,031 | 3.45 | 79.59 | 79.29 |
Responsive Slideshow /wp-admin/edit.php?post_type=responsive_post | 1,089 | 1.93 | 29.90 | 29.51 |
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
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
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
- 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-slides/responsive-slider.php:82
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% 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
Attributes that need to be fixed:
- Screenshots: These screenshots do not have images: #1 (Able to browse through various saved slideshow, and view their shortcode), #2 (Featuring guider, to assist you when you are facing troubles.)
responsive-slides/responsive-slider.php 92% from 13 tests
The main file in "Responsive Slides" v. 2.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("responsive-slides.php" instead of "responsive-slider.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
Good job! No executable or dangerous file extensions detected2,187 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 230 | 288 | 1,472 |
PHP | 1 | 51 | 97 | 393 |
CSS | 3 | 46 | 13 | 322 |
PHP code Passed 2 tests
Analyzing 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.43 |
Average class complexity | 55.00 |
▷ Minimum class complexity | 55.00 |
▷ Maximum class complexity | 55.00 |
Average method complexity | 3.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 20 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 16.67% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
No PNG files were detected