Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.95MB] [CPU: ▼2.46ms] 75% from 4 tests
Server-side resources used by Slider by Soliloquy - Responsive Image Slider for WordPress
It is recommended to improve the following
- CPU: Try to keep total CPU usage under 500.00ms (currently 529.50ms on /wp-admin/edit.php?post_type=soliloquy&page=soliloquy-lite-addons)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.74 ▲0.28 | 34.55 ▼5.54 |
Dashboard /wp-admin | 4.47 ▲1.17 | 51.06 ▼0.07 |
Posts /wp-admin/edit.php | 4.52 ▲1.17 | 53.54 ▲6.59 |
Add New Post /wp-admin/post-new.php | 7.11 ▲1.22 | 90.89 ▼10.82 |
Media Library /wp-admin/upload.php | 4.40 ▲1.17 | 39.69 ▲8.87 |
Add New /wp-admin/post-new.php?post_type=soliloquy | 4.59 | 368.71 |
About Us /wp-admin/edit.php?post_type=soliloquy&page=soliloquy-lite-about-us | 4.40 | 321.62 |
Settings /wp-admin/edit.php?post_type=soliloquy&page=soliloquy-settings | 4.38 | 38.52 |
Addons /wp-admin/edit.php?post_type=soliloquy&page=soliloquy-lite-addons | 4.41 | 529.50 |
Soliloquy /wp-admin/edit.php?post_type=soliloquy | 4.46 | 41.48 |
Server storage [IO: ▲3.65MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 178 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
soliloquy_upgrade |
can_compress_scripts |
widget_theysaidso_widget |
soliloquy_review |
widget_recent-posts |
db_upgraded |
soliloquy_upgrade_cpts |
Browser metrics Passed 4 tests
A check of browser resources used by Slider by Soliloquy - Responsive Image Slider for WordPress
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,843 ▲81 | 14.23 ▼0.01 | 1.79 ▲0.04 | 40.47 ▼5.06 |
Dashboard /wp-admin | 2,236 ▲59 | 5.66 ▲0.14 | 94.64 ▼3.66 | 66.15 ▲23.27 |
Posts /wp-admin/edit.php | 2,156 ▲53 | 1.99 ▲0.03 | 38.10 ▲0.29 | 34.96 ▼0.53 |
Add New Post /wp-admin/post-new.php | 6,239 ▲4,713 | 26.90 ▲3.62 | 937.87 ▲271.36 | 56.28 ▼1.80 |
Media Library /wp-admin/upload.php | 1,456 ▲53 | 4.16 ▲0.02 | 100.30 ▼6.36 | 71.77 ▲27.77 |
Add New /wp-admin/post-new.php?post_type=soliloquy | 3,221 | 11.44 | 388.64 | 144.27 |
About Us /wp-admin/edit.php?post_type=soliloquy&page=soliloquy-lite-about-us | 2,045 | 1.96 | 40.44 | 56.40 |
Settings /wp-admin/edit.php?post_type=soliloquy&page=soliloquy-settings | 1,142 | 1.91 | 33.42 | 49.02 |
Addons /wp-admin/edit.php?post_type=soliloquy&page=soliloquy-lite-addons | 1,406 | 2.10 | 28.17 | 61.81 |
Soliloquy /wp-admin/edit.php?post_type=soliloquy | 1,378 | 2.33 | 36.43 | 48.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 9 options in the database
- can_compress_scripts
- db_upgraded
- soliloquy_upgrade
- widget_recent-comments
- theysaidso_admin_options
- soliloquy_upgrade_cpts
- widget_theysaidso_widget
- soliloquy_review
- widget_recent-posts
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
Please fix the following items
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'Soliloquy_Lite' not found in wp-content/plugins/soliloquy-lite/includes/admin/partials/notifications.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/soliloquy-lite/includes/admin/partials/footer.php:4
- > PHP Fatal error
Uncaught Error: Class 'Soliloquy_Common_Admin_Lite' not found in wp-content/plugins/soliloquy-lite/includes/admin/partials/metabox-slider-type.php:10
- > PHP Fatal error
Uncaught Error: Class 'Soliloquy_Lite' not found in wp-content/plugins/soliloquy-lite/includes/admin/partials/_header.php:10
- > 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 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Tags: You are using too many tags: 13 tag instead of maximum 10
soliloquy-lite/soliloquy-lite.php 77% from 13 tests
"Slider by Soliloquy - Responsive Image Slider for WordPress" version 2.7.4.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Domain Path: The domain path must begin with a forward slash character ("/languages")
- Domain Path: The domain path should use only dashes and lowercase characters ("languages")
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
There were no executable files found in this plugin16,973 lines of code in 89 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
Sass | 16 | 445 | 22 | 6,175 |
PHP | 22 | 1,652 | 2,921 | 5,561 |
JavaScript | 37 | 1,235 | 1,623 | 5,127 |
CSS | 13 | 25 | 38 | 109 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 40.89 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 176.00 |
Average method complexity | 4.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 18 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 18 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 228 | |
▷ Static methods | 22 | 9.65% |
▷ Public methods | 228 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 3 | 60.00% |
▷ Anonymous functions | 2 | 40.00% |
Constants | 6 | |
▷ Global constants | 5 | 83.33% |
▷ Class constants | 1 | 16.67% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
77 compressed PNG files occupy 0.89MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/about/plugin-pushengage.png | 1.44KB | 1.44KB | 0.07% |
assets/css/images/modify@2x.png | 0.46KB | 0.48KB | 0.00% |
assets/images/about/plugin-charitable.png | 3.25KB | 3.34KB | 0.00% |
assets/css/images/delete.png | 0.22KB | 0.23KB | 0.00% |
assets/css/images/up.png | 0.19KB | 0.28KB | 0.00% |