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.04MB] [CPU: ▼8.64ms] Passed 4 tests
A check of server-side resources used by Slick Slider
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 38.02 ▼2.94 |
Dashboard /wp-admin | 3.35 ▲0.01 | 45.97 ▼11.54 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 51.30 ▲3.25 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 86.19 ▼19.19 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 36.59 ▼0.88 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 50 new files
Database: no new tables, 7 new options
New WordPress options |
---|
slick-slider |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Slick Slider
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.23 ▼1.07 | 1.49 ▼0.19 | 44.98 ▲5.76 |
Dashboard /wp-admin | 2,206 ▲18 | 5.87 ▼0.01 | 98.76 ▼8.80 | 40.84 ▲1.08 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.99 ▼0.07 | 41.27 ▲0.35 | 35.21 ▼0.63 |
Add New Post /wp-admin/post-new.php | 1,527 ▲13 | 17.71 ▲0.10 | 662.96 ▼17.89 | 50.72 ▼4.48 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.21 ▼0.04 | 96.05 ▼6.59 | 41.48 ▼3.31 |
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
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
8 plugin tags: slider, lightbox, jquery slider, slick, gallery...
slick-slider/slick-slider.php 92% from 13 tests
"Slick Slider" version 0.5.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Domain Path: The domain path folder was not found ("/languages")
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
No dangerous file extensions were detected4,931 lines of code in 41 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 9 | 922 | 159 | 2,319 |
PHP | 9 | 225 | 410 | 1,358 |
CSS | 8 | 45 | 5 | 393 |
Markdown | 3 | 112 | 0 | 267 |
Sass | 2 | 27 | 5 | 262 |
JSON | 6 | 0 | 0 | 154 |
LESS | 1 | 11 | 5 | 152 |
SVG | 1 | 1 | 0 | 13 |
Ruby | 1 | 2 | 0 | 8 |
make | 1 | 3 | 0 | 5 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 18.57 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 49.00 |
Average method complexity | 3.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 44 | |
▷ Static methods | 44 | 100.00% |
▷ Public methods | 43 | 97.73% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 2.27% |
Functions | 6 | |
▷ Named functions | 1 | 16.67% |
▷ Anonymous functions | 5 | 83.33% |
Constants | 5 | |
▷ Global constants | 5 | 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
There were not PNG files found in your plugin