Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.07MB] [CPU: ▼7.17ms] Passed 4 tests
A check of server-side resources used by WP Testimonial Slider
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 39.49 ▼8.54 |
Dashboard /wp-admin | 3.38 ▲0.08 | 49.01 ▼4.76 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 51.61 ▲0.56 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 88.88 ▼15.92 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 38.63 ▲2.11 |
Add New /wp-admin/post-new.php?post_type=wptestimonialslider | 3.42 | 51.39 |
All Testimonials /wp-admin/edit.php?post_type=wptestimonialslider | 3.34 | 38.64 |
Server storage [IO: ▲0.06MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
WP Testimonial Slider: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,949 ▲188 | 13.90 ▼0.63 | 9.43 ▲7.55 | 38.91 ▼4.20 |
Dashboard /wp-admin | 2,247 ▲70 | 5.61 ▼0.17 | 83.41 ▼18.48 | 93.76 ▲46.25 |
Posts /wp-admin/edit.php | 2,150 ▲47 | 1.99 ▼0.01 | 35.24 ▼1.24 | 36.55 ▼1.25 |
Add New Post /wp-admin/post-new.php | 6,356 ▲4,830 | 23.12 ▼0.52 | 1,008.51 ▲348.26 | 65.80 ▲16.47 |
Media Library /wp-admin/upload.php | 1,443 ▲46 | 4.19 ▼0.04 | 100.87 ▼3.48 | 81.65 ▲35.10 |
Add New /wp-admin/post-new.php?post_type=wptestimonialslider | 2,427 | 7.67 | 184.57 | 107.60 |
All Testimonials /wp-admin/edit.php?post_type=wptestimonialslider | 1,167 | 1.97 | 30.85 | 36.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wptestimonialslider/wptestimonialslider-script.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wptestimonialslider/wptestimonialslider-column.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wptestimonialslider/wptestimonialslider-metabox.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wptestimonialslider/wptestimonialslider-cpt.php:48
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wptestimonialslider/wptestimonialslider-shortcode.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
9 plugin tags: responsive testimonial slider, easy testimonial slider, testimonial slider wordpress, testimonial plugin, testimonial rotator...
wptestimonialslider/wptestimonialslider.php 92% from 13 tests
Analyzing the main PHP file in "WP Testimonial Slider" version 1.0.2
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 156 characters long)
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
Good job! No executable or dangerous file extensions detected620 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 94 | 73 | 281 |
JavaScript | 2 | 42 | 34 | 209 |
CSS | 1 | 21 | 0 | 130 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
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 | 20 | |
▷ Named functions | 20 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/css/next.png | 2.93KB | 0.31KB | ▼ 89.27% |
img/wp_testimonial_slider.png | 3.17KB | 1.87KB | ▼ 41.00% |
assets/css/prev.png | 2.94KB | 0.32KB | ▼ 89.03% |