Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼15.47ms] Passed 4 tests
Analyzing server-side resources used by cSlider
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.35 ▼10.12 |
Dashboard /wp-admin | 3.32 ▲0.01 | 48.09 ▼8.32 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.83 ▼3.71 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 95.59 ▼38.23 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.13 ▼5.21 |
cSlider /wp-admin/options-general.php?page=cslider/cslider.php | 3.18 | 31.02 |
Server storage [IO: ▲0.46MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 13 new files
Database: no new tables, 25 new options
New WordPress options |
---|
randomStart |
controls |
easing |
widget_recent-comments |
pager |
autoHover |
startingSlide |
ticker |
hideControlOnEnd |
db_upgraded |
... |
Browser metrics Passed 4 tests
A check of browser resources used by cSlider
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲58 | 13.20 ▼1.18 | 1.80 ▼0.09 | 41.52 ▼3.08 |
Dashboard /wp-admin | 2,225 ▲22 | 5.83 ▼0.03 | 104.17 ▼2.15 | 41.25 ▼4.21 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 2.00 ▼0.06 | 39.51 ▼10.94 | 35.46 ▼9.30 |
Add New Post /wp-admin/post-new.php | 1,529 ▼16 | 17.50 ▼5.69 | 666.69 ▼13.31 | 50.30 ▲0.86 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.21 ▲0.06 | 97.60 ▼5.02 | 42.05 ▼4.06 |
cSlider /wp-admin/options-general.php?page=cslider/cslider.php | 1,363 | 2.03 | 27.02 | 32.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=cslider/cslider.php
- > Notice in wp-content/plugins/cslider/cslider.php+295
Undefined index: submit
SRP 50% from 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
Please fix the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/cslider/cslider.php:236
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% 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
Please fix the following attributes:
- Screenshots: These screenshots require images: #1 (cSlider default settings panel), #2 (How to use the shortcakes), #3 (What it will look like in the front end)
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
cslider/cslider.php Passed 13 tests
The entry point to "cSlider" version 2.4.2 is a PHP file that has certain tags in its header comment area
38 characters long description:
Add content Slider to posts and pages.
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
There were no executable files found in this plugin7,435 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 1,644 | 1,361 | 6,616 |
PHP | 1 | 27 | 33 | 716 |
PO File | 1 | 44 | 45 | 103 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
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 |
gray_pager.png | 1.34KB | 0.65KB | ▼ 51.68% |
gray_prev.png | 0.83KB | 1.22KB | 0.00% |
gray_next.png | 0.85KB | 1.22KB | 0.00% |