Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.83MB] [CPU: ▲5.37ms] Passed 4 tests
A check of server-side resources used by Slideshow Gallery LITE
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.31 ▲0.84 | 44.07 ▼2.38 |
Dashboard /wp-admin | 4.14 ▲0.83 | 57.41 ▲8.39 |
Posts /wp-admin/edit.php | 4.19 ▲0.83 | 60.71 ▲11.00 |
Add New Post /wp-admin/post-new.php | 6.75 ▲0.86 | 96.23 ▲4.46 |
Media Library /wp-admin/upload.php | 4.06 ▲0.82 | 46.01 ▲12.37 |
Manage Slides /wp-admin/admin.php?page=slideshow-slides | 4.23 | 42.43 |
Manage Galleries /wp-admin/admin.php?page=slideshow-galleries | 4.12 | 45.85 |
Upgrade to PRO /wp-admin/admin.php?page=slideshow-lite-upgrade | 3.97 | 41.99 |
Settings /wp-admin/admin.php?page=slideshow-settings | 4.35 | 50.23 |
Server storage [IO: ▲3.73MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 157 new files
Database: 3 new tables, 38 new options
New tables |
---|
wp_gallery_galleriesslides |
wp_gallery_galleries |
wp_gallery_slides |
New WordPress options |
---|
Gallerythumbopacity |
Galleryeasing |
Galleryautospeed |
Gallerythumbactive |
Galleryautoslide |
Galleryslide_direction |
can_compress_scripts |
Galleryinfoheadingcontent |
Galleryinfospeed |
Gallerynavhover |
... |
Browser metrics Passed 4 tests
Slideshow Gallery LITE: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,205 ▲459 | 14.49 ▲0.12 | 7.39 ▲5.08 | 43.06 ▲0.34 |
Dashboard /wp-admin | 2,366 ▲178 | 4.99 ▲0.11 | 110.93 ▲0.85 | 44.88 ▲0.48 |
Posts /wp-admin/edit.php | 2,243 ▲151 | 2.27 ▲0.25 | 39.47 ▲2.50 | 37.48 ▲4.34 |
Add New Post /wp-admin/post-new.php | 1,623 ▲89 | 17.90 ▼5.37 | 665.89 ▲45.15 | 53.00 ▲2.50 |
Media Library /wp-admin/upload.php | 1,542 ▲154 | 4.35 ▲0.14 | 100.66 ▼3.03 | 47.33 ▲2.65 |
Manage Slides /wp-admin/admin.php?page=slideshow-slides | 1,336 | 2.44 | 47.76 | 33.30 |
Manage Galleries /wp-admin/admin.php?page=slideshow-galleries | 1,231 | 2.45 | 38.51 | 31.10 |
Upgrade to PRO /wp-admin/admin.php?page=slideshow-lite-upgrade | 1,291 | 6.70 | 200.83 | 60.73 |
Settings /wp-admin/admin.php?page=slideshow-settings | 4,414 | 4.00 | 119.85 | 94.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie tables detected upon uninstall: 3 tables
- wp_gallery_slides
- wp_gallery_galleries
- wp_gallery_galleriesslides
- This plugin does not fully uninstall, leaving 38 options in the database
- can_compress_scripts
- Gallerythumbwidth
- Gallerystyles
- Galleryimagesthickbox
- Gallerythumbactive
- widget_recent-posts
- Galleryalwaysauto
- Galleryeffect
- Galleryinfoheadingcontent
- widget_theysaidso_widget
- ...
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=slideshow-galleries
- > User deprecated in wp-includes/functions.php+5643
File upgrade-functions.php is deprecated since version 2.5.0! Use wp-admin/includes/upgrade.php instead.
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 items
- 6× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/slideshow-gallery/views/admin/metaboxes/settings-submit.php
- > /wp-content/plugins/slideshow-gallery/views/admin/metaboxes/settings-styles.php
- > /wp-content/plugins/slideshow-gallery/views/admin/metaboxes/settings-general.php
- > /wp-content/plugins/slideshow-gallery/views/admin/slides/save.php
- > /wp-content/plugins/slideshow-gallery/views/admin/metaboxes/settings-tech.php
- > /wp-content/plugins/slideshow-gallery/views/admin/metaboxes/settings-wprelated.php
- 25× 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 __() in wp-content/plugins/slideshow-gallery/views/admin/lite-upgrade.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/slideshow-gallery/includes/messages.php:8
- > PHP Fatal error
Uncaught Error: Class 'GalleryPlugin' not found in wp-content/plugins/slideshow-gallery/models/slideshow.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/slideshow-gallery/views/admin/settings-submitserial.php:2
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/slideshow-gallery/views/admin/about.php on line 14
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/slideshow-gallery/includes/class.slide-list-table.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/slideshow-gallery/vendors/otf_regen_thumbs.php:182
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/slideshow-gallery/views/admin/settings-updates.php:1
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/slideshow-gallery/views/admin/metaboxes/settings-postspages.php:5
- > PHP Notice
Undefined variable: unique in wp-content/plugins/slideshow-gallery/views/default/gallery.php on line 3
- > PHP Fatal error
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)
These are user-side errors you should fix
- > GET request to /wp-admin/admin.php?page=slideshow-lite-upgrade
- > Other (severe) in unknown
chrome-error://chromewebdata/ - Refused to display 'https://developers.google.com/' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
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:
- Tags: You are using too many tags: 12 tag instead of maximum 10
slideshow-gallery/slideshow-gallery.php 92% from 13 tests
Analyzing the main PHP file in "Slideshow Gallery LITE" version 1.7.8
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 494 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected15,088 lines of code in 69 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 55 | 1,533 | 671 | 7,214 |
JavaScript | 7 | 1,192 | 315 | 4,898 |
CSS | 6 | 320 | 278 | 2,321 |
SVG | 1 | 0 | 0 | 655 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 51.05 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 340.00 |
Average method complexity | 5.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 75.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 19 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 19 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 232 | |
▷ Static methods | 5 | 2.16% |
▷ Public methods | 226 | 97.41% |
▷ Protected methods | 2 | 0.86% |
▷ Private methods | 4 | 1.72% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
43 PNG files occupy 0.10MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/jquery-ui/ui-icons_2e83ff_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
images/jquery-ui/ui-icons_222222_256x240.png | 6.76KB | 4.17KB | ▼ 38.24% |
images/changelog-logo.png | 9.96KB | 4.99KB | ▼ 49.88% |
views/default/images/colorbox/ie6/borderTopLeft.png | 0.21KB | 0.20KB | ▼ 4.63% |
js/tinymce/gallery.png | 1.55KB | 0.86KB | ▼ 44.54% |