Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/wp-systempay/front/systempay/ws_systempay_currencies.class.php+3
Methods with the same name as their class will not be constructors in a future version of PHP; SystempayCurrency has a deprecated constructor
Server metrics [RAM: ▼1.95MB] [CPU: ▼56.00ms] Passed 4 tests
An overview of server-side resources used by wp-systempay
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.08 ▼1.42 | 4.48 ▼38.06 |
Dashboard /wp-admin | 2.10 ▼1.24 | 6.85 ▼44.40 |
Posts /wp-admin/edit.php | 2.10 ▼1.30 | 6.39 ▼45.17 |
Add New Post /wp-admin/post-new.php | 2.10 ▼3.83 | 8.10 ▼96.38 |
Media Library /wp-admin/upload.php | 2.10 ▼1.17 | 5.73 ▼32.16 |
Genre /wp-admin/edit-tags.php?taxonomy=genre | 2.10 | 5.31 |
transactions /wp-admin/admin.php?page=WS_transactions_menu | 2.10 | 5.44 |
List all /wp-admin/admin.php?page=WS_main | 2.10 | 5.98 |
/wp-admin/admin.php?page=WS_edit | 2.10 | 6.63 |
/wp-admin/admin.php?page=WS_transactions | 2.10 | 6.45 |
Config /wp-admin/admin.php?page=WS_config | 2.10 | 7.09 |
/wp-admin/admin.php?page=WS_transaction | 2.10 | 5.17 |
Add new /wp-admin/admin.php?page=WS_newForm | 2.10 | 6.55 |
Server storage [IO: ▲1.16MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 240 new files
Database: 6 new tables, 8 new options
New tables |
---|
wp_payform_transactions |
wp_payform_wsconfig |
wp_payform_forms |
wp_payform_inputs |
wp_payform_generalconfig |
wp_payform_configurations |
New WordPress options |
---|
db_upgraded |
WS_main_page |
widget_recent-posts |
widget_recent-comments |
wp_systempay_db_version |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by wp-systempay
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲66 | 14.34 ▲0.06 | 1.91 ▲0.10 | 41.14 ▲0.19 |
Dashboard /wp-admin | 2,230 ▲56 | 5.64 ▼0.03 | 82.37 ▼8.29 | 75.79 ▲35.27 |
Posts /wp-admin/edit.php | 2,171 ▲71 | 1.98 ▼0.00 | 37.61 ▼2.86 | 32.75 ▼7.51 |
Add New Post /wp-admin/post-new.php | 1,557 ▲20 | 23.46 ▲5.31 | 665.09 ▲38.91 | 52.23 ▼20.77 |
Media Library /wp-admin/upload.php | 1,438 ▲35 | 4.29 ▲0.17 | 98.57 ▼8.41 | 82.24 ▲36.58 |
Genre /wp-admin/edit-tags.php?taxonomy=genre | 1,315 | 2.12 | 29.73 | 30.75 |
transactions /wp-admin/admin.php?page=WS_transactions_menu | 831 | 2.31 | 26.08 | 24.35 |
List all /wp-admin/admin.php?page=WS_main | 842 | 2.00 | 25.94 | 27.79 |
/wp-admin/admin.php?page=WS_edit | 857 | 1.99 | 32.93 | 27.76 |
/wp-admin/admin.php?page=WS_transactions | 925 | 2.10 | 33.40 | 28.44 |
Config /wp-admin/admin.php?page=WS_config | 1,262 | 2.04 | 24.66 | 27.21 |
/wp-admin/admin.php?page=WS_transaction | 1,014 | 1.99 | 23.19 | 29.04 |
Add new /wp-admin/admin.php?page=WS_newForm | 3,314 | 2.36 | 46.93 | 44.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 25% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/wp-systempay/front/systempay/ws_systempay_currencies.class.php+3
Methods with the same name as their class will not be constructors in a future version of PHP; SystempayCurrency has a deprecated constructor
- The plugin did not uninstall successfully, leaving 6 tables in the database
- wp_payform_inputs
- wp_payform_transactions
- wp_payform_generalconfig
- wp_payform_wsconfig
- wp_payform_forms
- wp_payform_configurations
- Zombie WordPress options were found after uninstall: 8 options
- can_compress_scripts
- db_upgraded
- wp_systempay_db_version
- WS_main_page
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
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
These errors were triggered by the plugin
- 10 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=WS_newForm
- > POST request to /wp-admin/admin-ajax.php
- > Deprecated in wp-content/plugins/wp-systempay/front/systempay/ws_systempay_currencies.class.php+3
Methods with the same name as their class will not be constructors in a future version of PHP; SystempayCurrency has a deprecated constructor
- 25 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=WS_newForm
- > POST request to /wp-admin/admin-ajax.php
- > User deprecated in wp-includes/functions.php+5453
Function get_page_by_title is deprecated since version 6.2.0! Use WP_Query instead.
- 7 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=WS_newForm
- > User notice in wp-includes/functions.php+5905
Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.0.)
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=WS_newForm
- > Notice in wp-content/plugins/wp-systempay/admin/wscontroller.class.php+316
Undefined index: WS_action
- > GET request to /wp-admin/admin.php?page=WS_edit
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method WSAjax::loadinputs_editform_ajax() should not be called statically
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=WS_newForm
- > Notice in wp-content/plugins/wp-systempay/admin/view/ws_config_inputs.php+3
Undefined index: WS_id
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=WS_newForm
- > POST request to /wp-admin/admin-ajax.php
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method WSAjax::getJSONInputs() should not be called statically
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=WS_edit
- > POST request to /wp-admin/admin-ajax.php
- > Notice in wp-content/plugins/wp-systempay/ajax/wsajax.class.php+55
Undefined index: WS_plateforme
- > GET request to /wp-admin/admin.php?page=WS_edit
- > POST request to /wp-admin/admin-ajax.php
- > Notice in wp-content/plugins/wp-systempay/ajax/wsajax.class.php+72
Undefined variable: WS_configurations
- > GET request to /wp-admin/admin.php?page=WS_edit
- > POST request to /wp-admin/admin-ajax.php
- > Notice in wp-content/plugins/wp-systempay/ajax/wsajax.class.php+72
Undefined variable: WS_additionals_inputs
- > GET request to /wp-admin/admin.php?page=WS_edit
- > POST request to /wp-admin/admin-ajax.php
- > Notice in wp-content/plugins/wp-systempay/ajax/wsajax.class.php+72
Undefined variable: WS_customer_inputs
- 20 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=WS_newForm
- > Notice in wp-content/plugins/wp-systempay/admin/view/ws_config_inputs.php+119
Undefined property: stdClass::$setup
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=WS_newForm
- > Notice in wp-content/plugins/wp-systempay/admin/view/ws_config_inputs.php+21
Trying to get property 'from' of non-object
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=WS_newForm
- > Notice in wp-content/plugins/wp-systempay/admin/view/ws_config_inputs.php+25
Trying to get property 'email' of non-object
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=WS_newForm
- > Notice in wp-content/plugins/wp-systempay/admin/view/ws_config_inputs.php+72
Undefined property: stdClass::$sendmail
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=WS_newForm
- > Notice in wp-content/plugins/wp-systempay/admin/view/ws_config_inputs.php+72
Trying to get property 'path' of non-object
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=WS_newForm
- > Notice in wp-content/plugins/wp-systempay/admin/view/ws_config_inputs.php+83
Undefined property: stdClass::$order_format
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=WS_newForm
- > Notice in wp-content/plugins/wp-systempay/admin/view/ws_config_inputs.php+83
Trying to get property 'name' of non-object
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=WS_newForm
- > Notice in wp-content/plugins/wp-systempay/admin/view/ws_config_inputs.php+98
Trying to get property 'active' of non-object
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=WS_newForm
- > Notice in wp-content/plugins/wp-systempay/admin/view/ws_config_inputs.php+92
Trying to get property 'thanks' of non-object
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=WS_newForm
- > Notice in wp-content/plugins/wp-systempay/admin/view/ws_config_inputs.php+95
Trying to get property 'tax' of non-object
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=WS_newForm
- > Notice in wp-content/plugins/wp-systempay/admin/view/ws_config_inputs.php+98
Trying to get property 'admin' of non-object
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=WS_newForm
- > Notice in wp-content/plugins/wp-systempay/admin/view/ws_config_inputs.php+103
Trying to get property 'title_success' of non-object
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=WS_newForm
- > Notice in wp-content/plugins/wp-systempay/admin/view/ws_config_inputs.php+107
Trying to get property 'title_error' of non-object
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=WS_newForm
- > Notice in wp-content/plugins/wp-systempay/admin/view/ws_config_inputs.php+111
Trying to get property 'msg_success' of non-object
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=WS_newForm
- > Notice in wp-content/plugins/wp-systempay/admin/view/ws_config_inputs.php+115
Trying to get property 'msg_error' of non-object
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=WS_newForm
- > Notice in wp-content/plugins/wp-systempay/admin/view/ws_config_inputs.php+119
Trying to get property 'email_admin' of non-object
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=WS_newForm
- > Notice in wp-content/plugins/wp-systempay/admin/view/ws_config_inputs.php+149
Undefined property: stdClass::$pages
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=WS_newForm
- > Notice in wp-content/plugins/wp-systempay/admin/view/ws_config_inputs.php+130
Trying to get property 'confirm' of non-object
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=WS_newForm
- > Notice in wp-content/plugins/wp-systempay/admin/view/ws_config_inputs.php+149
Trying to get property 'id' of non-object
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=WS_newForm
- > Notice in wp-content/plugins/wp-systempay/admin/view/ws_config_inputs.php+139
Trying to get property 'return' of non-object
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=WS_newForm
- > Notice in wp-content/plugins/wp-systempay/admin/view/ws_config_inputs.php+149
Trying to get property 'analysis' of non-object
- > GET request to /wp-admin/admin.php?page=WS_transaction
- > Notice in wp-content/plugins/wp-systempay/admin/wscontroller.class.php+412
Undefined index: transaction_id
- > GET request to /wp-admin/admin.php?page=WS_transaction
- > Notice in wp-content/plugins/wp-systempay/admin/view/ws_transaction_details.php+12
Trying to get property 'transaction_order_id' of non-object
- > GET request to /wp-admin/admin.php?page=WS_transaction
- > Notice in wp-content/plugins/wp-systempay/admin/view/ws_transaction_details.php+13
Trying to get property 'transaction_plateforme' of non-object
- > GET request to /wp-admin/admin.php?page=WS_transaction
- > Notice in wp-content/plugins/wp-systempay/admin/view/ws_transaction_details.php+14
Trying to get property 'transaction_command_certificat' of non-object
- > GET request to /wp-admin/admin.php?page=WS_transaction
- > Notice in wp-content/plugins/wp-systempay/admin/view/ws_transaction_details.php+26
Trying to get property 'transaction_command_statut' of non-object
- > GET request to /wp-admin/admin.php?page=WS_transaction
- > Notice in wp-content/plugins/wp-systempay/admin/view/ws_transaction_details.php+27
Trying to get property 'transaction_command_extrastatut' of non-object
- > GET request to /wp-admin/admin.php?page=WS_transaction
- > Notice in wp-content/plugins/wp-systempay/admin/view/ws_transaction_details.php+28
Trying to get property 'transaction_command_auth' of non-object
- > GET request to /wp-admin/admin.php?page=WS_transaction
- > Notice in wp-content/plugins/wp-systempay/admin/view/ws_transaction_details.php+29
Trying to get property 'transaction_command_3dsecure' of non-object
- > GET request to /wp-admin/admin.php?page=WS_transaction
- > Notice in wp-content/plugins/wp-systempay/admin/view/ws_transaction_details.php+41
Trying to get property 'transaction_command_date' of non-object
- > GET request to /wp-admin/admin.php?page=WS_transaction
- > Notice in wp-content/plugins/wp-systempay/admin/view/ws_transaction_details.php+42
Trying to get property 'transaction_command_amount' of non-object
- > GET request to /wp-admin/admin.php?page=WS_transaction
- > Notice in wp-content/plugins/wp-systempay/admin/view/ws_transaction_details.php+43
Trying to get property 'transaction_command_currency' of non-object
- > GET request to /wp-admin/admin.php?page=WS_transaction
- > Notice in wp-content/plugins/wp-systempay/admin/view/ws_transaction_details.php+44
Trying to get property 'transaction_command_info' of non-object
- > GET request to /wp-admin/admin.php?page=WS_transaction
- > Notice in wp-content/plugins/wp-systempay/admin/view/ws_transaction_details.php+62
Trying to get property 'transaction_customer_name' of non-object
- > GET request to /wp-admin/admin.php?page=WS_transaction
- > Notice in wp-content/plugins/wp-systempay/admin/view/ws_transaction_details.php+63
Trying to get property 'transaction_command_cardnumber' of non-object
- > GET request to /wp-admin/admin.php?page=WS_transaction
- > Notice in wp-content/plugins/wp-systempay/admin/view/ws_transaction_details.php+64
Trying to get property 'transaction_customer_address' of non-object
- > GET request to /wp-admin/admin.php?page=WS_transaction
- > Notice in wp-content/plugins/wp-systempay/admin/view/ws_transaction_details.php+65
Trying to get property 'transaction_customer_zip' of non-object
- > GET request to /wp-admin/admin.php?page=WS_transaction
- > Notice in wp-content/plugins/wp-systempay/admin/view/ws_transaction_details.php+66
Trying to get property 'transaction_customer_city' of non-object
- > GET request to /wp-admin/admin.php?page=WS_transaction
- > Notice in wp-content/plugins/wp-systempay/admin/view/ws_transaction_details.php+67
Trying to get property 'transaction_customer_country' of non-object
- > GET request to /wp-admin/admin.php?page=WS_transaction
- > Notice in wp-content/plugins/wp-systempay/admin/view/ws_transaction_details.php+68
Trying to get property 'transaction_customer_phone' of non-object
- > GET request to /wp-admin/admin.php?page=WS_transaction
- > Notice in wp-content/plugins/wp-systempay/admin/view/ws_transaction_details.php+69
Trying to get property 'transaction_customer_cellphone' of non-object
- > GET request to /wp-admin/admin.php?page=WS_transaction
- > Notice in wp-content/plugins/wp-systempay/admin/view/ws_transaction_details.php+70
Trying to get property 'transaction_customer_email' of non-object
- > GET request to /wp-admin/admin.php?page=WS_transaction
- > Notice in wp-content/plugins/wp-systempay/admin/view/ws_transaction_details.php+76
Trying to get property 'transaction_otherinfos_json' of non-object
- > GET request to /wp-admin/admin.php?page=WS_transaction
- > Warning in wp-content/plugins/wp-systempay/admin/view/ws_transaction_details.php+78
Invalid argument supplied for foreach()
- > GET request to /wp-admin/admin.php?page=WS_newForm
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method WSAjax::loadinputs_newform_ajax() should not be called statically
- 12 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=WS_newForm
- > Notice in wp-content/plugins/wp-systempay/admin/view/ws_custom_inputs.php+138
Undefined variable: input
- > GET request to /wp-admin/admin.php?page=WS_newForm
- > Notice in wp-content/plugins/wp-systempay/admin/view/ws_custom_inputs.php+84
Trying to get property 'input_label' of non-object
- 9 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=WS_newForm
- > Notice in wp-content/plugins/wp-systempay/admin/view/ws_custom_inputs.php+95
Trying to get property 'input_type' of non-object
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=WS_newForm
- > Notice in wp-content/plugins/wp-systempay/admin/view/ws_custom_inputs.php+138
Trying to get property 'input_options' of non-object
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/wp-systempay/templates/emails_templates/success_email.php
- > /wp-content/plugins/wp-systempay/templates/emails_templates/error_email.php
- 148× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Swift_Transport_AbstractSmtpTransport' not found in wp-content/plugins/wp-systempay/inc/swift_mailer/lib/classes/Swift/Transport/SendmailTransport.php:22
- > PHP Fatal error
Uncaught Error: Interface 'Swift_Encoder' not found in wp-content/plugins/wp-systempay/inc/swift_mailer/lib/classes/Swift/Mime/HeaderEncoder.php:17
- > PHP Fatal error
Uncaught Error: Class 'Swift_SwiftException' not found in wp-content/plugins/wp-systempay/inc/swift_mailer/lib/classes/Swift/IoException.php:16
- > PHP Fatal error
Uncaught Error: Class 'WSTools' not found in wp-content/plugins/wp-systempay/admin/classes/wsmanager.class.php:2
- > PHP Fatal error
Uncaught Error: Interface 'Swift_StreamFilter' not found in wp-content/plugins/wp-systempay/inc/swift_mailer/lib/classes/Swift/StreamFilters/ByteArrayReplacementFilter.php:17
- > PHP Fatal error
Uncaught Error: Class 'Swift_Mime_Headers_AbstractHeader' not found in wp-content/plugins/wp-systempay/inc/swift_mailer/lib/classes/Swift/Mime/Headers/MailboxHeader.php:17
- > PHP Fatal error
Uncaught Error: Interface 'Swift_Events_TransportChangeListener' not found in wp-content/plugins/wp-systempay/inc/swift_mailer/lib/classes/Swift/Plugins/PopBeforeSmtpPlugin.php:19
- > PHP Fatal error
Uncaught Error: Class 'Swift_ByteStream_AbstractFilterableInputStream' not found in wp-content/plugins/wp-systempay/inc/swift_mailer/lib/classes/Swift/ByteStream/FileByteStream.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-systempay/admin/view/ws_edit.php:4
- > PHP Fatal error
Uncaught Error: Interface 'Swift_Spool' not found in wp-content/plugins/wp-systempay/inc/swift_mailer/lib/classes/Swift/ConfigurableSpool.php:16
- > 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)
These are user-side errors you should fix
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=WS_newForm
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: Cannot read properties of undefined (reading 'msie')" "TypeError: Cannot read properties of undefined (reading 'msie')\n at e.\u003Ccomputed>.chosen (/wp-content/plugins/wp-systempay/inc/chosen.jquery.min.js?ver=6.3.1:10:5202)\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/wp-systempay/inc/script.js?ver=6.3.1:7:21)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=WS_newForm
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: Cannot read properties of undefined (reading 'msie')
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== wp-systempay ===
)
wp-systempay/wp-systempay.php 92% from 13 tests
The main PHP file in "wp-systempay" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 141 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected15,288 lines of code in 211 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 198 | 2,304 | 7,794 | 12,713 |
PO File | 1 | 667 | 834 | 1,320 |
CSS | 6 | 125 | 268 | 666 |
JavaScript | 5 | 51 | 52 | 555 |
Markdown | 1 | 21 | 0 | 34 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 7.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 111.00 |
Average method complexity | 2.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 44 | |
Traits | 0 | |
Classes | 121 | |
▷ Abstract classes | 5 | 4.13% |
▷ Concrete classes | 116 | 95.87% |
▷ Final classes | 0 | 0.00% |
Methods | 1,138 | |
▷ Static methods | 29 | 2.55% |
▷ Public methods | 961 | 84.45% |
▷ Protected methods | 67 | 5.89% |
▷ Private methods | 110 | 9.67% |
Functions | 31 | |
▷ Named functions | 31 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 38 | |
▷ Global constants | 4 | 10.53% |
▷ Class constants | 34 | 89.47% |
▷ Public constants | 34 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
6 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/admin/img/glyphicons-halflings.png | 12.50KB | 10.35KB | ▼ 17.19% |
css/admin/img/chosen-sprite.png | 0.55KB | 0.70KB | 0.00% |
images/sort_asc.png | 1.00KB | 0.10KB | ▼ 89.81% |
css/admin/img/glyphicons-halflings-white.png | 8.57KB | 9.20KB | 0.00% |
images/sort_desc.png | 2.76KB | 0.10KB | ▼ 96.32% |