Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.42MB] [CPU: ▼1.12ms] 75% from 4 tests
A check of server-side resources used by OWL Carousel - WordPress Owl Carousel Slider
Please have a look at the following items
- CPU: You should keep total CPU usage under 500.00ms (currently 4,424.15ms on /wp-admin/edit.php?post_type=lgxcarousel&page=lgxcarouselsettings)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.80 ▲0.34 | 42.19 ▲0.97 |
Dashboard /wp-admin | 3.81 ▲0.50 | 53.24 ▼0.41 |
Posts /wp-admin/edit.php | 3.86 ▲0.50 | 58.89 ▲9.95 |
Add New Post /wp-admin/post-new.php | 6.32 ▲0.43 | 88.43 ▼13.16 |
Media Library /wp-admin/upload.php | 3.65 ▲0.41 | 44.57 ▲8.11 |
Categories /wp-admin/edit-tags.php?taxonomy=lgxcarouselcat&post_type=lgxcarousel | 3.67 | 42.60 |
Carousel Settings /wp-admin/edit.php?post_type=lgxcarousel&page=lgxcarouselsettings | 5.16 | 4,424.15 |
All Items /wp-admin/edit.php?post_type=lgxcarousel | 3.78 | 48.19 |
Add New /wp-admin/post-new.php?post_type=lgxcarousel | 3.83 | 52.34 |
Server storage [IO: ▲0.36MB] [DB: ▲0.17MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 45 new files
Database: no new tables, 11 new options
New WordPress options |
---|
widget_recent-comments |
lgxowl_config |
widget_lgx_owl_widget |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
lgxowl_responsive |
theysaidso_admin_options |
lgxowl_basic |
widget_recent-posts |
... |
Browser metrics Passed 4 tests
Checking browser requirements for OWL Carousel - WordPress Owl Carousel Slider
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,092 ▲321 | 15.80 ▲1.59 | 5.78 ▲3.77 | 39.26 ▼4.85 |
Dashboard /wp-admin | 2,386 ▲195 | 6.67 ▲0.79 | 124.51 ▲17.45 | 97.88 ▲54.08 |
Posts /wp-admin/edit.php | 2,310 ▲218 | 3.53 ▲1.52 | 56.19 ▲18.19 | 79.38 ▲48.32 |
Add New Post /wp-admin/post-new.php | 1,721 ▲207 | 22.62 ▲5.14 | 626.15 ▲5.52 | 31.21 ▼18.03 |
Media Library /wp-admin/upload.php | 1,440 ▲58 | 4.36 ▲0.11 | 97.46 ▼14.93 | 86.42 ▲41.35 |
Categories /wp-admin/edit-tags.php?taxonomy=lgxcarouselcat&post_type=lgxcarousel | 1,477 | 3.30 | 44.41 | 73.56 |
Carousel Settings /wp-admin/edit.php?post_type=lgxcarousel&page=lgxcarouselsettings | 2,155 | 3.75 | 70.66 | 72.68 |
All Items /wp-admin/edit.php?post_type=lgxcarousel | 1,294 | 3.50 | 46.92 | 62.80 |
Add New /wp-admin/post-new.php?post_type=lgxcarousel | 2,364 | 7.87 | 171.28 | 122.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.17MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin does not fully uninstall, leaving 11 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- widget_lgx_owl_widget
- lgxowl_basic
- widget_recent-comments
- lgxowl_config
- lgxowl_style
- lgxowl_responsive
- theysaidso_admin_options
- ...
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)
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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
Please fix the following
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/lgx-owl-carousel/public/partials/lgx-owl-carousel-public-display.php
- > /wp-content/plugins/lgx-owl-carousel/admin/partials/lgx-owl-carousel-admin-display.php
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/lgx-owl-carousel/widgets/lgx-owl-carousel-widget.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% 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: Too many tags (19 tag instead of maximum 10); only the first 5 tags are used in your directory listing
lgx-owl-carousel/lgx-owl-carousel.php Passed 13 tests
The main PHP file in "OWL Carousel - WordPress Owl Carousel Slider" ver. 1.4.0 adds more information about the plugin and also serves as the entry point for this plugin
100 characters long description:
This is a Owl Carousel 2.0 based plugin for wordpress, a responsive and fully customizable carousel.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin6,863 lines of code in 35 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 6 | 536 | 50 | 3,162 |
JavaScript | 5 | 482 | 949 | 1,851 |
PHP | 16 | 552 | 847 | 1,428 |
LESS | 8 | 120 | 26 | 422 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 15.11 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 60.00 |
Average method complexity | 2.66 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 41.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 69 | |
▷ Static methods | 3 | 4.35% |
▷ Public methods | 64 | 92.75% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 7.25% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.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
4 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/assets/img/arrow-left.png | 1.40KB | 0.75KB | ▼ 46.65% |
public/assets/lib/owl.carousel2/owl.video.play.png | 4.86KB | 2.74KB | ▼ 43.61% |
admin/assets/img/owl-logo.png | 0.79KB | 0.84KB | 0.00% |
public/assets/img/arrow-right.png | 1.37KB | 0.75KB | ▼ 45.42% |