Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▼1.06MB] [CPU: ▼204.38ms] Passed 4 tests
Server-side resources used by WP GestSup Connector
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.57 ▼0.26 | 10.45 ▼25.77 |
Dashboard /wp-admin | 2.59 ▼0.46 | 11.78 ▼37.98 |
Posts /wp-admin/edit.php | 2.59 ▼0.52 | 8.69 ▼66.82 |
Add New Post /wp-admin/post-new.php | 2.59 ▼2.84 | 9.67 ▼685.07 |
Media Library /wp-admin/upload.php | 2.59 ▼0.41 | 9.56 ▼27.63 |
Server storage [IO: ▲8.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 441 new files
Database: no new tables, 1 new option
New WordPress options |
---|
recovery_mode_email_last_sent |
Browser metrics Passed 4 tests
Checking browser requirements for WP GestSup Connector
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,759 ▼837 | 14.57 ▼1.12 | 7.08 ▼3.22 | 43.79 ▼6.22 |
Dashboard /wp-admin | 2,049 ▼882 | 2.03 ▼4.12 | 58.77 ▼104.47 | 115.11 ▼3.26 |
Posts /wp-admin/edit.php | 3,026 ▲287 | 7.23 ▲4.54 | 156.47 ▲29.60 | 92.29 ▼12.72 |
Add New Post /wp-admin/post-new.php | 1,545 ▼138 | 18.25 ▼0.55 | 381.23 ▼5.54 | 127.48 ▲5.57 |
Media Library /wp-admin/upload.php | 1,874 ▲64 | 6.63 ▲1.63 | 164.60 ▲12.24 | 127.22 ▼4.84 |
Gestsup Connector /wp-admin/crb_carbon_fields_container_gestsup_connector.php | 26 | 0.90 | 0.06 | 11.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin cannot be uninstalled
- > Warning in wp-content/plugins/wp-gestsup-connector/inc/admin/class-options.php+7
The use statement with non-compound name 'add_action' has no effect
- This plugin did not uninstall successfully, leaving 1 option in the database
- recovery_mode_email_last_sent
Smoke tests 25% 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)
The smoke test was a success, however most plugin functionality was not tested
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
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wp-gestsup-connector/inc/vendor/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php
- 117× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Condition' not found in wp-content/plugins/wp-gestsup-connector/inc/vendor/htmlburger/carbon-fields/core/Container/Condition/Blog_ID_Condition.php:8
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Fulfillable\\Translator\\Translator' not found in wp-content/plugins/wp-gestsup-connector/inc/vendor/htmlburger/carbon-fields/core/Container/Fulfillable/Translator/Array_Translator.php:11
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Select_Field' not found in wp-content/plugins/wp-gestsup-connector/inc/vendor/htmlburger/carbon-fields/core/Field/Radio_Image_Field.php:8
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Datastore\\Key_Value_Datastore' not found in wp-content/plugins/wp-gestsup-connector/inc/vendor/htmlburger/carbon-fields/core/Datastore/Widget_Datastore.php:11
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Container' not found in wp-content/plugins/wp-gestsup-connector/inc/vendor/htmlburger/carbon-fields/core/Container/Post_Meta_Container.php:14
- > PHP Fatal error
Uncaught Error: Interface 'Carbon_Fields\\Datastore\\Datastore_Holder_Interface' not found in wp-content/plugins/wp-gestsup-connector/inc/vendor/htmlburger/carbon-fields/core/Field/Field.php:18
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Event\\PersistentListener' not found in wp-content/plugins/wp-gestsup-connector/inc/vendor/htmlburger/carbon-fields/core/Event/SingleEventListener.php:5
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Container' not found in wp-content/plugins/wp-gestsup-connector/inc/vendor/htmlburger/carbon-fields/core/Container/User_Meta_Container.php:9
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Select_Field' not found in wp-content/plugins/wp-gestsup-connector/inc/vendor/htmlburger/carbon-fields/core/Field/Radio_Field.php:8
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Service\\Service' not found in wp-content/plugins/wp-gestsup-connector/inc/vendor/htmlburger/carbon-fields/core/Service/Meta_Query_Service.php:12
- > PHP Fatal error
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 take a look at the following user-side issues
- > GET request to /wp-admin/crb_carbon_fields_container_gestsup_connector.php
- > Network (severe)
wp-admin/crb_carbon_fields_container_gestsup_connector.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: gestsup, ticket, support, helpdesk, connector
wp-gestsup-connector/wp-gestsup-connector.php Passed 13 tests
The main PHP file in "WP GestSup Connector" ver. 1.5.4 adds more information about the plugin and also serves as the entry point for this plugin
51 characters long description:
Connect your WordPress site to the helpdesk GestSup
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
Everything looks great! No dangerous files found in this plugin28,628 lines of code in 400 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 169 | 4,873 | 7,893 | 12,000 |
PHP | 149 | 2,593 | 6,281 | 9,315 |
PO File | 18 | 1,530 | 2,139 | 3,509 |
CSS | 9 | 349 | 1,071 | 1,696 |
Sass | 45 | 289 | 0 | 1,525 |
JSON | 4 | 0 | 0 | 358 |
HTML | 2 | 10 | 2 | 118 |
Markdown | 3 | 24 | 0 | 68 |
Bourne Shell | 1 | 11 | 19 | 39 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 8.36 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 2.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 24 | |
Interfaces | 5 | |
Traits | 0 | |
Classes | 124 | |
▷ Abstract classes | 11 | 8.87% |
▷ Concrete classes | 113 | 91.13% |
▷ Final classes | 1 | 0.88% |
Methods | 912 | |
▷ Static methods | 103 | 11.29% |
▷ Public methods | 746 | 81.80% |
▷ Protected methods | 163 | 17.87% |
▷ Private methods | 3 | 0.33% |
Functions | 111 | |
▷ Named functions | 33 | 29.73% |
▷ Anonymous functions | 78 | 70.27% |
Constants | 34 | |
▷ Global constants | 9 | 26.47% |
▷ Class constants | 25 | 73.53% |
▷ Public constants | 25 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/icon.png | 0.71KB | 0.76KB | 0.00% |