Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.35MB] [CPU: ▼294.04ms] Passed 4 tests
This is a short check of server-side resources used by WP Responsive Testimonials Slider And Widget
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.86 ▲0.34 | 56.88 ▲4.60 |
Dashboard /wp-admin | 3.80 ▲0.39 | 35.88 ▼5.01 |
Posts /wp-admin/edit.php | 4.03 ▲0.38 | 46.18 ▼9.39 |
Add New Post /wp-admin/post-new.php | 7.27 ▲0.29 | 98.82 ▼1,166.37 |
Media Library /wp-admin/upload.php | 3.69 ▲0.39 | 30.15 ▲4.82 |
Help and shortcode Generator /wp-admin/edit.php?post_type=easy-testimonial&page=rtsw-designs | 3.66 | 25.27 |
Category /wp-admin/edit-tags.php?taxonomy=testimonial-category&post_type=easy-testimonial | 3.69 | 27.17 |
All Testimonials /wp-admin/edit.php?post_type=easy-testimonial | 3.79 | 33.63 |
Add New /wp-admin/post-new.php?post_type=easy-testimonial | 4.06 | 51.93 |
Server storage [IO: ▲1.21MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 37 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_sp_testimonials |
Browser metrics Passed 4 tests
Checking browser requirements for WP Responsive Testimonials Slider And Widget
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,966 ▲244 | 17.28 ▲1.75 | 23.39 ▲17.72 | 3.00 ▲0.71 |
Dashboard /wp-admin | 2,942 ▲82 | 6.09 ▼0.03 | 128.64 ▲5.10 | 232.21 ▲73.90 |
Posts /wp-admin/edit.php | 2,740 ▲49 | 3.23 ▼0.02 | 65.09 ▲1.16 | 160.58 ▲8.56 |
Add New Post /wp-admin/post-new.php | 1,693 ▲27 | 16.58 ▼3.97 | 462.60 ▲30.17 | 155.71 ▼13.67 |
Media Library /wp-admin/upload.php | 1,748 ▲53 | 5.57 ▲0.11 | 142.45 ▼2.79 | 239.43 ▲42.17 |
Help and shortcode Generator /wp-admin/edit.php?post_type=easy-testimonial&page=rtsw-designs | 1,315 | 2.41 | 56.03 | 120.91 |
Category /wp-admin/edit-tags.php?taxonomy=testimonial-category&post_type=easy-testimonial | 1,662 | 2.79 | 56.98 | 111.39 |
All Testimonials /wp-admin/edit.php?post_type=easy-testimonial | 1,442 | 3.15 | 60.20 | 117.42 |
Add New /wp-admin/post-new.php?post_type=easy-testimonial | 3,356 | 10.00 | 196.94 | 211.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure has failed, leaving 1 option in the database
- widget_sp_testimonials
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/wp-responsive-testimonials-slider-and-widget/wp-responsive-testimonials-slider-and-widget.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 31 tag instead of maximum 10
wp-responsive-testimonials-slider-and-widget/wp-responsive-testimonials-slider-and-widget.php 85% from 13 tests
The primary PHP file in "WP Responsive Testimonials Slider And Widget" version 1.5 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Description: The description should be shorter than 140 characters (currently 148 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin4,860 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 42 | 199 | 2,437 |
CSS | 6 | 4 | 27 | 1,628 |
SVG | 1 | 0 | 0 | 685 |
JavaScript | 5 | 7 | 3 | 110 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
Average class complexity | 46.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 86.00 |
Average method complexity | 7.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 76.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 | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 32 | |
▷ Named functions | 31 | 96.88% |
▷ Anonymous functions | 1 | 3.12% |
Constants | 5 | |
▷ Global constants | 5 | 100.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.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/video-play-icon.png | 8.22KB | 3.64KB | ▼ 55.71% |