Benchmarks
Plugin footprint 65% 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: ▼0.12MB] [CPU: ▼18.14ms] Passed 4 tests
This is a short check of server-side resources used by Slippy Slider - Responsive Touch Navigation Slider
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.12 | 41.92 ▼1.86 |
Dashboard /wp-admin | 3.17 ▼0.13 | 30.67 ▼30.80 |
Posts /wp-admin/edit.php | 3.31 ▼0.05 | 36.54 ▼18.07 |
Add New Post /wp-admin/post-new.php | 5.55 ▼0.34 | 71.02 ▼16.07 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 31.09 ▼7.62 |
Server storage [IO: ▲0.45MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 18 new files
Database: 1 new table, 12 new options
New tables |
---|
wp_ssjp |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
ssjp_animation |
ssjp_width_Homepage |
ssjp_category |
ssjp_height_Homepage |
ssjp_height |
ssjp_autoplay |
widget_recent-posts |
db_upgraded |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Slippy Slider - Responsive Touch Navigation Slider
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,930 ▲184 | 14.10 ▼0.28 | 8.66 ▲6.64 | 44.44 ▼3.42 |
Dashboard /wp-admin | 2,224 ▲36 | 5.79 ▲0.94 | 100.08 ▼17.57 | 98.05 ▲53.77 |
Posts /wp-admin/edit.php | 2,101 ▲12 | 2.02 ▼0.03 | 35.15 ▲0.07 | 32.79 ▼2.98 |
Add New Post /wp-admin/post-new.php | 1,527 ▼7 | 23.12 ▲0.07 | 735.32 ▲34.31 | 54.73 ▼3.40 |
Media Library /wp-admin/upload.php | 1,397 ▲6 | 4.13 ▼0.09 | 103.27 ▲1.28 | 67.38 ▲18.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The uninstall procedure failed, leaving 1 table in the database
- wp_ssjp
- This plugin did not uninstall successfully, leaving 12 options in the database
- ssjp_height
- ssjp_animation
- widget_recent-posts
- db_upgraded
- ssjp_category
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- ssjp_height_Homepage
- ssjp_autoplay
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/slippy-slider-responsive-touch-navigation-slider/slippy-slider.php:732
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/slippy-slider-responsive-touch-navigation-slider/slippy-slider.php on line 15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% 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
Attributes that require attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Screenshot displayed on the web site.), #2 (Responsive design), #3 (Admin area of the plugin)
slippy-slider-responsive-touch-navigation-slider/slippy-slider.php 92% from 13 tests
The main PHP file in "Slippy Slider - Responsive Touch Navigation Slider" ver. 2.0 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("slippy-slider-responsive-touch-navigation-slider.php" instead of "slippy-slider.php")
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
No dangerous file extensions were detected1,017 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 139 | 12 | 644 |
JavaScript | 4 | 60 | 10 | 250 |
CSS | 1 | 6 | 0 | 123 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
5 PNG files occupy 0.18MB with 0.12MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 56.05KB | 23.08KB | ▼ 58.82% |
screenshot-2.png | 51.07KB | 18.04KB | ▼ 64.67% |
screenshot-3.png | 72.34KB | 24.25KB | ▼ 66.48% |
images/navigation-20px.png | 1.56KB | 0.79KB | ▼ 49.28% |
(invalid) images/grab.png | 0.10KB | 0.00KB | ▼ 100.00% |