Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.67MB] [CPU: ▼289.60ms] Passed 4 tests
Server-side resources used by Cyclone Slider
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.21 ▲0.69 | 64.78 ▲13.59 |
Dashboard /wp-admin | 4.11 ▲0.70 | 57.64 ▲22.50 |
Posts /wp-admin/edit.php | 4.34 ▲0.69 | 46.86 ▲5.36 |
Add New Post /wp-admin/post-new.php | 7.58 ▲0.61 | 100.78 ▼1,199.84 |
Media Library /wp-admin/upload.php | 4.00 ▲0.70 | 46.51 ▲23.18 |
Cyclone Slider /wp-admin/edit.php?post_type=cycloneslider | 4.04 | 35.36 |
Settings /wp-admin/edit.php?post_type=cycloneslider&page=cycloneslider-settings | 4.06 | 34.13 |
Import /wp-admin/admin.php?page=cycloneslider-import | 3.97 | 30.69 |
Add Slideshow /wp-admin/post-new.php?post_type=cycloneslider | 4.38 | 57.13 |
Export/Import /wp-admin/edit.php?post_type=cycloneslider&page=cycloneslider-export | 4.02 | 35.57 |
Server storage [IO: ▲1.40MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 217 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_cyclone-slider-widget |
Browser metrics Passed 4 tests
Checking browser requirements for Cyclone Slider
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,979 ▲225 | 16.88 ▲1.51 | 12.63 ▲6.23 | 2.09 ▼0.83 |
Dashboard /wp-admin | 2,944 ▲86 | 6.18 ▲0.00 | 118.31 ▼16.75 | 158.70 ▼4.77 |
Posts /wp-admin/edit.php | 2,743 ▲52 | 3.24 ▲0.01 | 99.32 ▲34.27 | 142.66 ▼8.82 |
Add New Post /wp-admin/post-new.php | 1,693 ▲27 | 15.95 ▼5.43 | 427.72 ▼8.57 | 162.55 ▼37.95 |
Media Library /wp-admin/upload.php | 1,745 ▲47 | 5.51 ▼0.04 | 147.29 ▲3.49 | 197.11 ▼46.51 |
Cyclone Slider /wp-admin/edit.php?post_type=cycloneslider | 1,439 | 3.17 | 97.12 | 136.89 |
Settings /wp-admin/edit.php?post_type=cycloneslider&page=cycloneslider-settings | 1,729 | 4.88 | 74.67 | 200.31 |
Import /wp-admin/admin.php?page=cycloneslider-import | 1,086 | 2.42 | 54.31 | 161.36 |
Add Slideshow /wp-admin/post-new.php?post_type=cycloneslider | 4,593 | 6.11 | 107.17 | 249.21 |
Export/Import /wp-admin/edit.php?post_type=cycloneslider&page=cycloneslider-export | 1,430 | 5.04 | 109.47 | 136.56 |
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 did not uninstall successfully, leaving 1 option in the database
- widget_cyclone-slider-widget
Smoke tests 50% from 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 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 30× GET requests to PHP files return non-empty strings (only 10 are shown):
- > /wp-content/plugins/cyclone-slider/src/legacy/templates/thumbnails/slider.php
- > /wp-content/plugins/cyclone-slider/views/slides-skeleton.php
- > /wp-content/plugins/cyclone-slider/views/import-step-3.php
- > /wp-content/plugins/cyclone-slider/templates/default/slider.php
- > /wp-content/plugins/cyclone-slider/src/legacy/templates/myrtle/slider.php
- > /wp-content/plugins/cyclone-slider/views/export-step-1.php
- > /wp-content/plugins/cyclone-slider/views/export-import-tabs.php
- > /wp-content/plugins/cyclone-slider/src/legacy/templates/blue/slider.php
- > /wp-content/plugins/cyclone-slider/src/legacy/templates/black/slider.php
- > /wp-content/plugins/cyclone-slider/views/export-nextgen-step-1.php
- 168× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: slider_settings in wp-content/plugins/cyclone-slider/src/legacy/templates/default/slider.php on line 35
- > PHP Notice
Undefined variable: slider_id in wp-content/plugins/cyclone-slider/src/legacy/templates/responsive/slider.php on line 2
- > PHP Notice
Undefined variable: image_url in wp-content/plugins/cyclone-slider/views/slide-edit-image.php on line 5
- > PHP Notice
Undefined variable: slider_settings in wp-content/plugins/cyclone-slider/src/legacy/templates/thumbnails/slider.php on line 42
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/cyclone-slider/src/legacy/templates/myrtle/slider.php on line 35
- > PHP Notice
Undefined variable: slider_id in wp-content/plugins/cyclone-slider/src/legacy/templates/default/slider.php on line 2
- > PHP Notice
Undefined variable: slider_id in wp-content/plugins/cyclone-slider/src/legacy/templates/thumbnails/slider.php on line 2
- > PHP Fatal error
Uncaught Error: Interface 'CycloneSlider\\Grafika\\FilterInterface' not found in wp-content/plugins/cyclone-slider/src/CycloneSlider/Grafika/Imagick/Filter/Pixelate.php:11
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/cyclone-slider/src/legacy/templates/myrtle/slider.php on line 31
- > PHP Fatal error
Uncaught Error: Class 'CycloneSlider\\Grafika\\Grafika' not found in wp-content/plugins/cyclone-slider/src/code-5.3.php:4
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% 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:
- Tags: You are using too many tags: 11 tag instead of maximum 10
cyclone-slider/cyclone-slider.php 92% from 13 tests
This is the main PHP file of "Cyclone Slider" version 3.2.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected21,779 lines of code in 174 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 128 | 2,298 | 3,694 | 10,841 |
PO File | 9 | 2,215 | 3,364 | 5,187 |
JavaScript | 19 | 893 | 1,168 | 3,240 |
CSS | 14 | 142 | 70 | 2,486 |
JSON | 3 | 0 | 0 | 24 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 14.49 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 110.00 |
Average method complexity | 3.26 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 44.00 |
Code structure | ||
---|---|---|
Namespaces | 11 | |
Interfaces | 5 | |
Traits | 0 | |
Classes | 82 | |
▷ Abstract classes | 8 | 9.76% |
▷ Concrete classes | 74 | 90.24% |
▷ Final classes | 6 | 8.11% |
Methods | 561 | |
▷ Static methods | 20 | 3.57% |
▷ Public methods | 475 | 84.67% |
▷ Protected methods | 23 | 4.10% |
▷ Private methods | 63 | 11.23% |
Functions | 35 | |
▷ Named functions | 35 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 13 | |
▷ Global constants | 3 | 23.08% |
▷ Class constants | 10 | 76.92% |
▷ Public constants | 10 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
26 PNG files occupy 0.04MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
src/legacy/templates/responsive/images/bg-caption.png | 1.11KB | 0.10KB | ▼ 90.80% |
templates/thumbnails/images/sprite-nav.png | 1.23KB | 0.56KB | ▼ 54.27% |
images/screenshot.png | 4.58KB | 2.20KB | ▼ 51.98% |
src/legacy/templates/thumbnails/images/sprite-arrows.png | 1.76KB | 0.64KB | ▼ 63.52% |
src/legacy/templates/default/images/bg-caption.png | 1.11KB | 0.10KB | ▼ 90.80% |