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.05MB] [CPU: ▼7.73ms] Passed 4 tests
Analyzing server-side resources used by Best Testimonials Slider
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▼0.01 | 28.40 ▼8.83 |
Dashboard /wp-admin | 3.39 ▲0.04 | 45.82 ▼13.81 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 46.66 ▼0.16 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 83.50 ▼8.10 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 40.23 ▲7.72 |
Testimonials Category /wp-admin/edit-tags.php?taxonomy=testimonials_category&post_type=wps_tc_testimonials | 3.31 | 35.94 |
Testimonials Shortcode /wp-admin/edit.php?post_type=wps_tc_testimonials&page=wps_tc_testimonial_shortcode | 3.28 | 32.90 |
All Testimonials /wp-admin/edit.php?post_type=wps_tc_testimonials | 3.35 | 35.99 |
Testimonials Options /wp-admin/edit.php?post_type=wps_tc_testimonials&page=wps_tc_testimonial_options | 3.29 | 33.94 |
Add New /wp-admin/post-new.php?post_type=wps_tc_testimonials | 3.43 | 49.19 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Best Testimonials Slider
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,842 ▲71 | 14.42 ▲0.06 | 3.01 ▲1.20 | 38.62 ▼2.85 |
Dashboard /wp-admin | 2,234 ▲56 | 5.65 ▼0.08 | 87.14 ▼12.05 | 37.32 ▼4.18 |
Posts /wp-admin/edit.php | 2,136 ▲54 | 2.03 ▲0.06 | 36.68 ▲0.68 | 34.45 ▼3.35 |
Add New Post /wp-admin/post-new.php | 1,558 ▲30 | 23.16 ▲0.21 | 668.30 ▲44.74 | 58.04 ▲5.59 |
Media Library /wp-admin/upload.php | 1,442 ▲39 | 4.19 ▲0.01 | 94.06 ▼5.43 | 40.57 ▼4.40 |
Testimonials Category /wp-admin/edit-tags.php?taxonomy=testimonials_category&post_type=wps_tc_testimonials | 1,316 | 2.12 | 26.17 | 27.02 |
Testimonials Shortcode /wp-admin/edit.php?post_type=wps_tc_testimonials&page=wps_tc_testimonial_shortcode | 823 | 2.02 | 25.02 | 32.62 |
All Testimonials /wp-admin/edit.php?post_type=wps_tc_testimonials | 1,103 | 1.97 | 29.61 | 29.21 |
Testimonials Options /wp-admin/edit.php?post_type=wps_tc_testimonials&page=wps_tc_testimonial_options | 971 | 2.00 | 21.63 | 24.58 |
Add New /wp-admin/post-new.php?post_type=wps_tc_testimonials | 2,351 | 7.72 | 168.19 | 62.97 |
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
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/edit.php?post_type=wps_tc_testimonials&page=wps_tc_testimonial_options
- > Notice in wp-content/plugins/wps-testimonials/templates/testimonial_options.php+80
Undefined variable: id
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
The following issues need your attention
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_meta_box() in wp-content/plugins/wps-testimonials/templates/create-custom-fields.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/wps-testimonials/templates/show-custom-fields.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 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
5 plugin tags: testimonials carousel, responsive testimonials, best testimonials plugin, testimonials, testimonials slide
wps-testimonials/wps-testimonials-carousel.php 85% from 13 tests
"Best Testimonials Slider" version 5.9.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wps-testimonials.php" instead of "wps-testimonials-carousel.php")
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
There were no executable files found in this plugin3,074 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 840 | 55 | 2,113 |
PHP | 8 | 241 | 38 | 485 |
CSS | 3 | 84 | 7 | 476 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 1.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 28 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 28 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin