Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼2.52ms] Passed 4 tests
A check of server-side resources used by WP Cycle Responsive Slider
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 42.57 ▼0.51 |
Dashboard /wp-admin | 3.34 ▲0.03 | 50.26 ▼1.02 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 49.25 ▼1.81 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 90.71 ▼6.75 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.36 ▲3.21 |
WP-Cycle /wp-admin/upload.php?page=wp-cycle | 3.28 | 34.30 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
widget_wp_cycle_widget |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by WP Cycle Responsive Slider
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,886 ▲125 | 13.53 ▼0.83 | 8.89 ▲6.51 | 44.88 ▼2.42 |
Dashboard /wp-admin | 2,202 ▲22 | 5.64 ▲0.07 | 87.30 ▼6.44 | 38.75 ▼5.96 |
Posts /wp-admin/edit.php | 2,117 ▲14 | 2.17 ▲0.18 | 38.57 ▲0.98 | 34.65 ▼1.44 |
Add New Post /wp-admin/post-new.php | 1,537 ▲11 | 23.16 ▲0.16 | 667.16 ▲45.27 | 73.35 ▲16.96 |
Media Library /wp-admin/upload.php | 1,410 ▲13 | 4.11 ▼0.05 | 108.28 ▲2.54 | 42.99 ▼2.63 |
WP-Cycle /wp-admin/upload.php?page=wp-cycle | 1,049 | 1.75 | 27.55 | 35.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- can_compress_scripts
- widget_wp_cycle_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 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
Please fix the following
- 7× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/cycle-responsive-slider/includes/admin-settings.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_mkdir_p() in wp-content/plugins/cycle-responsive-slider/includes/wp_cycle_handle_upload.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/cycle-responsive-slider/cycle-responsive-slider.php:23
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/cycle-responsive-slider/includes/wp_cycle_handle_upload.php on line 10
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/cycle-responsive-slider/includes/wp_cycle_settings_admin.php:9
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/cycle-responsive-slider/includes/wp_cycle_images_admin.php:9
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/cycle-responsive-slider/includes/wp_cycle_widget.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
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
Attributes that require attention:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== cycle-responsive-slider ===
)
cycle-responsive-slider/cycle-responsive-slider.php 92% from 13 tests
This is the main PHP file of "WP Cycle Responsive Slider" version 1.2.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 364 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin503 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 120 | 139 | 496 |
JavaScript | 7 | 0 | 6 | 7 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 17.50 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 2.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 26 | |
▷ Static methods | 2 | 7.69% |
▷ Public methods | 26 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin