Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼5.25ms] Passed 4 tests
A check of server-side resources used by Social proof testimonials and reviews by Repuso
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 45.54 ▲2.13 |
Dashboard /wp-admin | 3.35 ▲0.01 | 48.94 ▼13.51 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 49.50 ▼1.18 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 84.40 ▼3.65 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 36.85 ▼2.64 |
Floating widget /wp-admin/admin.php?page=pagewide_widget | 3.29 | 35.25 |
Widgets /wp-admin/admin.php?page=rw_widgets | 3.32 | 35.19 |
Reviews /wp-admin/admin.php?page=rw_reviews | 3.26 | 32.92 |
Video guides /wp-admin/admin.php?page=rw_overview | 3.27 | 35.39 |
Channels /wp-admin/admin.php?page=rw_channels | 3.26 | 41.39 |
Server storage [IO: ▲1.11MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Social proof testimonials and reviews by Repuso
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,880 ▲145 | 14.62 ▲0.27 | 1.71 ▼0.06 | 41.94 ▼4.25 |
Dashboard /wp-admin | 2,289 ▲115 | 5.62 ▼0.03 | 88.22 ▼13.47 | 80.25 ▲36.24 |
Posts /wp-admin/edit.php | 2,194 ▲91 | 2.01 ▼0.02 | 39.55 ▲3.17 | 35.10 ▼1.94 |
Add New Post /wp-admin/post-new.php | 1,762 ▲234 | 22.17 ▼0.80 | 718.37 ▲12.00 | 52.07 ▼0.06 |
Media Library /wp-admin/upload.php | 1,485 ▲82 | 4.24 ▲0.08 | 101.19 ▲4.19 | 47.90 ▲4.93 |
Floating widget /wp-admin/admin.php?page=pagewide_widget | 965 | 2.02 | 23.46 | 28.54 |
Widgets /wp-admin/admin.php?page=rw_widgets | 1,834 | 2.91 | 49.06 | 76.07 |
Reviews /wp-admin/admin.php?page=rw_reviews | 1,826 | 2.67 | 48.23 | 55.99 |
Video guides /wp-admin/admin.php?page=rw_overview | 2,904 | 22.81 | 744.81 | 99.44 |
Channels /wp-admin/admin.php?page=rw_channels | 1,835 | 2.60 | 53.24 | 66.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check 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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/social-testimonials-and-reviews-widget/tmpl/overview.php
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_js() in wp-content/plugins/social-testimonials-and-reviews-widget/tmpl/main.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_url() in wp-content/plugins/social-testimonials-and-reviews-widget/tmpl/floating.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/social-testimonials-and-reviews-widget/tmpl/shortcodes.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 81% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== social-testimonials-and-reviews-widget ===
) - Screenshots: Add images for these screenshots: #1 (Some of our widgets), #2 (Create various showcase widgets for your website), #3 (Easy access via Wordpress admin), #4 (Easily organize your testimonials), #5 (Adding channels is easy)
- Tags: You are using too many tags: 39 tag instead of maximum 10
social-testimonials-and-reviews-widget/social-testimonials-and-reviews-widget.php Passed 13 tests
Analyzing the main PHP file in "Social proof testimonials and reviews by Repuso" version 5.04
129 characters long description:
Social testimonials & reviews on your own website as social proof. Increase your website's sales and conversion rate with Repuso.
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
Success! There were no dangerous files found in this plugin1,364 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 238 | 57 | 1,165 |
CSS | 1 | 20 | 0 | 111 |
JavaScript | 1 | 17 | 3 | 88 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 75.00 |
▷ Minimum class complexity | 75.00 |
▷ Maximum class complexity | 75.00 |
Average method complexity | 3.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 36 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 36 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
14 PNG files occupy 1.05MB with 0.55MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/widgets-grid@2x.png | 24.45KB | 25.45KB | 0.00% |
screenshot-3.png | 71.80KB | 18.64KB | ▼ 74.04% |
screenshot-4.png | 231.39KB | 90.90KB | ▼ 60.72% |
images/shortcode1.png | 20.62KB | 6.43KB | ▼ 68.84% |
screenshot-6.png | 132.25KB | 55.54KB | ▼ 58.00% |