Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
- Install procedure had errors
- > User deprecated in wp-includes/functions.php+5453
Function get_page_by_title is deprecated since version 6.2.0! Use WP_Query instead.
Server metrics [RAM: ▲0.12MB] [CPU: ▼7.05ms] Passed 4 tests
This is a short check of server-side resources used by Easy Testimonials
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 31.51 ▼7.36 |
Dashboard /wp-admin | 3.44 ▲0.09 | 48.50 ▼18.14 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 49.44 ▼0.30 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 94.18 ▼2.40 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 37.47 ▲3.47 |
Testimonials /wp-admin/edit.php?post_type=testimonials | 3.39 | 40.32 |
Add New Testimonial /wp-admin/post-new.php?post_type=testimonials | 3.47 | 50.92 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Easy Testimonials
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲85 | 14.74 ▲0.09 | 1.75 ▲0.09 | 42.67 ▼0.41 |
Dashboard /wp-admin | 2,235 ▲47 | 5.80 ▲0.92 | 97.43 ▼18.06 | 77.42 ▲30.64 |
Posts /wp-admin/edit.php | 2,121 ▲32 | 1.99 ▼0.06 | 38.88 ▲1.65 | 34.51 ▼3.10 |
Add New Post /wp-admin/post-new.php | 1,546 ▲13 | 22.03 ▼1.31 | 636.91 ▲6.50 | 52.52 ▼2.56 |
Media Library /wp-admin/upload.php | 1,417 ▲32 | 4.23 ▲0.12 | 111.67 ▲11.28 | 50.10 ▲6.79 |
Testimonials /wp-admin/edit.php?post_type=testimonials | 1,079 | 1.98 | 35.02 | 29.35 |
Add New Testimonial /wp-admin/post-new.php?post_type=testimonials | 2,321 | 7.58 | 166.04 | 122.26 |
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
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% 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
The following issues need your attention
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/dws-testimonials/dws-testimonials.php:34
- > PHP Fatal error
Uncaught Error: Call to undefined function has_post_thumbnail() in wp-content/plugins/dws-testimonials/loop-testimonials.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
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
6 plugin tags: testimonial with images, testimonials, customer testimonials, testimonial list, client testimonials...
dws-testimonials/dws-testimonials.php Passed 13 tests
"Easy Testimonials" version 3.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
128 characters long description:
Easily implement Client / Customers Testimonials with images on your Wordpress website / blog with shortcode "[dwstestimonial]".
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected439 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 89 | 158 | 433 |
CSS | 1 | 0 | 1 | 6 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 47.00 |
▷ Minimum class complexity | 47.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 3.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 7 | 58.33% |
▷ Anonymous functions | 5 | 41.67% |
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
PNG files should be compressed to save space and 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 |
images/testimonial.png | 1.38KB | 0.40KB | ▼ 70.91% |