Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲1.78MB] [CPU: ▲59.78ms] Passed 4 tests
A check of server-side resources used by Easy Testimonials
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.19 ▲1.73 | 95.79 ▲54.57 |
Dashboard /wp-admin | 5.10 ▲1.79 | 102.27 ▲54.49 |
Posts /wp-admin/edit.php | 5.16 ▲1.80 | 115.34 ▲67.74 |
Add New Post /wp-admin/post-new.php | 7.77 ▲1.88 | 164.05 ▲73.77 |
Media Library /wp-admin/upload.php | 5.03 ▲1.80 | 95.47 ▲62.33 |
About Plugin /wp-admin/admin.php?page=easy-testimonials-settings_aloha | 4.94 | 84.62 |
Display Settings /wp-admin/edit.php?post_type=testimonial&page=easy-testimonials-display-settings | 5.00 | 99.93 |
Theme Settings /wp-admin/edit.php?post_type=testimonial&page=easy-testimonials-style-settings | 4.97 | 88.81 |
Import & Export /wp-admin/edit.php?post_type=testimonial&page=easy-testimonials-import-export-settings | 4.97 | 91.87 |
Error /wp-admin/admin.php?page=easy_testimonials_pro_error_page | 4.93 | 85.72 |
Upgrade To Pro /wp-admin/edit.php?post_type=testimonial&page=easy-testimonials-upgrade-to-pro | 4.94 | 85.89 |
Testimonial Category /wp-admin/edit-tags.php?taxonomy=easy-testimonial-category&post_type=testimonial | 5.01 | 109.67 |
Shortcode Generator /wp-admin/edit.php?post_type=testimonial&page=easy-testimonials-shortcode-generator | 5.08 | 93.77 |
Collection Form Settings /wp-admin/edit.php?post_type=testimonial&page=easy-testimonials-submission-settings | 5.13 | 101.90 |
Testimonial Forms /wp-admin/edit.php?post_type=testimonial&page=easy-testimonials-testmionial-forms | 4.96 | 88.52 |
Server storage [IO: ▲5.34MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 193 new files
Database: no new tables, 16 new options
New WordPress options |
---|
widget_cycledtestimonialwidget |
widget_listtestimonialswidget |
theysaidso_admin_options |
widget_theysaidso_widget |
easy_testimonials_maintenance_version |
easy_t_fallback_image_method |
widget_singletestimonialwidget |
widget_recent-comments |
ezt_has_generated_examples |
db_upgraded |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Easy Testimonials
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,018 ▲283 | 14.14 ▼0.51 | 6.83 ▲4.88 | 40.79 ▼7.75 |
Dashboard /wp-admin | 2,290 ▲101 | 5.30 ▼0.58 | 117.65 ▼12.37 | 46.36 ▲3.27 |
Posts /wp-admin/edit.php | 2,179 ▲90 | 2.37 ▲0.33 | 37.68 ▼0.13 | 35.56 ▲2.25 |
Add New Post /wp-admin/post-new.php | 1,622 ▲108 | 22.31 ▲4.69 | 658.76 ▼27.60 | 37.40 ▼20.73 |
Media Library /wp-admin/upload.php | 1,577 ▲186 | 4.79 ▲0.59 | 105.55 ▲9.25 | 41.35 ▼2.88 |
About Plugin /wp-admin/admin.php?page=easy-testimonials-settings_aloha | 895 | 2.31 | 33.45 | 26.84 |
Display Settings /wp-admin/edit.php?post_type=testimonial&page=easy-testimonials-display-settings | 1,799 | 2.49 | 52.90 | 52.71 |
Theme Settings /wp-admin/edit.php?post_type=testimonial&page=easy-testimonials-style-settings | 1,344 | 2.35 | 50.13 | 61.65 |
Import & Export /wp-admin/edit.php?post_type=testimonial&page=easy-testimonials-import-export-settings | 1,128 | 2.53 | 47.64 | 48.01 |
Error /wp-admin/admin.php?page=easy_testimonials_pro_error_page | 853 | 2.02 | 28.87 | 24.47 |
Upgrade To Pro /wp-admin/edit.php?post_type=testimonial&page=easy-testimonials-upgrade-to-pro | 1,577 | 13.44 | 297.35 | 92.08 |
Testimonial Category /wp-admin/edit-tags.php?taxonomy=easy-testimonial-category&post_type=testimonial | 1,359 | 2.16 | 31.27 | 28.54 |
Shortcode Generator /wp-admin/edit.php?post_type=testimonial&page=easy-testimonials-shortcode-generator | 1,406 | 3.73 | 57.96 | 30.70 |
Collection Form Settings /wp-admin/edit.php?post_type=testimonial&page=easy-testimonials-submission-settings | 1,999 | 2.58 | 60.32 | 48.56 |
Testimonial Forms /wp-admin/edit.php?post_type=testimonial&page=easy-testimonials-testmionial-forms | 995 | 2.26 | 32.67 | 33.68 |
Uninstaller [IO: ▲0.28MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 16 options in the database
- easy_testimonials_maintenance_tasks_run
- can_compress_scripts
- widget_singletestimonialwidget
- ezt_has_generated_examples
- theysaidso_admin_options
- widget_randomtestimonialwidget
- widget_recent-comments
- db_upgraded
- widget_cycledtestimonialwidget
- widget_theysaidso_widget
- ...
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)
These errors were triggered by the plugin
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=testimonial&page=easy-testimonials-style-settings
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, class 'easyTestimonialThemeOptions' does not have a method 'allow_display_in_style'
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
- 36× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Undefined variable: output_theme in wp-content/plugins/easy-testimonials/include/templates/single_testimonial-ribbon_style.php on line 3
- > PHP Notice
Undefined variable: output_theme in wp-content/plugins/easy-testimonials/include/templates/single_testimonial-accolades_style.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/easy-testimonials/include/widgets/testimonial_cycle_widget.php:21
- > PHP Notice
Undefined variable: output_theme in wp-content/plugins/easy-testimonials/include/templates/single_testimonial-merit_style.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/easy-testimonials/include/widgets/single_testimonial_widget.php:21
- > PHP Fatal error
Uncaught Error: Class 'easyTestimonialOptions' not found in wp-content/plugins/easy-testimonials/include/settings/display.options.php:2
- > PHP Fatal error
Uncaught Error: Class 'easyTestimonialOptions' not found in wp-content/plugins/easy-testimonials/include/settings/theme.options.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/easy-testimonials/include/translate_strings.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/easy-testimonials/include/widgets/random_testimonial_widget.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/easy-testimonials/include/maintenance/maintenance.php:11
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following user-side errors
- > GET request to /wp-admin/edit.php?post_type=testimonial&page=easy-testimonials-style-settings
- > Javascript (severe) in unknown
/wp-admin/edit.php?post_type=testimonial&page=easy-testimonials-style-settings 2:15 Uncaught SyntaxError: Unexpected token ':'
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: testimonial feed, testimonials, random testimonials, testimonial widget
easy-testimonials/easy-testimonials.php Passed 13 tests
The entry point to "Easy Testimonials" version 3.9.5 is a PHP file that has certain tags in its header comment area
115 characters long description:
Easy Testimonials - Provides custom post type, shortcode, sidebar widget, and other functionality for testimonials.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin32,988 lines of code in 118 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 45 | 1,790 | 3,078 | 11,321 |
CSS | 24 | 677 | 210 | 5,757 |
PO File | 19 | 1,501 | 2,063 | 4,988 |
SVG | 4 | 0 | 3 | 3,453 |
JavaScript | 18 | 415 | 377 | 3,361 |
JSON | 1 | 0 | 0 | 2,601 |
HTML | 4 | 40 | 4 | 1,142 |
Markdown | 3 | 90 | 0 | 365 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 35.70 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 206.00 |
Average method complexity | 4.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 45.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 37 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 37 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 418 | |
▷ Static methods | 5 | 1.20% |
▷ Public methods | 392 | 93.78% |
▷ Protected methods | 23 | 5.50% |
▷ Private methods | 3 | 0.72% |
Functions | 19 | |
▷ Named functions | 18 | 94.74% |
▷ Anonymous functions | 1 | 5.26% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
23 PNG files occupy 0.25MB with 0.12MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
include/assets/img/pro-upgrade.png | 5.35KB | 2.36KB | ▼ 55.88% |
include/assets/img/polygon-2.png | 1.06KB | 0.21KB | ▼ 79.91% |
include/assets/img/mystery-person.png | 1.74KB | 0.84KB | ▼ 51.93% |
include/assets/img/mystery_man.png | 1.74KB | 0.84KB | ▼ 51.93% |
include/lib/BikeShed/chosen/chosen-sprite@2x.png | 0.72KB | 0.83KB | 0.00% |