Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.26MB] [CPU: ▼0.36ms] Passed 4 tests
A check of server-side resources used by Crelly Slider
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 41.20 ▼0.90 |
Dashboard /wp-admin | 3.68 ▲0.37 | 56.19 ▲2.92 |
Posts /wp-admin/edit.php | 3.74 ▲0.38 | 62.32 ▲10.19 |
Add New Post /wp-admin/post-new.php | 6.19 ▲0.29 | 87.59 ▼5.38 |
Media Library /wp-admin/upload.php | 3.53 ▲0.30 | 40.85 ▲1.90 |
Server storage [IO: ▲0.50MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 31 new files
Database: 4 new tables, 7 new options
New tables |
---|
wp_crellyslider_slides |
wp_crellyslider_nonces |
wp_crellyslider_sliders |
wp_crellyslider_elements |
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
cs_version |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Crelly Slider
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,129 ▲368 | 17.12 ▲2.83 | 6.25 ▲4.33 | 37.54 ▼2.92 |
Dashboard /wp-admin | 2,452 ▲272 | 7.46 ▲1.83 | 159.12 ▲64.02 | 45.03 ▲4.78 |
Posts /wp-admin/edit.php | 2,379 ▲276 | 4.97 ▲2.94 | 64.70 ▲22.12 | 30.22 ▼3.59 |
Add New Post /wp-admin/post-new.php | 6,265 ▲4,739 | 19.46 ▼3.89 | 887.81 ▲183.97 | 38.14 ▼16.51 |
Media Library /wp-admin/upload.php | 1,522 ▲122 | 6.30 ▲2.05 | 107.71 ▼11.56 | 43.22 ▼4.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
The SRP test was a success
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 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
7 plugin tags: images, slider, texts, videos, layers...
crelly-slider/crellyslider.php 92% from 13 tests
This is the main PHP file of "Crelly Slider" version 1.4.5, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("crelly-slider.php" instead of "crellyslider.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin7,824 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 357 | 131 | 3,313 |
JavaScript | 5 | 666 | 423 | 3,219 |
CSS | 4 | 199 | 34 | 1,292 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 14.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 46.00 |
Average method complexity | 3.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 38 | |
▷ Static methods | 38 | 100.00% |
▷ Public methods | 37 | 97.37% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 2.63% |
Functions | 22 | |
▷ Named functions | 22 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
8 PNG files occupy 0.10MB with 0.09MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/arrow-left.png | 14.74KB | 0.26KB | ▼ 98.21% |
wordpress/images/logo2.png | 12.31KB | 5.24KB | ▼ 57.46% |
wordpress/images/edit.png | 14.41KB | 0.46KB | ▼ 96.81% |
wordpress/images/plus.png | 14.59KB | 0.49KB | ▼ 96.67% |
wordpress/images/settings.png | 14.79KB | 0.40KB | ▼ 97.27% |