Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.23MB] [CPU: ▼2.66ms] Passed 4 tests
A check of server-side resources used by OWL Carousel Slider
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.23 | 38.24 ▼3.91 |
Dashboard /wp-admin | 3.53 ▲0.23 | 48.74 ▼7.41 |
Posts /wp-admin/edit.php | 3.64 ▲0.29 | 52.20 ▼0.77 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.23 | 100.72 ▲1.44 |
Media Library /wp-admin/upload.php | 3.45 ▲0.23 | 48.15 ▲6.89 |
Add New /wp-admin/admin.php?page=wpoc_edit | 3.53 | 46.25 |
/wp-admin/admin.php?page=wpoc_save | 3.42 | 50.50 |
OWL Carousel /wp-admin/admin.php?page=wpoc_sliders | 3.43 | 35.37 |
Server storage [IO: ▲7.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 559 new files
Database: 2 new tables, 8 new options
New tables |
---|
wp_wpoc_sliders |
wp_wpoc_slides |
New WordPress options |
---|
widget_recent-posts |
widget_wpoc_slider_widget |
can_compress_scripts |
wpoc_slider_settings |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for OWL Carousel Slider
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 13.70 ▼0.86 | 1.60 ▼0.38 | 42.40 ▲0.71 |
Dashboard /wp-admin | 2,232 ▲44 | 5.83 ▼0.02 | 96.52 ▼6.36 | 38.35 ▼4.28 |
Posts /wp-admin/edit.php | 2,118 ▲26 | 2.02 ▼0.03 | 40.07 ▼4.77 | 36.52 ▼3.82 |
Add New Post /wp-admin/post-new.php | 1,436 ▼92 | 17.77 ▼5.40 | 904.17 ▲204.73 | 55.04 ▼1.12 |
Media Library /wp-admin/upload.php | 1,414 ▲23 | 4.17 ▼0.07 | 127.54 ▲29.90 | 61.68 ▲19.62 |
Add New /wp-admin/admin.php?page=wpoc_edit | 1,936 | 4.21 | 94.76 | 124.56 |
/wp-admin/admin.php?page=wpoc_save | 772 | 2.03 | 24.83 | 21.96 |
OWL Carousel /wp-admin/admin.php?page=wpoc_sliders | 888 | 1.92 | 25.72 | 29.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The plugin did not uninstall successfully, leaving 2 tables in the database
- wp_wpoc_sliders
- wp_wpoc_slides
- Zombie WordPress options detected upon uninstall: 7 options
- widget_theysaidso_widget
- widget_recent-comments
- widget_wpoc_slider_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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
Almost there! Just fix the following items
- 8× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function wpoc_render_slider() in wp-content/plugins/wp-touch-slider/views/slider-preview.php:3
- > PHP Notice
Undefined variable: sdr_id in wp-content/plugins/wp-touch-slider/views/slider-options.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_admin_url() in wp-content/plugins/wp-touch-slider/views/sliders-view.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-touch-slider/views/slider.php:14
- > PHP Notice
Undefined variable: slides in wp-content/plugins/wp-touch-slider/views/slider-slides.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-touch-slider/views/slider-options.php:5
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/wp-touch-slider/widget.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-touch-slider/views/slider-slides.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Screenshots: These screenshots require images: #1 (slider sample), #2 (options & configurations), #3 (more demos)
wp-touch-slider/wpoc_slider.php 92% from 13 tests
The entry point to "OWL Carousel Slider" version 2.2 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("wp-touch-slider.php" instead of "wpoc_slider.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin111,091 lines of code in 505 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 226 | 6,297 | 4,261 | 50,608 |
CSS | 99 | 514 | 639 | 42,862 |
HTML | 121 | 2,418 | 8 | 12,762 |
PHP | 13 | 230 | 400 | 2,427 |
LESS | 35 | 236 | 359 | 1,100 |
SVG | 2 | 0 | 0 | 943 |
PO File | 1 | 92 | 95 | 201 |
Markdown | 4 | 53 | 0 | 102 |
JSON | 3 | 0 | 0 | 80 |
YAML | 1 | 0 | 0 | 6 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 4.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 1 | 50.00% |
Methods | 8 | |
▷ Static methods | 4 | 50.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 40 | |
▷ Named functions | 40 | 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 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
15 PNG files occupy 0.55MB with 0.18MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/labtop_64.png | 0.37KB | 0.34KB | ▼ 9.42% |
images/upgradenow-button.png | 44.94KB | 13.71KB | ▼ 69.49% |
images/alert_24.png | 1.47KB | 1.51KB | 0.00% |
images/mobile_64.png | 0.45KB | 0.39KB | ▼ 13.12% |
screenshot-2.png | 267.39KB | 86.55KB | ▼ 67.63% |