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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.07MB] [CPU: ▼3.13ms] Passed 4 tests
Server-side resources used by Testimonial Slider
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 40.05 ▲1.40 |
Dashboard /wp-admin | 3.37 ▲0.07 | 52.35 ▼2.08 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 45.89 ▼5.60 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 84.91 ▼6.23 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 37.90 ▲4.43 |
New Testimonial /wp-admin/post-new.php?post_type=testimonial-post | 3.41 | 49.70 |
All Testimonials /wp-admin/edit.php?post_type=testimonial-post | 3.33 | 37.80 |
Settings /wp-admin/edit.php?post_type=testimonial-post&page=testimonial-settings | 3.27 | 32.82 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Testimonial Slider
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,961 ▲200 | 13.64 ▼0.98 | 11.05 ▲9.26 | 51.18 ▲4.35 |
Dashboard /wp-admin | 2,248 ▲71 | 5.90 ▲0.24 | 83.60 ▼18.38 | 37.70 ▼7.05 |
Posts /wp-admin/edit.php | 2,158 ▲55 | 2.30 ▲0.34 | 35.77 ▲0.22 | 33.13 ▼5.75 |
Add New Post /wp-admin/post-new.php | 1,569 ▲41 | 22.96 ▼0.04 | 633.20 ▲32.15 | 33.27 ▼16.72 |
Media Library /wp-admin/upload.php | 1,450 ▲50 | 4.38 ▲0.18 | 99.11 ▼3.94 | 49.94 ▲4.72 |
New Testimonial /wp-admin/post-new.php?post_type=testimonial-post | 2,295 | 7.78 | 173.32 | 66.07 |
All Testimonials /wp-admin/edit.php?post_type=testimonial-post | 1,131 | 2.22 | 34.92 | 27.33 |
Settings /wp-admin/edit.php?post_type=testimonial-post&page=testimonial-settings | 1,246 | 2.38 | 53.69 | 25.92 |
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
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- > GET request to /wp-admin/edit.php?post_type=testimonial-post&page=testimonial-settings
- > Notice in wp-content/plugins/testimonials-slider/include/testimonial-settings.php+4
Undefined index: testmonial_setting_submit
- > GET request to /wp-admin/edit.php?post_type=testimonial-post&page=testimonial-settings
- > Notice in wp-content/plugins/testimonials-slider/include/testimonial-settings.php+5
Undefined index: main_box_bg_color
- > GET request to /wp-admin/edit.php?post_type=testimonial-post&page=testimonial-settings
- > Notice in wp-content/plugins/testimonials-slider/include/testimonial-settings.php+6
Undefined index: all_text_color
- > GET request to /wp-admin/edit.php?post_type=testimonial-post&page=testimonial-settings
- > Notice in wp-content/plugins/testimonials-slider/include/testimonial-settings.php+7
Undefined index: client_content_box_color
- > GET request to /wp-admin/edit.php?post_type=testimonial-post&page=testimonial-settings
- > Notice in wp-content/plugins/testimonials-slider/include/testimonial-settings.php+8
Undefined index: testimonial_heading_text
- > GET request to /wp-admin/edit.php?post_type=testimonial-post&page=testimonial-settings
- > Notice in wp-content/plugins/testimonials-slider/include/testimonial-settings.php+9
Undefined index: saved
- > GET request to /wp-admin/edit.php?post_type=testimonial-post&page=testimonial-settings
- > Notice in wp-content/plugins/testimonials-slider/include/testimonial-settings.php+31
Undefined variable: message
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
Please fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_text_field() in wp-content/plugins/testimonials-slider/include/testimonial-settings.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Screenshots: Please describe screenshot #2 in testimonials-slider/assets to your readme.txt
testimonials-slider/testimonials-slider.php 92% from 13 tests
The primary PHP file in "Testimonial Slider" version 1.1 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Text Domain: Please use dashes and lowercase characters for text domains
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected498 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 70 | 29 | 314 |
CSS | 3 | 19 | 11 | 155 |
JavaScript | 4 | 8 | 8 | 29 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
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
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-128x128.png | 14.45KB | 5.56KB | ▼ 61.52% |
assets/screenshot-1.PNG | 12.89KB | 7.06KB | ▼ 45.24% |
assets/screenshot-2.png | 16.13KB | 9.16KB | ▼ 43.22% |