Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲2.85MB] [CPU: ▼128.27ms] Passed 4 tests
This is a short check of server-side resources used by SlideDeck: Responsive WordPress Slider Plugin
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.62 ▲2.89 | 46.51 ▲22.32 |
Dashboard /wp-admin | 5.95 ▲2.89 | 65.57 ▲14.86 |
Posts /wp-admin/edit.php | 6.00 ▲2.89 | 64.41 ▲18.01 |
Add New Post /wp-admin/post-new.php | 8.24 ▲2.80 | 113.83 ▼562.85 |
Media Library /wp-admin/upload.php | 5.83 ▲2.83 | 55.01 ▲16.89 |
Server storage [IO: ▲6.22MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
Just a few items left to fix
- Illegal file modification found: 1 file (0.00KB) outside of "wp-content/plugins/slidedeck/" and "wp-content/uploads/"
- (new file) wp-content/plugins/slidedeck-lenses/.empty
Filesystem: 562 new files
Database: no new tables, 7 new options
New WordPress options |
---|
slidedeck_license |
slidedeck-setup |
slidedeck2_paid_installed |
widget_slidedeck_widget |
slidedeck2_installed |
slidedeck_version |
slidedeck_cohort |
Browser metrics Passed 4 tests
A check of browser resources used by SlideDeck: Responsive WordPress Slider Plugin
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,003 ▲407 | 17.64 ▲2.25 | 18.54 ▲9.24 | 51.61 ▼1.32 |
Dashboard /wp-admin | 3,033 ▲102 | 5.89 ▼0.07 | 141.11 ▼17.46 | 154.85 ▲31.74 |
Posts /wp-admin/edit.php | 2,806 ▲67 | 2.70 ▼0.12 | 76.26 ▲11.16 | 94.38 ▼0.12 |
Add New Post /wp-admin/post-new.php | 1,656 ▼27 | 18.49 ▼0.30 | 361.85 ▼50.89 | 111.09 ▼3.25 |
Media Library /wp-admin/upload.php | 1,818 ▲8 | 5.04 ▲0.01 | 137.01 ▼20.56 | 144.55 ▲19.53 |
Get Support /wp-admin/slidedeck.php/support | 26 | 0.90 | 0.05 | 9.44 |
Advanced Options /wp-admin/slidedeck.php/options | 26 | 0.90 | 0.08 | 8.36 |
Addons /wp-admin/slidedeck.php/addons | 26 | 0.90 | 0.04 | 10.96 |
Templates /wp-admin/slidedeck.php/templates | 26 | 0.90 | 0.04 | 11.35 |
Manage /wp-admin/slidedeck.php | 26 | 0.90 | 0.05 | 12.18 |
Get More Features /wp-admin/slidedeck.php/upgrades | 26 | 0.90 | 0.14 | 10.86 |
Lenses /wp-admin/slidedeck.php/lenses | 26 | 0.90 | 0.05 | 11.95 |
Sources /wp-admin/slidedeck.php/sources | 26 | 0.90 | 0.07 | 9.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- slidedeck_version
- slidedeck_cohort
- slidedeck-setup
- slidedeck_license
- widget_slidedeck_widget
- slidedeck2_installed
- slidedeck2_paid_installed
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 10× PHP files output text when accessed directly:
- > /wp-content/plugins/slidedeck/views/elements/_editor-styles.php
- > /wp-content/plugins/slidedeck/views/elements/_blog-feed.php
- > /wp-content/plugins/slidedeck/views/elements/_ress-js-footer-part.php
- > /wp-content/plugins/slidedeck/views/help/whats-new.php
- > /wp-content/plugins/slidedeck/slidedeck.php
- > /wp-content/plugins/slidedeck/views/elements/_front-cover.php
- > /wp-content/plugins/slidedeck/views/service-request.php
- > /wp-content/plugins/slidedeck/views/elements/_insert-iframe-table.php
- > /wp-content/plugins/slidedeck/views/elements/_pointers.php
- > /wp-content/plugins/slidedeck/views/_custom-css-block.php
- 214× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/slidedeck/views/getcode-dialog.php:35
- > PHP Notice
Undefined variable: back_title in wp-content/plugins/slidedeck/views/elements/_back-cover.php on line 44
- > PHP Notice
Undefined variable: lens in wp-content/plugins/slidedeck/views/preview-iframe.php on line 82
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-upgrader.php' (include_path='.:/usr/share/php') in wp-content/plugins/slidedeck/classes/slidedeck-lens-upload.php on line 26
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/slidedeck/sources/custom/slides/video/views/show.php on line 5
- > PHP Warning
Use of undefined constant SLIDEDECK_UPDATE_SITE - assumed 'SLIDEDECK_UPDATE_SITE' (this will throw an Error in a future version of PHP) in wp-content/plugins/slidedeck/views/upsells/_upsell-additional-addon-manage.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/slidedeck/lib/flash.php:66
- > PHP Notice
Undefined variable: position in wp-content/plugins/slidedeck/views/preview-iframe.php on line 84
- > PHP Warning
in_array() expects parameter 2 to be array, null given in wp-content/plugins/slidedeck/views/upsells/_upsell-additional-lenses.php on line 24
- > PHP Notice
Trying to get property 'ver' of non-object in wp-content/plugins/slidedeck/views/preview-iframe.php on line 80
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There are user-side issues you should fix
- > GET request to /wp-admin/slidedeck.php/support
- > Network (severe)
wp-admin/slidedeck.php/support - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/slidedeck.php/options
- > Network (severe)
wp-admin/slidedeck.php/options - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/slidedeck.php/addons
- > Network (severe)
wp-admin/slidedeck.php/addons - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/slidedeck.php/templates
- > Network (severe)
wp-admin/slidedeck.php/templates - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/slidedeck.php
- > Network (severe)
wp-admin/slidedeck.php - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/slidedeck.php/upgrades
- > Network (severe)
wp-admin/slidedeck.php/upgrades - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/slidedeck.php/lenses
- > Network (severe)
wp-admin/slidedeck.php/lenses - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/slidedeck.php/sources
- > Network (severe)
wp-admin/slidedeck.php/sources - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
4 plugin tags: slider, wordpress slider, image slider, responsive slider
slidedeck/slidedeck.php 92% from 13 tests
The principal PHP file in "SlideDeck: Responsive WordPress Slider Plugin" v. 5.4.1 is loaded by WordPress automatically on each request
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 184 characters long)
Code Analysis 3% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
It is important to fix the following items
- You should never include executable (binary) or otherwise dangerous files in your plugin
- .xap - Silverlight Application Package in Microsoft Silverlight
- ☣ wp-content/plugins/slidedeck/sources/custom/slides/image/js/Moxie.xap
- ☣ wp-content/plugins/slidedeck/sources/custom/slides/image/js/plupload.silverlight.xap
- .xap - Silverlight Application Package in Microsoft Silverlight
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 113 | 5,150 | 6,358 | 24,411 |
PHP | 102 | 3,923 | 7,526 | 16,123 |
CSS | 27 | 713 | 297 | 9,710 |
HTML | 1 | 53 | 7 | 266 |
JSON | 3 | 0 | 0 | 192 |
Markdown | 2 | 42 | 0 | 48 |
PHP code 50% from 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Please fix the following
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 122)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 67.40 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 662.00 |
Average method complexity | 5.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 122.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 30 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 30 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 488 | |
▷ Static methods | 24 | 4.92% |
▷ Public methods | 457 | 93.65% |
▷ Protected methods | 2 | 0.41% |
▷ Private methods | 29 | 5.94% |
Functions | 56 | |
▷ Named functions | 56 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 53 | |
▷ Global constants | 51 | 96.23% |
▷ Class constants | 2 | 3.77% |
▷ Public constants | 2 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
244 PNG files occupy 1.83MB with 0.74MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
sources/custom/slides/image/thumbnail-small.png | 3.01KB | 1.77KB | ▼ 41.21% |
images/taxonomy-videos.png | 7.26KB | 4.23KB | ▼ 41.72% |
images/jquery-minicolors/rainbow.png | 2.64KB | 1.74KB | ▼ 34.05% |
lenses/tool-kit/images/arrowstyle_7.thumb.png | 3.22KB | 1.81KB | ▼ 43.59% |
sources/custom/slides/video/thumbnail.png | 7.63KB | 4.53KB | ▼ 40.65% |