Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.50MB] [CPU: ▼14.43ms] Passed 4 tests
An overview of server-side resources used by Clean Testimonials
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.19 | 42.34 ▲1.16 |
Dashboard /wp-admin | 3.48 ▲0.18 | 49.92 ▼3.64 |
Posts /wp-admin/edit.php | 3.60 ▲0.24 | 50.47 ▲0.20 |
Add New Post /wp-admin/post-new.php | 3.33 ▼2.55 | 40.38 ▼55.45 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 39.77 ▲5.32 |
Testimonials /wp-admin/edit.php?post_type=testimonial | 3.45 | 39.03 |
Add New /wp-admin/post-new.php?post_type=testimonial | 3.33 | 35.65 |
Categories /wp-admin/edit-tags.php?taxonomy=testimonial_category&post_type=testimonial | 3.40 | 38.64 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 13 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_testimonials_widget |
theysaidso_admin_options |
ct_activated |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Clean Testimonials
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,940 ▲194 | 14.00 ▼0.37 | 5.06 ▲3.21 | 41.10 ▼14.70 |
Dashboard /wp-admin | 2,239 ▲54 | 4.89 ▲0.01 | 103.00 ▼0.90 | 39.06 ▼2.12 |
Posts /wp-admin/edit.php | 2,122 ▲33 | 2.06 ▲0.06 | 41.01 ▲2.96 | 36.07 ▲1.40 |
Add New Post /wp-admin/post-new.php | 1,565 ▲23 | 18.08 ▼0.26 | 641.93 ▲1.25 | 58.48 ▲4.04 |
Media Library /wp-admin/upload.php | 1,421 ▲36 | 4.15 ▼0.08 | 111.94 ▲8.95 | 47.77 ▲4.60 |
Testimonials /wp-admin/edit.php?post_type=testimonial | 1,163 | 1.97 | 30.96 | 30.66 |
Add New /wp-admin/post-new.php?post_type=testimonial | 2,387 | 7.74 | 168.22 | 63.66 |
Categories /wp-admin/edit-tags.php?taxonomy=testimonial_category&post_type=testimonial | 1,278 | 2.28 | 27.74 | 26.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 8 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- ct_activated
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_testimonials_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/post-new.php?post_type=testimonial
- > Notice in wp-content/plugins/clean-testimonials/class.clean-testimonials.php+335
Trying to get property 'post_type' of non-object
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/clean-testimonials/lib/templates/email-new-testimonial.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/clean-testimonials/lib/shortcodes.php:60
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/clean-testimonials/class.testimonials-widget.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
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
10 plugin tags: review, recommend, reference, testimonial, recommendation...
clean-testimonials/clean-testimonials.php Passed 13 tests
The main PHP script in "Clean Testimonials" version 1.5.2.1 is automatically included on every request by WordPress
75 characters long description:
Allows you to easily and quickly add Testimonials to your WordPress website
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
Everything looks great! No dangerous files found in this plugin1,035 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 424 | 176 | 842 |
PO File | 1 | 58 | 66 | 143 |
JavaScript | 3 | 35 | 7 | 50 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 3.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 3 | 75.00% |
Methods | 22 | |
▷ Static methods | 14 | 63.64% |
▷ Public methods | 22 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 23 | |
▷ Named functions | 23 | 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 images were found in this plugin