77% finally-free-support

Code Review | Finally Free Support

WordPress plugin Finally Free Support scored 77% from 54 tests.

About plugin

  • Plugin page: finally-free-support
  • Plugin version: 2.0.3
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.5-4.9.8
  • WordPress version: 5.8.1
  • First release: Nov 11, 2018
  • Latest release: Dec 1, 2018
  • Number of updates: 4
  • Update frequency: every 5.0 days
  • Top authors: stoute (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 377 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.47MB] [CPU: ▼138.61ms] Passed 4 tests

This is a short check of server-side resources used by Finally Free Support
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.25 ▲0.5349.62 ▲27.27
Dashboard /wp-admin3.56 ▲0.5151.43 ▲8.90
Posts /wp-admin/edit.php3.61 ▲0.5052.56 ▲7.79
Add New Post /wp-admin/post-new.php5.86 ▲0.4393.85 ▼577.46
Media Library /wp-admin/upload.php3.44 ▲0.4440.31 ▲6.32
Recommended /wp-admin/plugins.php?page=swsffs-recommended-plugins3.6138.92
New Ticket /wp-admin/admin.php?page=swsffs-new-ticket3.3932.46
Book a Call /wp-admin/admin.php?page=swsffs-book-a-call3.4133.83
Settings /wp-admin/admin.php?page=swsffs-settings3.4146.20
Dashboard /wp-admin/admin.php?page=swsffs3.4131.84
Resourses /wp-admin/admin.php?page=swsffs-resources3.4135.88

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

Filesystem and database footprint
This plugin was installed successfully
Filesystem: 30 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Finally Free Support: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,769 ▲17315.79 ▲0.248.00 ▼0.3451.77 ▲4.55
Dashboard /wp-admin3,034 ▲1005.93 ▲0.01146.60 ▼7.23121.15 ▲3.87
Posts /wp-admin/edit.php2,807 ▲682.69 ▲0.0070.98 ▲3.9197.62 ▲6.33
Add New Post /wp-admin/post-new.php1,639 ▲5818.88 ▲0.82395.92 ▼11.90110.52 ▼2.88
Media Library /wp-admin/upload.php1,875 ▲715.05 ▲0.03159.63 ▲7.62136.47 ▲7.84
Recommended /wp-admin/plugins.php?page=swsffs-recommended-plugins1,4962.2461.4891.61
New Ticket /wp-admin/admin.php?page=swsffs-new-ticket1,0942.0958.3188.49
Book a Call /wp-admin/admin.php?page=swsffs-book-a-call7,01214.52478.39108.07
Settings /wp-admin/admin.php?page=swsffs-settings1,1722.2462.4993.35
Dashboard /wp-admin/admin.php?page=swsffs1,2072.2262.4186.10
Resourses /wp-admin/admin.php?page=swsffs-resources1,2392.2254.47102.04

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
This plugin's uninstaller ran successfully

Smoke tests 0% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
    • > GET request to /wp-admin/admin.php?page=swsffs-new-ticket
    • > Notice in wp-content/plugins/finally-free-support/includes/pages/new-ticket.php+8
    Undefined index: action

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
Almost there! Just fix the following items
  • 1× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/finally-free-support/admin/css/inline-style.php
  • 2× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function did_action() in wp-content/plugins/finally-free-support/includes/class-tgm-plugin-activation.php:2109
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/finally-free-support/includes/settings.php:20

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following user-side errors
    • > GET request to /wp-admin/admin.php?page=swsffs-book-a-call
    • > Console-api (warning) in unknown
    https://bookme.name/js/booklikeaboss.embed.js?i=3546&h=fyRmttagBPMPODkgyQfSNTG6g4PL3PkuRTW14hqjLMl4CTEjGGKPwwNY0uG1 8:870 "[iFrameSizer][Host page: blab_embed_3546_fyRmttagBPMPODkgyQfSNTG6g4PL3PkuRTW14hqjLMl4CTEjGGKPwwNY0uG1]" "IFrame has not responded within 5 seconds. Check iFrameResizer.contentWindow.js has been loaded in iFrame. This message can be ingored if everything is working, or you can set the warningTimeout option to a higher value or zero to suppress this warning."
    • > GET request to /wp-admin/admin.php?page=swsffs-book-a-call
    • > Console-api (severe) in unknown
    https://bookme.name/build/js/embed-f84dd7b49e.js 1151:4124 "[Vue warn]: Error when evaluating expression \"is_embedded\n && !!activePackage.company_id\n && activePackage.allow_select_team_member\": TypeError: Cannot read properties of null (reading 'company_id') (found in component: \u003Cbook-me-calendar>)"


Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
3 plugin tags: help desk, support, help

finally-free-support/sws_support_plugin.php 85% from 13 tests

"Finally Free Support" version 2.0.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
  • Main file name: The principal plugin file should be the same as the plugin slug ("finally-free-support.php" instead of "sws_support_plugin.php")
  • Description: Please keep the plugin description shorter than 140 characters (currently 297 characters long)

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
Success! There were no dangerous files found in this plugin2,144 lines of code in 12 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.51
Average class complexity48.14
▷ Minimum class complexity1.00
▷ Maximum class complexity206.00
Average method complexity4.27
▷ Minimum method complexity1.00
▷ Maximum method complexity34.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes7100.00%
▷ Final classes00.00%
▷ Static methods54.95%
▷ Public methods7877.23%
▷ Protected methods2322.77%
▷ Private methods00.00%
▷ Named functions15100.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants3100.00%
▷ Public constants3100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
11 PNG files occupy 0.39MB with 0.19MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
admin/images/elegant-themes.png15.11KB5.34KB▼ 64.66%
admin/images/imagify.png21.26KB8.41KB▼ 60.43%
admin/images/stoute.png53.01KB21.19KB▼ 60.02%
admin/images/flywheel.png80.15KB36.39KB▼ 54.59%