78% sproutedweb-wp-support

Code Review | WP Support by SproutedWeb

WordPress plugin WP Support by SproutedWeb scored78%from 54 tests.

About plugin

  • Plugin page: sproutedweb-wp-su...
  • Plugin version: 2.3
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.6-6.1
  • WordPress version: 6.3.1
  • First release: Feb 22, 2019
  • Latest release: Feb 15, 2023
  • Number of updates: 37
  • Update frequency: every 39.4 days
  • Top authors: sproutedweb (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /2,007 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

Server metrics [RAM: ▲0.27MB] [CPU: ▼4.50ms] Passed 4 tests

Analyzing server-side resources used by WP Support by SproutedWeb
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.74 ▲0.2744.37 ▲3.50
Dashboard /wp-admin3.57 ▲0.2748.35 ▼8.34
Posts /wp-admin/edit.php3.68 ▲0.3352.87 ▲0.39
Add New Post /wp-admin/post-new.php6.17 ▲0.2889.63 ▼13.54
Media Library /wp-admin/upload.php3.49 ▲0.2741.70 ▲6.46
Join Our FB Community /wp-admin/admin.php?page=sprouted-fb-community3.2829.26
Performance Scan /wp-admin/admin.php?page=sprouted-scan3.5441.43
Settings /wp-admin/admin.php?page=sprouted-setting3.4636.74

Server storage [IO: ▲0.55MB] [DB: ▲0.00MB] Passed 3 tests

Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 24 new files
Database: 1 new table, 13 new options
New tables
wp_sprouted_gtmetrix
New WordPress options
sproutedwebchat_active
sproutedwebchat_gtmetrix_packages
db_upgraded
sproutedwebchat_gtmetrix_credit
sproutedwebchat_gtmetrix_other_details
can_compress_scripts
widget_theysaidso_widget
sproutedwebchat_gtmetrix_browsers
widget_recent-posts
theysaidso_admin_options
...

Browser metrics Passed 4 tests

Checking browser requirements for WP Support by SproutedWeb
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,885 ▲12413.24 ▼1.094.57 ▲2.9239.91 ▼3.82
Dashboard /wp-admin2,289 ▲1095.09 ▼0.51102.63 ▲4.5448.10 ▲1.10
Posts /wp-admin/edit.php2,170 ▲702.37 ▲0.4239.20 ▲2.5937.31 ▼7.60
Add New Post /wp-admin/post-new.php6,347 ▲4,82123.49 ▲0.45929.01 ▲248.6165.83 ▲5.20
Media Library /wp-admin/upload.php1,464 ▲644.44 ▲0.28103.05 ▲1.0848.96 ▼0.24
Join Our FB Community /wp-admin/admin.php?page=sprouted-fb-community1,55718.92446.1064.58
Performance Scan /wp-admin/admin.php?page=sprouted-scan1,1192.3128.6631.16
Settings /wp-admin/admin.php?page=sprouted-setting9172.2929.6026.19

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
  • Zombie WordPress options were found after uninstall: 9 options
    • db_upgraded
    • sproutedwebchat_gtmetrix_packages
    • can_compress_scripts
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • sproutedwebchat_gtmetrix_location
    • sproutedwebchat_gtmetrix_browsers
    • widget_recent-posts

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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 items
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to a member function get_row() on null in wp-content/plugins/sproutedweb-wp-support/templates/gtmetrix-scan.php:4

User-side errors 0% from 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following browser errors
    • > GET request to /wp-admin/admin.php?page=sprouted-fb-community
    • > Security (warning) in unknown
    security - Error with Permissions-Policy header: Unrecognized feature: 'ambient-light-sensor'.
    • > GET request to /wp-admin/admin.php?page=sprouted-fb-community
    • > Security (warning) in unknown
    security - Error with Permissions-Policy header: Unrecognized feature: 'bluetooth'.
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=sprouted-setting
    • > Javascript (severe) in unknown
    http://cdn.livechatinc.com/tracking.js 0:66493 Uncaught Error: License expired

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention: The official readme.txt might help

sproutedweb-wp-support/sproutedweb-wp-support.php Passed 13 tests

The primary PHP file in "WP Support by SproutedWeb" version 2.3 is used by WordPress to initiate all plugin functionality
107 characters long description:
Instantly access 24x7 WordPress support, GTMetrix scans, and maintenance options right from your Dashboard.

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 detected7,842 lines of code in 11 files:
LanguageFilesBlank linesComment linesLines of code
CSS56176,035
PHP4104911,308
JavaScript27369499

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.45
Average class complexity104.00
▷ Minimum class complexity32.00
▷ Maximum class complexity176.00
Average method complexity6.42
▷ Minimum method complexity1.00
▷ Maximum method complexity32.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods38
▷ Static methods00.00%
▷ Public methods38100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.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
7 PNG files occupy 0.20MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/images/sproutedweb-logo.png101.49KB57.82KB▼ 43.03%
assets/images/icons8-calendar-16.png0.31KB0.27KB▼ 11.11%
assets/images/stopwatch-1.png2.40KB1.98KB▼ 17.52%
assets/images/logo.png101.49KB57.82KB▼ 43.03%
assets/images/icons8-online-support-16.png0.54KB0.56KB0.00%