Benchmarks
Plugin footprint 65% 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.71MB] [CPU: ▲2.55ms] Passed 4 tests
A check of server-side resources used by Testimonial Slider
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.19 ▲0.73 | 52.57 ▲7.39 |
Dashboard /wp-admin | 4.01 ▲0.71 | 58.30 ▲1.67 |
Posts /wp-admin/edit.php | 4.13 ▲0.77 | 58.53 ▲4.30 |
Add New Post /wp-admin/post-new.php | 6.60 ▲0.71 | 92.56 ▲0.17 |
Media Library /wp-admin/upload.php | 3.94 ▲0.71 | 45.13 ▲4.05 |
Sliders /wp-admin/admin.php?page=testimonial-slider-admin | 3.91 | 42.96 |
Testimonial Categories /wp-admin/edit-tags.php?taxonomy=testimonial_category&post_type=testimonial | 3.93 | 41.90 |
Settings /wp-admin/admin.php?page=testimonial-slider-settings | 4.07 | 47.85 |
Add New /wp-admin/post-new.php?post_type=testimonial | 4.07 | 60.79 |
All Testimonials /wp-admin/edit.php?post_type=testimonial | 3.98 | 43.29 |
Server storage [IO: ▲0.75MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 123 new files
Database: 3 new tables, 12 new options
New tables |
---|
wp_testimonial_slider_postmeta |
wp_testimonial_slider |
wp_testimonial_slider_meta |
New WordPress options |
---|
widget_theysaidso_widget |
testimonial_slider_scounter |
widget_recent-comments |
widget_recent-posts |
testimonial_db_version |
theysaidso_admin_options |
can_compress_scripts |
widget_testimonial_ssliderc_wid |
testimonial_slider_options |
widget_testimonial_sslider_wid |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Testimonial Slider
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,957 ▲171 | 13.78 ▼0.63 | 8.56 ▲6.03 | 41.12 ▼0.73 |
Dashboard /wp-admin | 2,253 ▲76 | 5.65 ▲0.12 | 84.14 ▲0.38 | 39.49 ▼5.43 |
Posts /wp-admin/edit.php | 2,161 ▲58 | 2.02 ▲0.07 | 35.53 ▼6.58 | 34.86 ▼3.79 |
Add New Post /wp-admin/post-new.php | 1,578 ▲52 | 23.06 ▼0.19 | 656.90 ▼2.03 | 68.26 ▲14.44 |
Media Library /wp-admin/upload.php | 1,461 ▲64 | 4.20 ▲0.03 | 105.36 ▲2.25 | 47.04 ▲1.63 |
Sliders /wp-admin/admin.php?page=testimonial-slider-admin | 1,113 | 2.38 | 48.49 | 61.40 |
Testimonial Categories /wp-admin/edit-tags.php?taxonomy=testimonial_category&post_type=testimonial | 1,332 | 2.12 | 27.42 | 29.91 |
Settings /wp-admin/admin.php?page=testimonial-slider-settings | 4,181 | 3.93 | 95.44 | 86.26 |
Add New /wp-admin/post-new.php?post_type=testimonial | 2,498 | 7.69 | 168.04 | 65.39 |
All Testimonials /wp-admin/edit.php?post_type=testimonial | 1,131 | 1.96 | 28.95 | 31.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin cannot be uninstalled
- > Warning in wp-content/plugins/testimonial-slider/uninstall.php+2
define() expects at least 2 parameters, 1 given
- Zombie WordPress options detected upon uninstall: 10 options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_testimonial_ssliderr_wid
- widget_testimonial_sslider_wid
- theysaidso_admin_options
- widget_testimonial_ssliderc_wid
- widget_theysaidso_widget
- testimonial_slider_scounter
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 17× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
- > /wp-content/plugins/testimonial-slider/css/skins/textonly/functions.php
- > /wp-content/plugins/testimonial-slider/css/skins/textonly/settings.php
- > /wp-content/plugins/testimonial-slider/css/skins/oval/functions.php
- > /wp-content/plugins/testimonial-slider/css/skins/oval/settings.php
- > /wp-content/plugins/testimonial-slider/css/skins/minimal/functions.php
- > /wp-content/plugins/testimonial-slider/testimonial-slider.php
- > /wp-content/plugins/testimonial-slider/css/skins/minimal/settings.php
- > /wp-content/plugins/testimonial-slider/slider_versions/widgets_1.php
- > /wp-content/plugins/testimonial-slider/slider_versions/testimonial_1.php
- > /wp-content/plugins/testimonial-slider/slider_versions/shortcodes_1.php
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/testimonial-slider/includes/testimonial-slider-functions.php:153
- > PHP Fatal error
Uncaught Error: Call to undefined function delete_option() in wp-content/plugins/testimonial-slider/uninstall.php:4
- > PHP Warning
define() expects at least 2 parameters, 1 given in wp-content/plugins/testimonial-slider/uninstall.php on line 2
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=testimonial-slider-settings
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=testimonial-slider-settings 1041:30 Uncaught SyntaxError: Unexpected token '&'
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% 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
These attributes need to be fixed:
- Screenshots: These screenshots do not have images: #1 (Testimonial Slider Skins), #2 (Settings Panel Overview)
- Tags: Please reduce the number of tags, currently 13 tag instead of maximum 10
testimonial-slider/testimonial-slider.php Passed 13 tests
The main PHP file in "Testimonial Slider" ver. 1.3.2 adds more information about the plugin and also serves as the entry point for this plugin
114 characters long description:
Use Testimonial Slider to show the awesome testimonials you have received in a beautiful horizontal slider format.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected8,874 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 570 | 198 | 4,393 |
JavaScript | 5 | 440 | 271 | 3,886 |
CSS | 6 | 93 | 64 | 595 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 82 | |
▷ Named functions | 82 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
89 PNG files occupy 0.32MB with 0.23MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/skins/textonly/buttons/orange/prev.png | 2.94KB | 0.32KB | ▼ 89.03% |
css/skins/minimal/buttons/default/prev.png | 2.94KB | 0.30KB | ▼ 89.76% |
css/skins/round/buttons/green/next.png | 2.94KB | 0.31KB | ▼ 89.29% |
css/skins/round/buttons/orange/next.png | 2.93KB | 0.31KB | ▼ 89.27% |
css/skins/minimal/buttons/black/quote.png | 0.65KB | 0.65KB | ▼ 0.60% |