Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.21MB] [CPU: ▲8.67ms] Passed 4 tests
An overview of server-side resources used by Simple Owl Carousel
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.19 | 51.17 ▲9.63 |
Dashboard /wp-admin | 3.57 ▲0.27 | 63.83 ▲15.11 |
Posts /wp-admin/edit.php | 3.61 ▲0.26 | 63.66 ▲14.25 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 94.30 ▼0.84 |
Media Library /wp-admin/upload.php | 3.42 ▲0.19 | 44.79 ▲11.63 |
All Sliders /wp-admin/edit.php?post_type=soc_slider | 3.47 | 47.68 |
Add New /wp-admin/post-new.php?post_type=soc_slider | 3.49 | 50.04 |
Server storage [IO: ▲0.30MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 40 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Simple Owl Carousel
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,088 ▲317 | 15.44 ▲1.02 | 6.29 ▲4.27 | 43.89 ▲0.55 |
Dashboard /wp-admin | 2,378 ▲190 | 6.45 ▲0.57 | 128.90 ▲12.18 | 39.62 ▼9.02 |
Posts /wp-admin/edit.php | 2,291 ▲199 | 3.36 ▲1.39 | 56.50 ▲18.15 | 41.19 ▲6.87 |
Add New Post /wp-admin/post-new.php | 1,547 ▲30 | 23.29 ▲5.63 | 572.79 ▼68.98 | 32.65 ▼30.01 |
Media Library /wp-admin/upload.php | 1,430 ▲42 | 4.19 ▼0.06 | 84.89 ▼13.97 | 44.87 ▲1.74 |
All Sliders /wp-admin/edit.php?post_type=soc_slider | 1,272 | 3.35 | 48.52 | 28.68 |
Add New /wp-admin/post-new.php?post_type=soc_slider | 1,646 | 3.52 | 73.26 | 33.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/simple-owl-carousel/admin/partials/simple-owl-carousel-admin-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
9 plugin tags: fade scroller, owl carousel, owl slider, layered, scroller...
simple-owl-carousel/simple-owl-carousel.php Passed 13 tests
The main file in "Simple Owl Carousel" v. 1.1.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
90 characters long description:
Based on the Owl Carousel, an extremely powerful, robust & responsive customizable plugin.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin2,983 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 6 | 530 | 1,010 | 2,283 |
PHP | 17 | 168 | 720 | 537 |
CSS | 4 | 18 | 40 | 163 |
PHP code Passed 2 tests
An overview 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.19 |
Average class complexity | 3.42 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 1.66 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 44 | |
▷ Static methods | 4 | 9.09% |
▷ Public methods | 39 | 88.64% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 11.36% |
Functions | 4 | |
▷ Named functions | 4 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
5 compressed PNG files occupy 0.00MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/images/close.png | 0.27KB | 0.29KB | 0.00% |
admin/images/soc-icon.png | 1.38KB | 0.82KB | ▼ 40.45% |
public/images/next.png | 1.32KB | 1.58KB | 0.00% |
public/images/prev.png | 1.33KB | 1.59KB | 0.00% |
public/images/grabbing.png | 0.11KB | 0.14KB | 0.00% |