Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.59MB] [CPU: ▲2.43ms] Passed 4 tests
An overview of server-side resources used by Strong Testimonials
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.83 ▲0.36 | 40.73 ▼0.31 |
Dashboard /wp-admin | 4.02 ▲0.67 | 56.66 ▼5.80 |
Posts /wp-admin/edit.php | 4.07 ▲0.71 | 57.42 ▲8.99 |
Add New Post /wp-admin/post-new.php | 6.56 ▲0.68 | 103.56 ▲6.85 |
Media Library /wp-admin/upload.php | 3.87 ▲0.65 | 42.84 ▲9.10 |
Views /wp-admin/edit.php?post_type=wpm-testimonial&page=testimonial-views | 3.85 | 39.77 |
Settings /wp-admin/edit.php?post_type=wpm-testimonial&page=testimonial-settings | 3.94 | 44.49 |
Add New /wp-admin/post-new.php?post_type=wpm-testimonial | 4.12 | 61.03 |
Logs /wp-admin/edit.php?post_type=wpm-testimonial&page=strong-testimonials-logs | 3.82 | 40.63 |
Shortcodes /wp-admin/edit.php?post_type=wpm-testimonial&page=testimonial-shortcodes | 3.84 | 43.04 |
All Testimonials /wp-admin/edit.php?post_type=wpm-testimonial | 3.94 | 48.27 |
Extensions /wp-admin/edit.php?post_type=wpm-testimonial&page=strong-testimonials-addons | 3.88 | 114.14 |
Welcome to Strong Testimonials /wp-admin/index.php?page=wpmtst-getting-started | 3.90 | 38.39 |
Form /wp-admin/edit.php?post_type=wpm-testimonial&page=testimonial-fields | 3.95 | 45.25 |
Categories /wp-admin/edit-tags.php?taxonomy=wpm-testimonial-category&post_type=wpm-testimonial | 4.02 | 46.69 |
Server storage [IO: ▲5.14MB] [DB: ▲0.06MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 597 new files
Database: 1 new table, 16 new options
New tables |
---|
wp_strong_views |
New WordPress options |
---|
wpmtst_history |
can_compress_scripts |
wpmtst_options |
wpmtst_compat_options |
wpmtst_update_log |
theysaidso_admin_options |
wpmtst_custom_forms |
wpmtst_form_options |
widget_recent-posts |
widget_theysaidso_widget |
... |
Browser metrics Passed 4 tests
Strong Testimonials: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,897 ▲135 | 14.33 ▼0.27 | 1.65 ▼0.04 | 36.37 ▼6.91 |
Dashboard /wp-admin | 2,299 ▲118 | 5.67 ▼0.05 | 94.75 ▼12.41 | 40.72 ▼4.00 |
Posts /wp-admin/edit.php | 2,207 ▲107 | 2.01 ▲0.05 | 43.88 ▲4.64 | 35.54 ▼1.58 |
Add New Post /wp-admin/post-new.php | 6,442 ▲4,916 | 29.12 ▲5.59 | 907.34 ▲226.60 | 36.34 ▼20.31 |
Media Library /wp-admin/upload.php | 1,507 ▲107 | 4.28 ▲0.13 | 101.06 ▲3.20 | 41.91 ▼0.57 |
Views /wp-admin/edit.php?post_type=wpm-testimonial&page=testimonial-views | 1,118 | 2.15 | 45.32 | 36.72 |
Settings /wp-admin/edit.php?post_type=wpm-testimonial&page=testimonial-settings | 1,462 | 2.18 | 30.72 | 57.37 |
Add New /wp-admin/post-new.php?post_type=wpm-testimonial | 3,134 | 7.87 | 210.42 | 145.16 |
Logs /wp-admin/edit.php?post_type=wpm-testimonial&page=strong-testimonials-logs | 916 | 2.03 | 27.38 | 24.74 |
Shortcodes /wp-admin/edit.php?post_type=wpm-testimonial&page=testimonial-shortcodes | 1,847 | 2.05 | 29.76 | 45.04 |
All Testimonials /wp-admin/edit.php?post_type=wpm-testimonial | 1,144 | 2.52 | 40.43 | 42.47 |
Extensions /wp-admin/edit.php?post_type=wpm-testimonial&page=strong-testimonials-addons | 1,116 | 2.17 | 30.65 | 30.19 |
Welcome to Strong Testimonials /wp-admin/index.php?page=wpmtst-getting-started | 1,207 | 2.03 | 31.23 | 34.96 |
Form /wp-admin/edit.php?post_type=wpm-testimonial&page=testimonial-fields | 2,726 | 2.62 | 57.88 | 40.96 |
Categories /wp-admin/edit-tags.php?taxonomy=wpm-testimonial-category&post_type=wpm-testimonial | 1,361 | 2.20 | 35.91 | 31.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.06MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_strong_views
- This plugin did not uninstall successfully, leaving 16 options in the database
- can_compress_scripts
- wpmtst_plugin_version
- widget_recent-comments
- wpmtst_options
- widget_theysaidso_widget
- wpmtst_update_log
- wpmtst_custom_forms
- db_upgraded
- strong-testimonials-rate-time
- wpmtst_history
- ...
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- > GET request to /wp-admin/edit.php?post_type=wpm-testimonial&page=strong-testimonials-logs
- > Warning in wp-content/plugins/strong-testimonials/includes/logs/class-strong-testimonials-logger.php+119
scandir(wp-content/uploads/st-logs/): failed to open dir: No such file or directory
- > GET request to /wp-admin/edit.php?post_type=wpm-testimonial&page=strong-testimonials-logs
- > Warning in wp-content/plugins/strong-testimonials/includes/logs/class-strong-testimonials-logger.php+119
scandir(): (errno 2): No such file or directory
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 80× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/strong-testimonials/includes/functions-image.php:78
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/strong-testimonials/includes/widget2.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/strong-testimonials/admin/class-strong-testimonials-review.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/strong-testimonials/admin/settings/class-strong-testimonials-settings-form.php:29
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/strong-testimonials/includes/class-strong-gutemberg.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/strong-testimonials/admin/settings/partials/general.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/strong-testimonials/includes/l10n-wpml.php:34
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/strong-testimonials/admin/uninstall/class-strong-testimonials-uninstall.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/strong-testimonials/templates/unstyled/content.php:10
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/strong-testimonials/admin/class-strong-testimonials-onboarding.php on line 3
- > 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 Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
4 plugin tags: testimonials, star ratings, testimonial form, testimonial slider
strong-testimonials/strong-testimonials.php Passed 13 tests
"Strong Testimonials" version 3.1.11's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
49 characters long description:
Collect and display your testimonials or reviews.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected61,712 lines of code in 539 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 114 | 4,165 | 7,411 | 19,032 |
CSS | 86 | 1,168 | 932 | 14,580 |
PO File | 8 | 6,948 | 13,792 | 11,927 |
JavaScript | 175 | 2,088 | 3,394 | 11,500 |
Sass | 94 | 782 | 23 | 4,118 |
SVG | 51 | 0 | 8 | 305 |
JSON | 9 | 0 | 0 | 192 |
XML | 1 | 0 | 0 | 51 |
Markdown | 1 | 5 | 0 | 7 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 26.89 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 149.00 |
Average method complexity | 3.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 51.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 62 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 62 | 100.00% |
▷ Final classes | 2 | 3.23% |
Methods | 718 | |
▷ Static methods | 181 | 25.21% |
▷ Public methods | 636 | 88.58% |
▷ Protected methods | 23 | 3.20% |
▷ Private methods | 59 | 8.22% |
Functions | 242 | |
▷ Named functions | 241 | 99.59% |
▷ Anonymous functions | 1 | 0.41% |
Constants | 41 | |
▷ Global constants | 22 | 53.66% |
▷ Class constants | 19 | 46.34% |
▷ Public constants | 19 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
28 PNG files occupy 1.26MB with 0.64MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/banner.png | 60.43KB | 21.93KB | ▼ 63.72% |
admin/img/features/predesigned-templates.png | 4.88KB | 3.05KB | ▼ 37.60% |
includes/submodules/banner/assets/img/welcome_header_laptop.png | 129.72KB | 56.16KB | ▼ 56.70% |
admin/img/quotes.png | 0.63KB | 0.37KB | ▼ 40.63% |
admin/img/features/user-role-management.png | 35.24KB | 14.82KB | ▼ 57.93% |