Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.06MB] [CPU: ▼3.83ms] Passed 4 tests
Server-side resources used by Client Testimonial Slider
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 37.61 ▲0.04 |
Dashboard /wp-admin | 3.37 ▲0.06 | 48.09 ▼2.11 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 48.16 ▼1.68 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 90.06 ▼11.55 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 40.13 ▲5.54 |
New Testimonial /wp-admin/post-new.php?post_type=testimonials | 3.40 | 46.10 |
Settings /wp-admin/edit.php?post_type=testimonials&page=testimonial-settings | 3.26 | 33.52 |
All Testimonials /wp-admin/edit.php?post_type=testimonials | 3.33 | 34.49 |
Server storage [IO: ▲0.36MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Client Testimonial Slider
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,938 ▲192 | 13.84 ▼0.79 | 5.86 ▲4.24 | 43.86 ▲4.07 |
Dashboard /wp-admin | 2,258 ▲70 | 5.18 ▲0.28 | 103.39 ▼11.28 | 40.70 ▼1.25 |
Posts /wp-admin/edit.php | 2,146 ▲57 | 2.29 ▲0.30 | 40.81 ▲1.24 | 34.11 ▼0.56 |
Add New Post /wp-admin/post-new.php | 1,556 ▲36 | 23.29 ▲0.07 | 641.52 ▼43.41 | 36.22 ▼18.38 |
Media Library /wp-admin/upload.php | 1,443 ▲61 | 4.36 ▲0.13 | 115.68 ▲15.06 | 45.67 ▲1.75 |
New Testimonial /wp-admin/post-new.php?post_type=testimonials | 2,256 | 7.86 | 175.49 | 61.51 |
Settings /wp-admin/edit.php?post_type=testimonials&page=testimonial-settings | 1,222 | 2.41 | 52.48 | 25.22 |
All Testimonials /wp-admin/edit.php?post_type=testimonials | 1,116 | 2.27 | 33.92 | 26.97 |
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
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/edit.php?post_type=testimonials&page=testimonial-settings
- > Notice in wp-content/plugins/wp-client-testimonial/include/testimonial-settings.php+4
Undefined index: testmonial_setting_submit
- > GET request to /wp-admin/edit.php?post_type=testimonials&page=testimonial-settings
- > Notice in wp-content/plugins/wp-client-testimonial/include/testimonial-settings.php+5
Undefined index: main_box_bg_color
- > GET request to /wp-admin/edit.php?post_type=testimonials&page=testimonial-settings
- > Notice in wp-content/plugins/wp-client-testimonial/include/testimonial-settings.php+6
Undefined index: all_text_color
- > GET request to /wp-admin/edit.php?post_type=testimonials&page=testimonial-settings
- > Notice in wp-content/plugins/wp-client-testimonial/include/testimonial-settings.php+7
Undefined index: client_content_box_color
- > GET request to /wp-admin/edit.php?post_type=testimonials&page=testimonial-settings
- > Notice in wp-content/plugins/wp-client-testimonial/include/testimonial-settings.php+8
Undefined index: testimonial_heading_text
- > GET request to /wp-admin/edit.php?post_type=testimonials&page=testimonial-settings
- > Notice in wp-content/plugins/wp-client-testimonial/include/testimonial-settings.php+9
Undefined index: saved
- > GET request to /wp-admin/edit.php?post_type=testimonials&page=testimonial-settings
- > Notice in wp-content/plugins/wp-client-testimonial/include/testimonial-settings.php+31
Undefined variable: message
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
Please take a closer look at the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_text_field() in wp-content/plugins/wp-client-testimonial/include/testimonial-settings.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Screenshots: These screenshots require images: #1 (Back end client testimonial list), #2 (Back end add client testimonial), #3 (Back end color settings), #4 (Frond end look of client testimonial)
- Tags: Please reduce the number of tags, currently 15 tag instead of maximum 10
wp-client-testimonial/wp-client-testimonial.php Passed 13 tests
The main PHP script in "Client Testimonial Slider" version 2.0 is automatically included on every request by WordPress
114 characters long description:
Display client testimonial with slide previous and next features. And having different color settings from admin .
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
Good job! No executable or dangerous file extensions detected402 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 61 | 35 | 253 |
CSS | 1 | 20 | 3 | 126 |
JavaScript | 2 | 3 | 2 | 23 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.34MB with 0.18MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 252.96KB | 70.37KB | ▼ 72.18% |
screenshot-4.png | 48.75KB | 15.75KB | ▼ 67.70% |
screenshot-1.png | 26.71KB | 15.94KB | ▼ 40.33% |
screenshot-3.png | 20.40KB | 12.95KB | ▼ 36.50% |