Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.55MB] [CPU: ▼7.11ms] Passed 4 tests
This is a short check of server-side resources used by WP Social Ninja – Best Social Feed, Reviews Plugin for WordPress (Google Reviews, Photo Feeds, Chat & More)
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.07 ▲0.60 | 41.79 ▼3.50 |
Dashboard /wp-admin | 3.87 ▲0.53 | 49.35 ▼14.52 |
Posts /wp-admin/edit.php | 3.93 ▲0.57 | 49.32 ▲1.86 |
Add New Post /wp-admin/post-new.php | 6.65 ▲0.77 | 100.12 ▼11.12 |
Media Library /wp-admin/upload.php | 3.74 ▲0.50 | 36.45 ▲0.70 |
Server storage [IO: ▲7.39MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 502 new files
Database: 3 new tables, 7 new options
New tables |
---|
wp_wpsr_caches |
wp_wpsr_reviews |
wp_wpsr_optimize_images |
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
widget_wpsn-widget |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
WP Social Ninja – Best Social Feed, Reviews Plugin for WordPress (Google Reviews, Photo Feeds, Chat & More): an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,870 ▲98 | 14.71 ▲0.35 | 1.67 ▼0.42 | 38.20 ▼5.42 |
Dashboard /wp-admin | 2,275 ▲94 | 5.64 ▼0.04 | 89.10 ▼9.37 | 41.24 ▼0.09 |
Posts /wp-admin/edit.php | 2,184 ▲81 | 2.02 ▲0.06 | 40.21 ▲3.66 | 37.34 ▲1.50 |
Add New Post /wp-admin/post-new.php | 6,412 ▲4,886 | 27.80 ▲4.90 | 899.08 ▲264.62 | 57.32 ▲7.74 |
Media Library /wp-admin/upload.php | 1,478 ▲75 | 4.16 ▼0.08 | 97.84 ▼0.48 | 41.59 ▲0.20 |
Tools /wp-admin/admin.php?page=wpsocialninja.php#/tools/export-reviews | 1,428 | 8.88 | 218.31 | 31.81 |
Reviews /wp-admin/admin.php?page=wpsocialninja.php#/reviews | 1,433 | 9.07 | 201.07 | 27.95 |
Chat Widgets /wp-admin/admin.php?page=wpsocialninja.php#/chat-widgets | 1,433 | 8.81 | 116.30 | 29.06 |
Testimonials /wp-admin/admin.php?page=wpsocialninja.php#/testimonials | 2,001 | 15.13 | 426.08 | 102.60 |
Support /wp-admin/admin.php?page=wpsocialninja.php#/support | 1,856 | 8.79 | 112.11 | 36.49 |
Notification Popups /wp-admin/admin.php?page=wpsocialninja.php#/notifications | 2,000 | 15.11 | 376.41 | 63.02 |
Settings /wp-admin/admin.php?page=wpsocialninja.php#/settings/advance-settings | 1,727 | 10.37 | 131.07 | 63.92 |
Platforms /wp-admin/admin.php?page=wpsocialninja.php#/ | 1,813 | 9.87 | 130.12 | 45.73 |
Templates /wp-admin/admin.php?page=wpsocialninja.php#/templates | 1,436 | 8.91 | 108.01 | 24.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie tables detected upon uninstall: 3 tables
- wp_wpsr_reviews
- wp_wpsr_optimize_images
- wp_wpsr_caches
- Zombie WordPress options detected upon uninstall: 7 options
- widget_wpsn-widget
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/wp-social-reviews/app/Views/admin/menu.php
- 206× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'WPSocialReviews\\Framework\\Pagination\\PaginatorInterface' not found in wp-content/plugins/wp-social-reviews/vendor/wpfluent/framework/src/WPFluent/Pagination/LengthAwarePaginatorInterface.php:5
- > PHP Notice
Undefined variable: external_platform in wp-content/plugins/wp-social-reviews/app/Views/public/feeds-templates/twitter/elements/tweet-external-link.php on line 5
- > PHP Notice
Undefined variable: settings in wp-content/plugins/wp-social-reviews/app/Views/public/chat-templates/elements/bubble-icon.php on line 7
- > PHP Fatal error
Uncaught Error: Class 'FLBuilderModule' not found in wp-content/plugins/wp-social-reviews/app/Services/Widgets/Beaver/Reviews/ReviewsWidget.php:7
- > PHP Fatal error
Uncaught Error: Class 'FLBuilderModule' not found in wp-content/plugins/wp-social-reviews/app/Services/Widgets/Beaver/YouTube/YouTubeWidget.php:9
- > PHP Fatal error
Uncaught Error: Class 'WPSocialReviews\\Framework\\Database\\Orm\\Relations\\HasOneOrMany' not found in wp-content/plugins/wp-social-reviews/vendor/wpfluent/framework/src/WPFluent/Database/Orm/Relations/HasOne.php:7
- > PHP Fatal error
Uncaught Error: Class 'WPSocialReviews\\App\\Http\\Controllers\\Controller' not found in wp-content/plugins/wp-social-reviews/app/Http/Controllers/SettingsController.php:8
- > PHP Fatal error
Uncaught Error: Interface 'WPSocialReviews\\Framework\\Database\\ConnectionInterface' not found in wp-content/plugins/wp-social-reviews/vendor/wpfluent/framework/src/WPFluent/Database/Query/WPDBConnection.php:16
- > PHP Fatal error
Uncaught Error: Class 'WPSocialReviews\\App\\Services\\GlobalSettings' not found in wp-content/plugins/wp-social-reviews/app/Views/public/reviews-templates/elements/reviewer-rating.php:7
- > PHP Fatal error
Uncaught Error: Class 'WPSocialReviews\\App\\Http\\Policies\\BasePolicy' not found in wp-content/plugins/wp-social-reviews/app/Http/Policies/TemplatePolicy.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Tags: You are using too many tags: 11 tag instead of maximum 10
wp-social-reviews/wp-social-reviews.php Passed 13 tests
The main PHP file in "WP Social Ninja – Best Social Feed, Reviews Plugin for WordPress (Google Reviews, Photo Feeds, Chat & More)" ver. 3.12.0 adds more information about the plugin and also serves as the entry point for this plugin
133 characters long description:
Display your social feeds, reviews and chat widgets automatically and easily on your website with the all-in-one social media plugin.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected45,002 lines of code in 362 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 314 | 7,949 | 13,777 | 44,372 |
SVG | 26 | 1 | 21 | 479 |
JSON | 3 | 0 | 0 | 132 |
CSS | 9 | 0 | 0 | 9 |
JavaScript | 9 | 0 | 0 | 9 |
Markdown | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 18.94 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 197.00 |
Average method complexity | 2.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 43 | |
Interfaces | 16 | |
Traits | 10 | |
Classes | 189 | |
▷ Abstract classes | 13 | 6.88% |
▷ Concrete classes | 176 | 93.12% |
▷ Final classes | 0 | 0.00% |
Methods | 2,396 | |
▷ Static methods | 247 | 10.31% |
▷ Public methods | 1,955 | 81.59% |
▷ Protected methods | 374 | 15.61% |
▷ Private methods | 67 | 2.80% |
Functions | 149 | |
▷ Named functions | 7 | 4.70% |
▷ Anonymous functions | 142 | 95.30% |
Constants | 23 | |
▷ Global constants | 10 | 43.48% |
▷ Class constants | 13 | 56.52% |
▷ Public constants | 13 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
123 PNG files occupy 1.91MB with 0.37MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/icon/icon-telegram.png | 9.61KB | 10.04KB | 0.00% |
assets/images/template/instagram-placeholder-template.png | 28.93KB | 30.13KB | 0.00% |
assets/images/icon/icon-booking.com.png | 6.79KB | 7.06KB | 0.00% |
assets/images/template/editor-placeholder.png | 23.90KB | 12.92KB | ▼ 45.91% |
assets/images/icon/wp-social-ninja-email-logo.png | 6.08KB | 2.93KB | ▼ 51.80% |