10% wp-systempay

Code Review | wp-systempay

WordPress plugin wp-systempay scored10%from 54 tests.

About plugin

  • Plugin page: wp-systempay
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-3.9.2
  • WordPress version: 6.3.1
  • First release: Sep 1, 2014
  • Latest release: Sep 1, 2014
  • Number of updates: 3
  • Update frequency: every 3.7 days
  • Top authors: soixantecircuits (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,157 total downloads

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
PageMemory (MB)CPU Time (ms)
Home /2.08 ▼1.424.48 ▼38.06
Dashboard /wp-admin2.10 ▼1.246.85 ▼44.40
Posts /wp-admin/edit.php2.10 ▼1.306.39 ▼45.17
Add New Post /wp-admin/post-new.php2.10 ▼3.838.10 ▼96.38
Media Library /wp-admin/upload.php2.10 ▼1.175.73 ▼32.16
Genre /wp-admin/edit-tags.php?taxonomy=genre2.105.31
transactions /wp-admin/admin.php?page=WS_transactions_menu2.105.44
List all /wp-admin/admin.php?page=WS_main2.105.98
/wp-admin/admin.php?page=WS_edit2.106.63
/wp-admin/admin.php?page=WS_transactions2.106.45
Config /wp-admin/admin.php?page=WS_config2.107.09
/wp-admin/admin.php?page=WS_transaction2.105.17
Add new /wp-admin/admin.php?page=WS_newForm2.106.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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,827 ▲6614.34 ▲0.061.91 ▲0.1041.14 ▲0.19
Dashboard /wp-admin2,230 ▲565.64 ▼0.0382.37 ▼8.2975.79 ▲35.27
Posts /wp-admin/edit.php2,171 ▲711.98 ▼0.0037.61 ▼2.8632.75 ▼7.51
Add New Post /wp-admin/post-new.php1,557 ▲2023.46 ▲5.31665.09 ▲38.9152.23 ▼20.77
Media Library /wp-admin/upload.php1,438 ▲354.29 ▲0.1798.57 ▼8.4182.24 ▲36.58
Genre /wp-admin/edit-tags.php?taxonomy=genre1,3152.1229.7330.75
transactions /wp-admin/admin.php?page=WS_transactions_menu8312.3126.0824.35
List all /wp-admin/admin.php?page=WS_main8422.0025.9427.79
/wp-admin/admin.php?page=WS_edit8571.9932.9327.76
/wp-admin/admin.php?page=WS_transactions9252.1033.4028.44
Config /wp-admin/admin.php?page=WS_config1,2622.0424.6627.21
/wp-admin/admin.php?page=WS_transaction1,0141.9923.1929.04
Add new /wp-admin/admin.php?page=WS_newForm3,3142.3646.9344.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

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 === )
The official readme.txt is a good inspiration

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:
LanguageFilesBlank linesComment linesLines of code
PHP1982,3047,79412,713
PO File16678341,320
CSS6125268666
JavaScript55152555
Markdown121034

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 code0.27
Average class complexity7.33
▷ Minimum class complexity1.00
▷ Maximum class complexity111.00
Average method complexity2.08
▷ Minimum method complexity1.00
▷ Maximum method complexity31.00
Code structure
Namespaces0
Interfaces44
Traits0
Classes121
▷ Abstract classes54.13%
▷ Concrete classes11695.87%
▷ Final classes00.00%
Methods1,138
▷ Static methods292.55%
▷ Public methods96184.45%
▷ Protected methods675.89%
▷ Private methods1109.67%
Functions31
▷ Named functions31100.00%
▷ Anonymous functions00.00%
Constants38
▷ Global constants410.53%
▷ Class constants3489.47%
▷ Public constants34100.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
FileSize - originalSize - compressedSavings
css/admin/img/glyphicons-halflings.png12.50KB10.35KB▼ 17.19%
css/admin/img/chosen-sprite.png0.55KB0.70KB0.00%
images/sort_asc.png1.00KB0.10KB▼ 89.81%
css/admin/img/glyphicons-halflings-white.png8.57KB9.20KB0.00%
images/sort_desc.png2.76KB0.10KB▼ 96.32%