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.21MB] [CPU: ▼4.89ms] Passed 4 tests
Server-side resources used by WP Slick Slider
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.21 | 39.37 ▼4.27 |
Dashboard /wp-admin | 3.52 ▲0.21 | 49.54 ▼0.71 |
Posts /wp-admin/edit.php | 3.63 ▲0.28 | 49.79 ▼3.27 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 89.44 ▼11.29 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 41.12 ▲4.11 |
Options /wp-admin/edit.php?post_type=wpss_slides&page=wpss-options | 3.41 | 32.64 |
Slick Slides /wp-admin/edit.php?post_type=wpss_slides | 3.48 | 39.71 |
New Slide /wp-admin/post-new.php?post_type=wpss_slides | 3.56 | 52.36 |
Sliders /wp-admin/edit-tags.php?taxonomy=wpss_sliders&post_type=wpss_slides | 3.43 | 36.14 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 22 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
wpss_options |
widget_recent-comments |
Browser metrics Passed 4 tests
WP Slick 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,958 ▲212 | 13.82 ▼0.36 | 5.93 ▲3.99 | 39.75 ▼2.93 |
Dashboard /wp-admin | 2,243 ▲52 | 4.88 ▼1.02 | 99.86 ▼1.97 | 80.34 ▲34.02 |
Posts /wp-admin/edit.php | 2,123 ▲34 | 1.98 ▼0.01 | 38.19 ▲1.22 | 36.11 ▲2.50 |
Add New Post /wp-admin/post-new.php | 1,552 ▲29 | 23.18 ▲0.12 | 745.44 ▲70.33 | 60.61 ▲6.45 |
Media Library /wp-admin/upload.php | 1,416 ▲31 | 4.27 ▲0.05 | 112.11 ▲14.18 | 76.51 ▲33.84 |
Options /wp-admin/edit.php?post_type=wpss_slides&page=wpss-options | 844 | 2.21 | 24.94 | 27.63 |
Slick Slides /wp-admin/edit.php?post_type=wpss_slides | 1,084 | 1.99 | 29.36 | 31.12 |
New Slide /wp-admin/post-new.php?post_type=wpss_slides | 2,448 | 7.61 | 177.55 | 132.74 |
Sliders /wp-admin/edit-tags.php?taxonomy=wpss_sliders&post_type=wpss_slides | 1,826 | 2.14 | 27.36 | 35.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
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
- 8× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_thumbnail_id() in wp-content/plugins/wp-slick-slider/templates/full-width-image.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-slick-slider/includes/wpss-functions.php:122
- > PHP Fatal error
Uncaught Error: Call to undefined function the_title() in wp-content/plugins/wp-slick-slider/templates/full-width-text.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_thumbnail_id() in wp-content/plugins/wp-slick-slider/templates/right-half-image.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/wp-slick-slider/includes/output.php:254
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/wp-slick-slider/wp-slick-slider.php:53
- > 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-slick-slider/wp-slick-slider.php on line 53
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_thumbnail_id() in wp-content/plugins/wp-slick-slider/templates/left-half-image.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: javascript slider, customisable, cycle, slider, post type
wp-slick-slider/wp-slick-slider.php Passed 13 tests
The main PHP file in "WP Slick Slider" ver. 1.8 adds more information about the plugin and also serves as the entry point for this plugin
127 characters long description:
Utilising the power of custom post types and custom meta boxes, adds a powerful and customisable slider to your wordpress site.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin872 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 394 | 1,397 | 846 |
JavaScript | 3 | 0 | 47 | 26 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 84.67 |
▷ Minimum class complexity | 17.00 |
▷ Maximum class complexity | 208.00 |
Average method complexity | 4.98 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 65.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 63 | |
▷ Static methods | 15 | 23.81% |
▷ Public methods | 33 | 52.38% |
▷ Protected methods | 30 | 47.62% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 52 | |
▷ Global constants | 52 | 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
3 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/wpss_next_arrow.png | 1.18KB | 0.34KB | ▼ 70.86% |
images/icon.png | 1.30KB | 0.58KB | ▼ 55.61% |
images/wpss_prev_arrow.png | 1.20KB | 0.34KB | ▼ 71.32% |