Benchmarks
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
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.25 ▲0.53 | 49.62 ▲27.27 |
Dashboard /wp-admin | 3.56 ▲0.51 | 51.43 ▲8.90 |
Posts /wp-admin/edit.php | 3.61 ▲0.50 | 52.56 ▲7.79 |
Add New Post /wp-admin/post-new.php | 5.86 ▲0.43 | 93.85 ▼577.46 |
Media Library /wp-admin/upload.php | 3.44 ▲0.44 | 40.31 ▲6.32 |
Recommended /wp-admin/plugins.php?page=swsffs-recommended-plugins | 3.61 | 38.92 |
New Ticket /wp-admin/admin.php?page=swsffs-new-ticket | 3.39 | 32.46 |
Book a Call /wp-admin/admin.php?page=swsffs-book-a-call | 3.41 | 33.83 |
Settings /wp-admin/admin.php?page=swsffs-settings | 3.41 | 46.20 |
Dashboard /wp-admin/admin.php?page=swsffs | 3.41 | 31.84 |
Resourses /wp-admin/admin.php?page=swsffs-resources | 3.41 | 35.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
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,769 ▲173 | 15.79 ▲0.24 | 8.00 ▼0.34 | 51.77 ▲4.55 |
Dashboard /wp-admin | 3,034 ▲100 | 5.93 ▲0.01 | 146.60 ▼7.23 | 121.15 ▲3.87 |
Posts /wp-admin/edit.php | 2,807 ▲68 | 2.69 ▲0.00 | 70.98 ▲3.91 | 97.62 ▲6.33 |
Add New Post /wp-admin/post-new.php | 1,639 ▲58 | 18.88 ▲0.82 | 395.92 ▼11.90 | 110.52 ▼2.88 |
Media Library /wp-admin/upload.php | 1,875 ▲71 | 5.05 ▲0.03 | 159.63 ▲7.62 | 136.47 ▲7.84 |
Recommended /wp-admin/plugins.php?page=swsffs-recommended-plugins | 1,496 | 2.24 | 61.48 | 91.61 |
New Ticket /wp-admin/admin.php?page=swsffs-new-ticket | 1,094 | 2.09 | 58.31 | 88.49 |
Book a Call /wp-admin/admin.php?page=swsffs-book-a-call | 7,012 | 14.52 | 478.39 | 108.07 |
Settings /wp-admin/admin.php?page=swsffs-settings | 1,172 | 2.24 | 62.49 | 93.35 |
Dashboard /wp-admin/admin.php?page=swsffs | 1,207 | 2.22 | 62.41 | 86.10 |
Resourses /wp-admin/admin.php?page=swsffs-resources | 1,239 | 2.22 | 54.47 | 102.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
- > PHP Fatal error
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>)"
Optimizations
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:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 503 | 1,692 | 2,135 |
JavaScript | 1 | 0 | 0 | 9 |
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 code | 0.51 |
Average class complexity | 48.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 206.00 |
Average method complexity | 4.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 101 | |
▷ Static methods | 5 | 4.95% |
▷ Public methods | 78 | 77.23% |
▷ Protected methods | 23 | 22.77% |
▷ Private methods | 0 | 0.00% |
Functions | 15 | |
▷ Named functions | 15 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.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 | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/elegant-themes.png | 15.11KB | 5.34KB | ▼ 64.66% |
admin/images/imagify.png | 21.26KB | 8.41KB | ▼ 60.43% |
admin/images/ext.png | 0.22KB | 0.22KB | 0.44% |
admin/images/stoute.png | 53.01KB | 21.19KB | ▼ 60.02% |
admin/images/flywheel.png | 80.15KB | 36.39KB | ▼ 54.59% |