Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼143.34ms] Passed 4 tests
A check of server-side resources used by Skitter Slideshow
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.95 ▲0.23 | 39.93 ▲20.26 |
Dashboard /wp-admin | 3.18 ▲0.13 | 43.93 ▼9.02 |
Posts /wp-admin/edit.php | 3.23 ▲0.13 | 47.62 ▼0.81 |
Add New Post /wp-admin/post-new.php | 5.54 ▲0.11 | 91.47 ▼566.41 |
Media Library /wp-admin/upload.php | 3.12 ▲0.12 | 34.57 ▲2.87 |
Skitter Slideshow /wp-admin/options-general.php?page=wp_skitter_menu | 3.11 | 36.51 |
Server storage [IO: ▲1.16MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 20 new files
Database: no new tables, 14 new options
New WordPress options |
---|
wp_skitter_type |
wp_skitter_category |
wp_skitter_type_navigation |
wp_skitter_navigation |
wp_skitter_background |
wp_skitter_theme |
wp_skitter_attachments |
wp_skitter_label |
wp_skitter_slides |
wp_skitter_numbers_align |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Skitter Slideshow
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,831 ▲235 | 16.37 ▲0.80 | 17.91 ▲6.44 | 43.87 ▼5.01 |
Dashboard /wp-admin | 2,975 ▲41 | 6.18 ▲0.23 | 184.98 ▲40.26 | 109.23 ▲6.92 |
Posts /wp-admin/edit.php | 2,750 ▲11 | 2.72 ▲0.01 | 67.19 ▼0.49 | 91.33 ▲2.99 |
Add New Post /wp-admin/post-new.php | 1,681 ▼6 | 18.89 ▼0.01 | 398.95 ▼6.06 | 107.56 ▼5.22 |
Media Library /wp-admin/upload.php | 1,818 ▲8 | 5.10 ▲0.05 | 148.97 ▼2.27 | 113.54 ▼5.28 |
Skitter Slideshow /wp-admin/options-general.php?page=wp_skitter_menu | 2,329 | 2.37 | 57.18 | 102.65 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 14 options in the database
- wp_skitter_animation
- wp_skitter_background
- wp_skitter_attachments
- wp_skitter_type
- wp_skitter_navigation
- wp_skitter_auto_play
- wp_skitter_theme
- wp_skitter_numbers_align
- wp_skitter_crop
- wp_skitter_category
- ...
Smoke tests 50% 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)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/wp-skitter-slideshow/wp-skitter-slideshow.php:28
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following user-side errors
- > GET request to /wp-admin/options-general.php?page=wp_skitter_menu
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8.1 1:31592 "jQuery.Deferred exception: jQuery(...).live is not a function" "TypeError: jQuery(...).live is not a function\n at HTMLDocument.\u003Canonymous> (/wp-admin/options-general.php?page=wp_skitter_menu:247:31)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8.1:2:30038)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8.1:2:30340)" undefined
- > GET request to /wp-admin/options-general.php?page=wp_skitter_menu
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8.1 1:31702 Uncaught TypeError: jQuery(...).live is not a function
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Basic configuration), #2 (Adding the plugin in your template), #3 (Setting up the post with the picture for the slider and how to use a different URL of the post), #4 (Choosing the main image of the post to be displayed), #5 (Plugin working)
wp-skitter-slideshow/wp-skitter-slideshow.php Passed 13 tests
The main file in "Skitter Slideshow" v. 2.5.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
54 characters long description:
jQuery Slideshow for Wordpress using Skitter Slideshow
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin3,895 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 707 | 350 | 2,967 |
PHP | 2 | 182 | 107 | 927 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 27.00 |
▷ Minimum class complexity | 27.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 4.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.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 | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 57.14% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 42.86% |
Functions | 14 | |
▷ Named functions | 14 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
8 PNG files occupy 0.34MB with 0.13MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/sprite-minimalist.png | 1.34KB | 1.13KB | ▼ 15.54% |
images/sprite-default.png | 2.60KB | 1.33KB | ▼ 49.02% |
images/sprite-round.png | 3.06KB | 2.25KB | ▼ 26.23% |
images/sprite-clean.png | 3.68KB | 2.25KB | ▼ 38.97% |
screenshot-4.png | 149.15KB | 57.38KB | ▼ 61.53% |