Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.16MB] [CPU: ▼1.49ms] Passed 4 tests
A check of server-side resources used by Social Proof (Testimonial) Slider
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 39.37 ▼0.62 |
Dashboard /wp-admin | 3.48 ▲0.18 | 44.46 ▼2.14 |
Posts /wp-admin/edit.php | 3.53 ▲0.18 | 46.75 ▲3.48 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.21 | 81.81 ▼2.80 |
Media Library /wp-admin/upload.php | 3.40 ▲0.18 | 36.72 ▼0.41 |
Testimonials /wp-admin/edit.php?post_type=socialproofslider | 3.46 | 36.20 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=socialproofslider | 3.40 | 39.62 |
Social Proof Slider /wp-admin/options-general.php?page=social-proof-slider | 3.42 | 38.24 |
Add New Testimonial /wp-admin/post-new.php?post_type=socialproofslider | 3.56 | 49.90 |
Server storage [IO: ▲0.74MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 45 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
category_children |
theysaidso_admin_options |
db_upgraded |
widget_social_proof_slider_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Social Proof (Testimonial) Slider: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,981 ▲231 | 13.75 ▼0.90 | 8.44 ▲6.88 | 42.96 ▼1.18 |
Dashboard /wp-admin | 2,264 ▲84 | 4.99 ▼0.63 | 97.10 ▲12.68 | 38.80 ▼1.29 |
Posts /wp-admin/edit.php | 2,144 ▲44 | 2.79 ▲0.77 | 44.21 ▲6.21 | 37.94 ▲5.68 |
Add New Post /wp-admin/post-new.php | 6,428 ▲4,899 | 28.44 ▲5.36 | 900.62 ▲246.67 | 39.19 ▼14.26 |
Media Library /wp-admin/upload.php | 1,464 ▲67 | 4.48 ▲0.29 | 102.28 ▼16.53 | 45.30 ▼2.60 |
Testimonials /wp-admin/edit.php?post_type=socialproofslider | 1,151 | 2.40 | 39.71 | 32.17 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=socialproofslider | 1,520 | 2.16 | 35.45 | 34.12 |
Social Proof Slider /wp-admin/options-general.php?page=social-proof-slider | 2,227 | 2.60 | 67.34 | 53.69 |
Add New Testimonial /wp-admin/post-new.php?post_type=socialproofslider | 2,998 | 10.95 | 222.66 | 71.06 |
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: 8 options
- theysaidso_admin_options
- category_children
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- widget_social_proof_slider_widget
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/social-proof-testimonials-slider/public/partials/social-proof-slider-public-display.php
- 7× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/social-proof-testimonials-slider/admin/partials/social-proof-slider-admin-metabox-testimonial-details.php:13
- > PHP Notice
Undefined variable: instance in wp-content/plugins/social-proof-testimonials-slider/includes/partials/social-proof-slider-display-widget.php on line 11
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/social-proof-testimonials-slider/includes/partials/social-proof-slider-display-widget.php on line 11
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_editor() in wp-content/plugins/social-proof-testimonials-slider/admin/partials/social-proof-slider-admin-field-editor.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/social-proof-testimonials-slider/admin/partials/social-proof-slider-admin-display.php:17
- > PHP Fatal error
Uncaught Error: Class 'Social_Proof_Slider_Shared' not found in wp-content/plugins/social-proof-testimonials-slider/includes/partials/social-proof-slider-display-widget.php:272
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/social-proof-testimonials-slider/includes/class-social-proof-slider-widget.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
10 plugin tags: responsive, slideshow, portfolio, reviews, quotes...
social-proof-testimonials-slider/social-proof-slider.php 85% from 13 tests
The entry point to "Social Proof (Testimonial) Slider" version 2.2.4 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("social-proof-testimonials-slider.php" instead of "social-proof-slider.php")
- Description: Keep the plugin description shorter than 140 characters (currently 253 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin7,766 lines of code in 36 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 1,048 | 1,711 | 3,997 |
JavaScript | 8 | 990 | 2,048 | 3,046 |
CSS | 5 | 106 | 19 | 542 |
Markdown | 1 | 40 | 0 | 127 |
Sass | 3 | 4 | 1 | 40 |
SVG | 1 | 0 | 0 | 14 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 31.36 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 105.00 |
Average method complexity | 3.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 48.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 128 | |
▷ Static methods | 5 | 3.91% |
▷ Public methods | 113 | 88.28% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 15 | 11.72% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin