Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
- Install procedure had errors
- > Notice in wp-content/plugins/wp-sequence-slider/functions.php+8
Constant SEQUENCE_PLUGIN_URL already defined
Server metrics [RAM: ▼1.90MB] [CPU: ▼64.11ms] Passed 4 tests
A check of server-side resources used by WP Sequence Slider
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.10 ▼1.37 | 5.61 ▼37.36 |
Dashboard /wp-admin | 2.12 ▼1.23 | 5.71 ▼56.06 |
Posts /wp-admin/edit.php | 2.12 ▼1.24 | 6.79 ▼42.67 |
Add New Post /wp-admin/post-new.php | 2.12 ▼3.77 | 4.94 ▼120.36 |
Media Library /wp-admin/upload.php | 2.12 ▼1.11 | 6.36 ▼35.21 |
Add New /wp-admin/post-new.php?post_type=sequence-slider | 2.12 | 6.46 |
All Sliders /wp-admin/edit.php?post_type=sequence-slider | 2.12 | 7.51 |
Slider Category /wp-admin/edit-tags.php?taxonomy=slider-category&post_type=sequence-slider | 2.12 | 6.89 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Sequence Slider
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,934 ▲163 | 14.28 ▼0.10 | 5.95 ▲3.99 | 43.35 ▲0.92 |
Dashboard /wp-admin | 2,252 ▲49 | 4.85 ▼0.02 | 100.56 ▼16.02 | 38.56 ▼2.27 |
Posts /wp-admin/edit.php | 2,131 ▲31 | 2.01 ▼0.04 | 40.86 ▲2.10 | 38.56 ▲1.10 |
Add New Post /wp-admin/post-new.php | 1,578 ▲42 | 23.17 ▲0.09 | 648.85 ▼50.25 | 64.72 ▲0.36 |
Media Library /wp-admin/upload.php | 1,431 ▲31 | 4.27 ▲0.12 | 112.38 ▼5.71 | 48.41 ▼1.19 |
Add New /wp-admin/post-new.php?post_type=sequence-slider | 1,865 | 3.88 | 69.40 | 32.41 |
All Sliders /wp-admin/edit.php?post_type=sequence-slider | 1,109 | 1.95 | 31.70 | 34.06 |
Slider Category /wp-admin/edit-tags.php?taxonomy=slider-category&post_type=sequence-slider | 1,305 | 2.15 | 31.46 | 33.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/wp-sequence-slider/functions.php+8
Constant SEQUENCE_PLUGIN_URL already defined
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- 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
These errors were triggered by the plugin
- 4 occurences, only the last one shown
- > GET request to /wp-admin/edit-tags.php?taxonomy=slider-category&post_type=sequence-slider
- > Notice in wp-content/plugins/wp-sequence-slider/functions.php+8
Constant SEQUENCE_PLUGIN_URL already defined
- > GET request to /wp-admin/post-new.php?post_type=sequence-slider
- > User notice in wp-includes/functions.php+5905
Function map_meta_cap was called incorrectly. When checking for the edit_post capability, you must always check it against a specific post. Please see Debugging in WordPress for more information. (This message was added in version 6.1.0.)
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-sequence-slider/functions.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wp-sequence-slider/sequence-slider.php:13
- > PHP Warning
Use of undefined constant WP_PLUGIN_URL - assumed 'WP_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-sequence-slider/functions.php on line 8
- > PHP Warning
Use of undefined constant SEQUENCE_PLUGIN_DIR - assumed 'SEQUENCE_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-sequence-slider/functions.php on line 9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Tags: Too many tags (18 tag instead of maximum 10); only the first 5 tags are used in your directory listing
wp-sequence-slider/sequence-slider.php 77% from 13 tests
The primary PHP file in "WP Sequence Slider" version 1.0 is used by WordPress to initiate all plugin functionality
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
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wp-sequence-slider.php" instead of "sequence-slider.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 150 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected616 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 37 | 19 | 405 |
PHP | 2 | 54 | 55 | 197 |
JavaScript | 2 | 7 | 19 | 14 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
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 | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/bt-prev.png | 0.74KB | 0.40KB | ▼ 45.92% |
images/bt-next.png | 0.73KB | 0.39KB | ▼ 46.84% |