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
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.16ms] Passed 4 tests
This is a short check of server-side resources used by Slick slider all
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 43.47 ▲3.66 |
Dashboard /wp-admin | 3.31 ▲0.01 | 53.99 ▲4.74 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 48.99 ▼10.16 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 86.48 ▼10.02 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 37.92 ▼0.11 |
Slick slider all /wp-admin/options-general.php?page=cs-slick-slider-all | 3.22 | 30.58 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Slick slider all: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,907 ▲146 | 13.74 ▼0.99 | 9.52 ▲7.96 | 43.11 ▼2.04 |
Dashboard /wp-admin | 2,202 ▲25 | 5.62 ▼0.03 | 94.57 ▲8.54 | 44.62 ▲5.23 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 2.03 ▲0.07 | 34.76 ▼9.88 | 36.47 ▼3.71 |
Add New Post /wp-admin/post-new.php | 1,531 ▼4 | 23.11 ▲4.93 | 662.37 ▲12.77 | 49.87 ▼24.90 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.19 ▼0.03 | 109.04 ▲6.21 | 47.07 ▼1.00 |
Slick slider all /wp-admin/options-general.php?page=cs-slick-slider-all | 846 | 1.98 | 21.66 | 28.08 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/slick-slider-all/cs-slick-slider-all-free.php
- > /wp-content/plugins/slick-slider-all/views/admin/dashboard.php
- 6× PHP files trigger errors when accessed directly with GET requests:
- > PHP Notice
Trying to get property 'posts' of non-object in wp-content/plugins/slick-slider-all/views/public/displaying-all.php on line 5
- > PHP Notice
Undefined variable: the_query in wp-content/plugins/slick-slider-all/views/public/displaying-all.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/slick-slider-all/config/constants.php:3
- > PHP Notice
Undefined variable: slider_id in wp-content/plugins/slick-slider-all/views/public/displaying-all.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_reset_postdata() in wp-content/plugins/slick-slider-all/views/public/displaying-all.php:27
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/slick-slider-all/views/public/displaying-all.php on line 5
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% 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: A description for screenshot #1 is missing in slick-slider-all/assets to your readme.txt
- Contributors: The plugin contributors field is not present
slick-slider-all/cs-slick-slider-all-free.php 85% from 13 tests
The principal PHP file in "Slick slider all" v. 1.0 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("slick-slider-all.php" instead of "cs-slick-slider-all-free.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected3,125 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 847 | 45 | 2,120 |
CSS | 3 | 53 | 7 | 365 |
Sass | 2 | 27 | 5 | 262 |
PHP | 6 | 44 | 32 | 205 |
LESS | 1 | 11 | 5 | 152 |
SVG | 1 | 1 | 0 | 13 |
Ruby | 1 | 2 | 0 | 8 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 17.00 |
▷ Minimum class complexity | 17.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.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 | 8 | |
▷ Static methods | 1 | 12.50% |
▷ Public methods | 8 | 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 | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin