Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
You still need to fix the following installer errors
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/slidedeck-lite-for-wordpress/slidedeck.php+2325
Methods with the same name as their class will not be constructors in a future version of PHP; SlideDeckWidget has a deprecated constructor
Server metrics [RAM: ▼1.32MB] [CPU: ▼56.14ms] Passed 4 tests
Analyzing server-side resources used by SlideDeck 1 Lite Content Slider
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.68 ▼0.78 | 5.53 ▼34.83 |
Dashboard /wp-admin | 2.70 ▼0.65 | 8.32 ▼55.43 |
Posts /wp-admin/edit.php | 2.70 ▼0.66 | 8.22 ▼40.95 |
Add New Post /wp-admin/post-new.php | 2.70 ▼3.19 | 9.12 ▼93.35 |
Media Library /wp-admin/upload.php | 2.70 ▼0.53 | 7.98 ▼23.14 |
Server storage [IO: ▲2.43MB] [DB: ▲0.00MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
Please fix the following
- Illegal file modification detected: 1 file (0.00KB) outside of "wp-content/plugins/slidedeck-lite-for-wordpress/" and "wp-content/uploads/"
- (new file) wp-content/plugins/slidedeck-skins/.empty
Filesystem: 140 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
slidedeck_legacy_import_complete |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_slidedeck_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by SlideDeck 1 Lite Content Slider
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,928 ▲182 | 13.96 ▲0.69 | 4.68 ▲0.26 | 39.34 ▼3.35 |
Dashboard /wp-admin | 2,234 ▲46 | 4.92 ▼0.93 | 114.28 ▲12.47 | 67.39 ▲20.23 |
Posts /wp-admin/edit.php | 2,132 ▲43 | 2.01 ▼0.04 | 37.21 ▼3.18 | 34.06 ▲0.75 |
Add New Post /wp-admin/post-new.php | 6,427 ▲4,894 | 20.82 ▼2.58 | 926.93 ▲261.44 | 79.74 ▲23.52 |
Media Library /wp-admin/upload.php | 1,422 ▲34 | 4.17 ▼0.07 | 92.91 ▼9.15 | 69.06 ▲25.99 |
Learn About Pro /wp-admin/slidedeck.php/upgrade | 26 | 0.44 | 0.12 | 16.88 |
Edit /wp-admin/slidedeck.php | 26 | 0.44 | 0.10 | 5.64 |
Add New /wp-admin/slidedeck.php/slidedeck_add_new | 26 | 0.44 | 0.08 | 6.81 |
Add Smart SlideDeck /wp-admin/slidedeck.php/slidedeck_dynamic | 26 | 0.44 | 0.06 | 6.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/slidedeck-lite-for-wordpress/slidedeck.php+2325
Methods with the same name as their class will not be constructors in a future version of PHP; SlideDeckWidget has a deprecated constructor
- The uninstall procedure has failed, leaving 8 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_slidedeck_widget
- slidedeck_legacy_import_complete
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
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
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/slidedeck-lite-for-wordpress/views/_notification_bar.php
- 29× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/slidedeck-lite-for-wordpress/views/_edit-slide.php on line 37
- > PHP Fatal error
Uncaught Error: Call to undefined function slidedeck_action() in wp-content/plugins/slidedeck-lite-for-wordpress/views/_tinymce-plugin-dialog.php:63
- > PHP Notice
Undefined variable: count in wp-content/plugins/slidedeck-lite-for-wordpress/views/_edit-slide.php on line 55
- > PHP Notice
Undefined variable: count in wp-content/plugins/slidedeck-lite-for-wordpress/views/_edit-slide.php on line 33
- > PHP Fatal error
Uncaught Error: Call to undefined function slidedeck_show_message() in wp-content/plugins/slidedeck-lite-for-wordpress/views/edit-form.php:41
- > PHP Notice
Undefined variable: first_preview in wp-content/plugins/slidedeck-lite-for-wordpress/views/preview.php on line 33
- > PHP Fatal error
Uncaught Error: Call to undefined function slidedeck() in wp-content/plugins/slidedeck-lite-for-wordpress/views/preview.php:35
- > PHP Notice
Undefined variable: count in wp-content/plugins/slidedeck-lite-for-wordpress/views/_edit-slide.php on line 55
- > PHP Notice
Undefined variable: slidedeck_post_meta in wp-content/plugins/slidedeck-lite-for-wordpress/views/sidebar.php on line 36
- > PHP Notice
Undefined variable: count in wp-content/plugins/slidedeck-lite-for-wordpress/views/_edit-slide.php on line 49
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following browser errors
- > GET request to /wp-admin/slidedeck.php/upgrade
- > Network (severe)
wp-admin/slidedeck.php/upgrade - 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/slidedeck_add_new
- > Network (severe)
wp-admin/slidedeck.php/slidedeck_add_new - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/slidedeck.php/slidedeck_dynamic
- > Network (severe)
wp-admin/slidedeck.php/slidedeck_dynamic - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 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
Attributes that need to be fixed:
- Screenshots: These screenshots require images: #1 (The SlideDeck editing view. Create a SlideDeck, add slides, re-order slides and change SlideDeck settings with the sidebar modules.), #2 (Preview your SlideDeck before you insert it into a post or into your theme.), #3 (SlideDeck integrates seamlessly in your post and page editing views. Just click on the `Embed a SlideDeck` button in the WYSIWYG editor and choose a SlideDeck you have created from the list in the dialog box. You can also specify dimensions for how the SlideDeck appears in your post.), #4 (Insert SlideDecks directly into your posts or pages.), #5 (Smart SlideDecks - create a SlideDeck out of your pre-existing posts! Choose the most recent posts on your blog, featured posts, or popular posts (requires at least WordPress 2.9+) and even filter by category.), #6 (Use `Gallery Style` Smart SlideDecks to create interactive elements in your theme or posts.), #7 (A preview of the Smart SlideDeck. Three different navigation layouts available - Post Titles, Post Dates, and Dots.)
- Tags: Please delete some tags, you are using 23 tag instead of maximum 10
slidedeck-lite-for-wordpress/slidedeck.php 85% from 13 tests
The entry point to "SlideDeck 1 Lite Content Slider" version 1.4.8 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("slidedeck-lite-for-wordpress.php" instead of "slidedeck.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 570 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected9,112 lines of code in 55 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 25 | 194 | 538 | 3,857 |
JavaScript | 15 | 447 | 344 | 2,746 |
PHP | 12 | 452 | 975 | 2,195 |
HTML | 1 | 53 | 7 | 266 |
Markdown | 2 | 42 | 0 | 48 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 58 | |
▷ Named functions | 58 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 16 | |
▷ Global constants | 16 | 100.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
64 PNG files occupy 0.27MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
skins/image_caption_top/70percent_transparent_black.png | 2.69KB | 0.17KB | ▼ 93.86% |
lib/tinymce3/img/ui-bg_glass_75_e6e6e6_1x400.png | 0.11KB | 0.14KB | 0.00% |
images/order_desc.png | 0.19KB | 0.17KB | ▼ 9.33% |
images/slidedeck_pro_logo_sidebar.png | 8.46KB | 7.43KB | ▼ 12.15% |
skins/slidedeck-classic/indexes.png | 0.58KB | 0.54KB | ▼ 6.78% |