Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.24MB] [CPU: ▼349.49ms] Passed 4 tests
Server-side resources used by WordPress Slider Plugin - WP 1 Slider
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.80 ▲0.28 | 61.67 ▲2.55 |
Dashboard /wp-admin | 3.67 ▲0.27 | 40.28 ▼15.44 |
Posts /wp-admin/edit.php | 3.89 ▲0.25 | 44.12 ▼1.49 |
Add New Post /wp-admin/post-new.php | 7.11 ▲0.14 | 99.29 ▼1,383.13 |
Media Library /wp-admin/upload.php | 3.59 ▲0.30 | 27.82 ▲2.11 |
All WP 1 Sliders /wp-admin/edit.php?post_type=wp1slider | 3.67 | 32.39 |
About The Plugin /wp-admin/edit.php?post_type=wp1slider&page=wp1s-about-page | 3.61 | 39.00 |
Documentation /wp-admin/edit.php?post_type=wp1slider&page=wp1s-documentation-wp | 3.37 | 23.54 |
Add New /wp-admin/post-new.php?post_type=wp1slider | 4.11 | 54.25 |
Server storage [IO: ▲4.68MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 132 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_wp1s_widget |
Browser metrics Passed 4 tests
A check of browser resources used by WordPress Slider Plugin - WP 1 Slider
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,236 ▲482 | 18.52 ▲2.59 | 9.58 ▲3.20 | 2.05 ▼1.26 |
Dashboard /wp-admin | 3,211 ▲353 | 8.40 ▲2.27 | 173.78 ▲35.23 | 50.08 ▼116.59 |
Posts /wp-admin/edit.php | 3,055 ▲361 | 5.48 ▲2.25 | 87.14 ▲11.35 | 47.75 ▼108.35 |
Add New Post /wp-admin/post-new.php | 1,768 ▲49 | 16.87 ▼0.63 | 406.84 ▼57.06 | 117.88 ▼58.28 |
Media Library /wp-admin/upload.php | 1,834 ▲136 | 5.96 ▲0.42 | 130.00 ▼16.86 | 163.88 ▼55.35 |
All WP 1 Sliders /wp-admin/edit.php?post_type=wp1slider | 1,754 | 5.41 | 78.04 | 45.25 |
About The Plugin /wp-admin/edit.php?post_type=wp1slider&page=wp1s-about-page | 1,947 | 12.17 | 250.41 | 122.12 |
Documentation /wp-admin/edit.php?post_type=wp1slider&page=wp1s-documentation-wp | 1,395 | 9.66 | 362.10 | 231.23 |
Add New /wp-admin/post-new.php?post_type=wp1slider | 8,070 | 7.54 | 238.64 | 51.39 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 1 option
- widget_wp1s_widget
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/post-new.php?post_type=wp1slider
- > Notice in wp-content/plugins/wp-1-slider/inc/wp1s-slide-general-settings.php+229
Undefined index: wp1s_show_caption_widget
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=wp1slider
- > Notice in wp-content/plugins/wp-1-slider/inc/wp1s-slide-general-settings.php+462
Trying to access array offset on value of type null
- > GET request to /wp-admin/post-new.php?post_type=wp1slider
- > Notice in wp-content/plugins/wp-1-slider/inc/wp1s-slide-general-settings.php+462
Undefined index: wp1s_show_thumb_widget
SRP 0% 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 take a closer look at the following
- 13× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
- > /wp-content/plugins/wp-1-slider/inc/wp1s-shortcode.php
- > /wp-content/plugins/wp-1-slider/inc/wp1s-form-footer.php
- > /wp-content/plugins/wp-1-slider/inc/wp1s-slide-meta.php
- > /wp-content/plugins/wp-1-slider/inc/wp1s-resizer.php
- > /wp-content/plugins/wp-1-slider/inc/admin/wp1s-about-page.php
- > /wp-content/plugins/wp-1-slider/inc/wp1s-slide-meta-option.php
- > /wp-content/plugins/wp-1-slider/wp-1-slider.php
- > /wp-content/plugins/wp-1-slider/inc/admin/wp1s-stuff-page.php
- > /wp-content/plugins/wp-1-slider/inc/wp1s-upgrade-pro.php
- > /wp-content/plugins/wp-1-slider/inc/wp1s-register-post.php
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/wp-1-slider/inc/wp1s-block/wp1s-block-init.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-1-slider/inc/wp1s-shortcode-popup.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-1-slider/inc/admin/header.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/wp-1-slider/inc/wp1s-inline-style.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please take a look at the following user-side issues
- > GET request to /wp-admin/edit.php?post_type=wp1slider&page=wp1s-documentation-wp
- > Javascript (severe) in unknown
https://accesspressthemes.com/documentation/wp-1-slider/ - Access to script at 'https://embed.tawk.to/60cc2bbb65b7290ac63693ec/1f8eollms' from origin 'https://accesspressthemes.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
- > GET request to /wp-admin/edit.php?post_type=wp1slider&page=wp1s-documentation-wp
- > Network (severe)
https://embed.tawk.to/60cc2bbb65b7290ac63693ec/1f8eollms - Failed to load resource: net::ERR_FAILED
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 13 tag instead of maximum 10
wp-1-slider/wp-1-slider.php Passed 13 tests
The primary PHP file in "WordPress Slider Plugin - WP 1 Slider" version 1.3.0 is used by WordPress to initiate all plugin functionality
116 characters long description:
An ultimate WordPress slider Plugin | Many layout | Many useful features | Many configuration options | Easy to use!
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
Good job! No executable or dangerous file extensions detected4,613 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 90 | 55 | 2,015 |
PHP | 18 | 250 | 147 | 1,975 |
JavaScript | 6 | 42 | 62 | 623 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 38.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 108.00 |
Average method complexity | 4.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 43 | |
▷ Static methods | 1 | 2.33% |
▷ Public methods | 41 | 95.35% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 4.65% |
Functions | 6 | |
▷ Named functions | 5 | 83.33% |
▷ Anonymous functions | 1 | 16.67% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
66 PNG files occupy 1.69MB with 1.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/pager/pager-4-preview.png | 0.95KB | 0.11KB | ▼ 87.93% |
images/pinterest.png | 2.17KB | 1.25KB | ▼ 42.30% |
images/arrow/arrow-type-3.png | 3.23KB | 1.83KB | ▼ 43.52% |
images/theme.png | 52.01KB | 17.38KB | ▼ 66.59% |
images/arrow/thumb-arrow-2.png | 1.14KB | 0.31KB | ▼ 72.85% |