Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼1.13ms] Passed 4 tests
A check of server-side resources used by Ultimate WP Slider
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 41.12 ▲1.71 |
Dashboard /wp-admin | 3.36 ▲0.05 | 42.49 ▼5.44 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 46.12 ▼2.48 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 91.77 ▲1.69 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 35.61 ▲3.24 |
Ultimate WP Slider /wp-admin/admin.php?page=ultimate_wp_slider_admin | 3.28 | 30.94 |
Manage Slides /wp-admin/edit.php?post_type=ultimate-wp-slider | 3.33 | 36.10 |
Add New Slide /wp-admin/post-new.php?post_type=ultimate-wp-slider | 5.98 | 81.45 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Ultimate WP Slider
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,837 ▲102 | 14.47 ▲0.18 | 1.70 ▼0.11 | 42.22 ▼9.38 |
Dashboard /wp-admin | 2,240 ▲52 | 4.86 ▼0.93 | 107.15 ▼11.17 | 43.26 ▼4.67 |
Posts /wp-admin/edit.php | 2,126 ▲37 | 1.99 ▼0.03 | 41.41 ▲2.78 | 34.43 ▲0.32 |
Add New Post /wp-admin/post-new.php | 1,561 ▲47 | 23.11 ▲5.57 | 626.68 ▼54.68 | 58.56 ▲5.67 |
Media Library /wp-admin/upload.php | 1,419 ▲31 | 4.20 ▼0.10 | 98.69 ▼3.25 | 42.93 ▼2.04 |
Ultimate WP Slider /wp-admin/admin.php?page=ultimate_wp_slider_admin | 817 | 2.03 | 23.89 | 27.42 |
Manage Slides /wp-admin/edit.php?post_type=ultimate-wp-slider | 1,122 | 1.94 | 31.40 | 31.47 |
Add New Slide /wp-admin/post-new.php?post_type=ultimate-wp-slider | 6,490 | 22.89 | 816.88 | 33.91 |
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
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/ultimate-wp-slider/views/ultimate-wp-slider_metabox.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/ultimate-wp-slider/views/settings-page.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/ultimate-wp-slider/views/ultimate-wp-slider_shortcode.php:1
- > 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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
2 plugin tags: slider, wp slider
ultimate-wp-slider/ultimate-wp-slider.php 92% from 13 tests
The entry point to "Ultimate WP Slider" version 1.0 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 172 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected937 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 82 | 28 | 498 |
CSS | 3 | 24 | 30 | 345 |
PO File | 1 | 23 | 26 | 65 |
SVG | 1 | 0 | 0 | 19 |
JavaScript | 2 | 0 | 4 | 10 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 7.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 1.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 3 | 11.11% |
▷ Public methods | 27 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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 Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected