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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼7.44ms] Passed 4 tests
A check of server-side resources used by Clean Slider for Wordpress
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 43.72 ▲6.43 |
Dashboard /wp-admin | 3.32 ▼0.03 | 42.43 ▼14.45 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 43.83 ▲0.58 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 80.04 ▼16.44 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 32.43 ▲0.57 |
Server storage [IO: ▲0.49MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 20 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_clean_slides_vava |
wp_clean_images_vava |
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Clean Slider for Wordpress
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,907 ▲121 | 13.81 ▼0.55 | 8.09 ▲6.31 | 36.56 ▼4.07 |
Dashboard /wp-admin | 2,207 ▲26 | 5.62 ▼0.04 | 81.51 ▼22.19 | 35.67 ▼4.64 |
Posts /wp-admin/edit.php | 2,112 ▲15 | 1.97 ▼0.01 | 39.86 ▲0.32 | 37.04 ▲1.77 |
Add New Post /wp-admin/post-new.php | 1,538 ▲12 | 23.12 ▼0.16 | 662.12 ▲9.31 | 54.23 ▲0.90 |
Media Library /wp-admin/upload.php | 1,412 ▲15 | 4.21 ▲0.04 | 96.92 ▼0.38 | 41.59 ▼5.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Slides listing), #2 (Editing slider defaults), #3 (Viewing slider images), #4 (Adding new image to slider), #5 (Editing image)
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== clean-slider ===
)
clean-slider/clean_slider_vahid.php 92% from 13 tests
The principal PHP file in "Clean Slider for Wordpress" v. 1.0 is loaded by WordPress automatically on each request
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("clean-slider.php" instead of "clean_slider_vahid.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected4,293 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 383 | 112 | 2,241 |
SVG | 1 | 0 | 1 | 1,181 |
CSS | 1 | 48 | 10 | 657 |
JavaScript | 2 | 64 | 100 | 214 |
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.39 |
Average class complexity | 159.00 |
▷ Minimum class complexity | 159.00 |
▷ Maximum class complexity | 159.00 |
Average method complexity | 4.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.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 | 44 | |
▷ Static methods | 1 | 2.27% |
▷ Public methods | 7 | 15.91% |
▷ Protected methods | 36 | 81.82% |
▷ Private methods | 1 | 2.27% |
Functions | 26 | |
▷ Named functions | 26 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 compressed PNG files occupy 0.02MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-256x256.png | 11.42KB | 10.88KB | ▼ 4.80% |
assets/icon-128x128.png | 5.56KB | 5.31KB | ▼ 4.53% |