78% invelity-gls-online-connect

Code Review | Invelity GLS online connect

WordPress plugin Invelity GLS online connect scored78%from 54 tests.

About plugin

  • Plugin page: invelity-gls-onli...
  • Plugin version: 1.2.4
  • PHP compatiblity: 7.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.8.1-6.0.3
  • WordPress version: 6.3.1
  • First release: Mar 29, 2018
  • Latest release: Oct 24, 2022
  • Number of updates: 16
  • Update frequency: every 104.8 days
  • Top authors: invelity (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

100+ active /2,870 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully

Server metrics [RAM: ▲0.17MB] [CPU: ▼9.07ms] Passed 4 tests

Server-side resources used by Invelity GLS online connect
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.64 ▲0.1739.44 ▼1.94
Dashboard /wp-admin3.50 ▲0.1552.70 ▼10.41
Posts /wp-admin/edit.php3.61 ▲0.2550.14 ▼2.79
Add New Post /wp-admin/post-new.php6.08 ▲0.1984.28 ▼21.13
Media Library /wp-admin/upload.php3.42 ▲0.1937.00 ▼0.76
Invelity plugins /wp-admin/admin.php?page=invelity-plugins3.39176.73
Gls online connect /wp-admin/admin.php?page=invelity-gls-export3.39196.35

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

Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 36 new files
Database: no new tables, 7 new options
New WordPress options
widget_recent-comments
widget_theysaidso_widget
theysaidso_admin_options
invelity_gls_export_options
widget_recent-posts
db_upgraded
can_compress_scripts

Browser metrics Passed 4 tests

Invelity GLS online connect: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,814 ▲5314.17 ▼0.452.25 ▲0.5742.54 ▲4.52
Dashboard /wp-admin2,223 ▲465.66 ▼0.0297.70 ▲6.2041.93 ▼0.46
Posts /wp-admin/edit.php2,125 ▲252.02 ▲0.0133.75 ▼1.3436.17 ▼0.68
Add New Post /wp-admin/post-new.php1,551 ▲2123.34 ▼0.04686.78 ▲12.9751.84 ▲2.38
Media Library /wp-admin/upload.php1,419 ▲194.14 ▲0.02101.41 ▼15.6443.19 ▼3.89
Invelity plugins /wp-admin/admin.php?page=invelity-plugins1,0892.0426.1095.60
Gls online connect /wp-admin/admin.php?page=invelity-gls-export9782.0526.2751.49

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • This plugin did not uninstall successfully, leaving 7 options in the database
    • theysaidso_admin_options
    • db_upgraded
    • can_compress_scripts
    • widget_recent-comments
    • widget_theysaidso_widget
    • invelity_gls_export_options
    • widget_recent-posts

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test

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
Please fix the following items
  • 1× PHP files perform the action of outputting non-empty strings when accessed directly:
    • > /wp-content/plugins/invelity-gls-online-connect/invelity-gls-online-connect.php
  • 10× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Warning
      require_once(Mail/mimeDecode.php): failed to open stream: No such file or directory in wp-content/plugins/invelity-gls-online-connect/lib/nusoap/nusoapmime.php on line 42
    • > PHP Fatal error
      Uncaught Error: Class 'nusoap_base' not found in wp-content/plugins/invelity-gls-online-connect/lib/nusoap/class.wsdl.php:15
    • > PHP Fatal error
      Uncaught Error: Class 'nusoap_base' not found in wp-content/plugins/invelity-gls-online-connect/lib/nusoap/class.soap_transport_http.php:15
    • > PHP Fatal error
      require_once(): Failed opening required 'Mail/mimeDecode.php' (include_path='.:/usr/share/php') in wp-content/plugins/invelity-gls-online-connect/lib/nusoap/nusoapmime.php on line 42
    • > PHP Fatal error
      Uncaught Error: Class 'nusoap_base' not found in wp-content/plugins/invelity-gls-online-connect/lib/nusoap/class.soap_parser.php:15
    • > PHP Fatal error
      Uncaught Error: Class 'nusoap_base' not found in wp-content/plugins/invelity-gls-online-connect/lib/nusoap/class.soap_fault.php:14
    • > PHP Fatal error
      Uncaught Error: Class 'nusoap_base' not found in wp-content/plugins/invelity-gls-online-connect/lib/nusoap/class.soap_val.php:17
    • > PHP Fatal error
      Uncaught Error: Class 'nusoap_base' not found in wp-content/plugins/invelity-gls-online-connect/lib/nusoap/class.soapclient.php:26
    • > PHP Fatal error
      Uncaught Error: Class 'nusoap_base' not found in wp-content/plugins/invelity-gls-online-connect/lib/nusoap/class.soap_server.php:16
    • > PHP Fatal error
      Uncaught Error: Class 'nusoap_base' not found in wp-content/plugins/invelity-gls-online-connect/lib/nusoap/class.xmlschema.php:15

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
  • Contributors: The plugin contributors field is not present
Please take inspiration from this readme.txt

invelity-gls-online-connect/invelity-gls-online-connect.php 92% from 13 tests

"Invelity GLS online connect" version 1.2.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
  • Description: Please keep the plugin description shorter than 140 characters (currently 225 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected12,348 lines of code in 23 files:
LanguageFilesBlank linesComment linesLines of code
PHP169875,19912,279
JSON30041
SVG30227
CSS1001

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 code0.48
Average class complexity73.74
▷ Minimum class complexity1.00
▷ Maximum class complexity389.00
Average method complexity8.33
▷ Minimum method complexity1.00
▷ Maximum method complexity82.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes38
▷ Abstract classes00.00%
▷ Concrete classes38100.00%
▷ Final classes00.00%
Methods377
▷ Static methods00.00%
▷ Public methods37198.41%
▷ Protected methods00.00%
▷ Private methods61.59%
Functions6
▷ Named functions6100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin