Benchmarks
Plugin footprint 83% 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.78MB] [CPU: ▲1.53ms] Passed 4 tests
This is a short check of server-side resources used by WP Testimonials
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.41 ▲0.94 | 47.83 ▲9.15 |
Dashboard /wp-admin | 4.11 ▲0.81 | 66.72 ▲16.58 |
Posts /wp-admin/edit.php | 4.17 ▲0.81 | 52.44 ▲1.63 |
Add New Post /wp-admin/post-new.php | 6.65 ▲0.77 | 86.36 ▼11.81 |
Media Library /wp-admin/upload.php | 3.97 ▲0.74 | 42.50 ▲7.15 |
Categories /wp-admin/edit-tags.php?taxonomy=wpt-testimonial-category&post_type=wpt-testimonial | 3.97 | 39.98 |
Setup Guide /wp-admin/admin.php?page=testimonial-widgets/tabs/setup-guide.php | 3.95 | 45.76 |
Create Widgets /wp-admin/admin.php?page=testimonial-widgets/tabs/index-widget.php | 3.99 | 37.47 |
hidden Create Widget /wp-admin/admin.php?page=testimonial-widgets/tabs/create-widget.php | 4.32 | 41.66 |
Rate Us /wp-admin/admin.php?page=testimonial-widgets/tabs/rate-us.php | 3.94 | 37.96 |
My Testimonials /wp-admin/edit.php?post_type=wpt-testimonial | 4.03 | 44.65 |
Server storage [IO: ▲1.29MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 113 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_trustindex_testimonials_widgets |
New WordPress options |
---|
wp-testimonials-visited-get-reviews |
wpttst_custom_forms |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Testimonials
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,852 ▲81 | 13.62 ▼0.80 | 5.32 ▲3.44 | 41.69 ▼1.04 |
Dashboard /wp-admin | 2,243 ▲52 | 4.87 ▼0.16 | 100.62 ▼1.20 | 80.23 ▲36.07 |
Posts /wp-admin/edit.php | 2,143 ▲51 | 2.02 ▲0.00 | 34.86 ▼2.45 | 33.29 ▼3.91 |
Add New Post /wp-admin/post-new.php | 1,558 ▲16 | 23.00 ▲4.79 | 696.06 ▲51.30 | 42.13 ▼25.81 |
Media Library /wp-admin/upload.php | 1,437 ▲49 | 4.19 ▼0.05 | 96.64 ▼2.38 | 81.72 ▲32.10 |
Categories /wp-admin/edit-tags.php?taxonomy=wpt-testimonial-category&post_type=wpt-testimonial | 1,413 | 2.27 | 33.72 | 49.03 |
Setup Guide /wp-admin/admin.php?page=testimonial-widgets/tabs/setup-guide.php | 975 | 2.38 | 28.59 | 54.25 |
Create Widgets /wp-admin/admin.php?page=testimonial-widgets/tabs/index-widget.php | 1,031 | 2.13 | 26.32 | 41.38 |
hidden Create Widget /wp-admin/admin.php?page=testimonial-widgets/tabs/create-widget.php | 1,119 | 2.14 | 29.76 | 58.08 |
Rate Us /wp-admin/admin.php?page=testimonial-widgets/tabs/rate-us.php | 3,010 | 2.23 | 42.99 | 57.81 |
My Testimonials /wp-admin/edit.php?post_type=wpt-testimonial | 1,233 | 2.24 | 34.39 | 39.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- > GET request to /wp-admin/admin.php?page=testimonial-widgets/tabs/create-widget.php
- > Notice in wp-content/plugins/testimonial-widgets/testimonials-plugin.class.php+4020
Undefined property: stdClass::$auto_increment
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 6× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/testimonial-widgets/testimonial-widgets.php
- > /wp-content/plugins/testimonial-widgets/tabs/rate-us.php
- > /wp-content/plugins/testimonial-widgets/tabs/setup-guide.php
- > /wp-content/plugins/testimonial-widgets/uninstall.php
- > /wp-content/plugins/testimonial-widgets/tabs/index-widget-header.php
- > /wp-content/plugins/testimonial-widgets/tabs/create-widget-header.php
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/testimonial-widgets/tabs/index-widget.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/testimonial-widgets/post-editor.class.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/testimonial-widgets/tabs/create-widget.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/testimonial-widgets/post-types.php:17
- > 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)
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Screenshots: Add descriptions for screenshots #1, #10, #2, #3, #4, #5, #6, #7, #8, #9 in testimonial-widgets/assets to your readme.txt
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
testimonial-widgets/testimonial-widgets.php Passed 13 tests
The entry point to "WP Testimonials" version 1.4.3 is a PHP file that has certain tags in its header comment area
117 characters long description:
Display your Testimonials on your website fast and easily. 21 widget types, 25 widget styles available. (Free Plugin)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected9,089 lines of code in 35 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 67 | 133 | 6,327 |
CSS | 9 | 111 | 117 | 2,180 |
JavaScript | 6 | 40 | 8 | 518 |
SVG | 7 | 2 | 0 | 64 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 152.50 |
▷ Minimum class complexity | 40.00 |
▷ Maximum class complexity | 265.00 |
Average method complexity | 4.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.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 | 77 | |
▷ Static methods | 30 | 38.96% |
▷ Public methods | 65 | 84.42% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 12 | 15.58% |
Functions | 19 | |
▷ Named functions | 14 | 73.68% |
▷ Anonymous functions | 5 | 26.32% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
static/img/trustindex-sign-logo.png | 3.34KB | 0.59KB | ▼ 82.47% |