68% jeebly-shipping

Code Review | Jeebly Shipment Delivery

WordPress plugin Jeebly Shipment Delivery scored68%from 54 tests.

About plugin

  • Plugin page: jeebly-shipping
  • Plugin version: 1.0.3
  • PHP compatiblity: 7.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-5.8.1
  • WordPress version: 6.3.1
  • First release: Dec 3, 2021
  • Latest release: Aug 10, 2022
  • Number of updates: 10
  • Update frequency: every 25.3 days
  • Top authors: jeeblyllc (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /363 total downloads

Benchmarks

Plugin footprint 65% from 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.03MB] [CPU: ▼5.53ms] Passed 4 tests

Server-side resources used by Jeebly Shipment Delivery
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0342.24 ▲2.13
Dashboard /wp-admin3.33 ▲0.0348.51 ▼8.15
Posts /wp-admin/edit.php3.38 ▲0.0351.98 ▲1.69
Add New Post /wp-admin/post-new.php5.91 ▲0.0393.44 ▼8.08
Media Library /wp-admin/upload.php3.25 ▲0.0334.08 ▼7.58

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

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 49 new files
Database: 1 new table, 6 new options
New tables
wp_sync_track_order
New WordPress options
db_upgraded
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-comments
widget_recent-posts
can_compress_scripts

Browser metrics Passed 4 tests

This is an overview of browser requirements for Jeebly Shipment Delivery
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.35 ▲0.071.87 ▲0.1944.35 ▲4.86
Dashboard /wp-admin2,189 ▲95.54 ▼0.1486.77 ▲1.9539.44 ▲0.37
Posts /wp-admin/edit.php2,100 ▼02.01 ▲0.0438.40 ▲1.4636.02 ▼0.27
Add New Post /wp-admin/post-new.php1,528 ▲222.94 ▼0.21663.69 ▼8.6548.97 ▼8.92
Media Library /wp-admin/upload.php1,394 ▼94.24 ▲0.05102.39 ▼13.5341.60 ▼8.14

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
  • Zombie tables detected upon uninstall: 1 table
    • wp_sync_track_order
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-comments
    • widget_recent-posts
    • theysaidso_admin_options
    • can_compress_scripts
    • db_upgraded
    • widget_theysaidso_widget

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking 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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
  • 2× PHP files perform the action of outputting non-empty strings when accessed directly:
    • > /wp-content/plugins/jeebly-shipping/admin/partials/shipsy-econnect-admin-display.php
    • > /wp-content/plugins/jeebly-shipping/public/partials/shipsy-econnect-public-display.php
  • 34× PHP files trigger server errors when accessed directly (only 10 are shown):
    • > PHP Fatal error
      require_once(): Failed opening required 'SHIPSY_ECONNECT_PATHadmin/helper/helper.php' (include_path='.:/usr/share/php') in wp-content/plugins/jeebly-shipping/admin/apis/addresses-helper-api.php on line 14
    • > PHP Warning
      Use of undefined constant SHIPSY_ECONNECT_PATH - assumed 'SHIPSY_ECONNECT_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/jeebly-shipping/admin/apis/addresses-helper-api.php on line 14
    • > PHP Fatal error
      require_once(): Failed opening required 'SHIPSY_ECONNECT_PATHadmin/helper/helper.php' (include_path='.:/usr/share/php') in wp-content/plugins/jeebly-shipping/admin/partials/ec-manage.php on line 14
    • > PHP Warning
      require_once(SHIPSY_ECONNECT_PATHadmin/helper/helper.php): failed to open stream: No such file or directory in wp-content/plugins/jeebly-shipping/admin/apis/shipping-label-download-api.php on line 14
    • > PHP Warning
      Use of undefined constant SHIPSY_ECONNECT_PATH - assumed 'SHIPSY_ECONNECT_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/jeebly-shipping/admin/partials/ec-setup.php on line 14
    • > PHP Fatal error
      require_once(): Failed opening required 'SHIPSY_ECONNECT_PATHadmin/helper/helper.php' (include_path='.:/usr/share/php') in wp-content/plugins/jeebly-shipping/admin/partials/ec-vseries.php on line 14
    • > PHP Warning
      require_once(SHIPSY_ECONNECT_PATHadmin/helper/helper.php): failed to open stream: No such file or directory in wp-content/plugins/jeebly-shipping/admin/apis/addresses-helper-api.php on line 14
    • > PHP Warning
      Use of undefined constant SHIPSY_ECONNECT_PATH - assumed 'SHIPSY_ECONNECT_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/jeebly-shipping/admin/apis/softdata-upload-api.php on line 14
    • > PHP Warning
      Use of undefined constant SHIPSY_ECONNECT_PATH - assumed 'SHIPSY_ECONNECT_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/jeebly-shipping/admin/partials/ec-manage.php on line 14
    • > PHP Fatal error
      require_once(): Failed opening required 'SHIPSY_ECONNECT_PATHconfig/settings.php' (include_path='.:/usr/share/php') in wp-content/plugins/jeebly-shipping/templates/myaccount/view-order.php on line 16

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 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: jeebly, shipsy, ecommerce

jeebly-shipping/shipsy-econnect.php 92% from 13 tests

Analyzing the main PHP file in "Jeebly Shipment Delivery" version 1.0.3
Please take the time to fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("jeebly-shipping.php" instead of "shipsy-econnect.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin4,997 lines of code in 43 files:
LanguageFilesBlank linesComment linesLines of code
PHP273831,0922,522
JavaScript73053141,378
CSS81433852
JSON100245

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.24
Average class complexity7.57
▷ Minimum class complexity1.00
▷ Maximum class complexity42.00
Average method complexity1.96
▷ Minimum method complexity1.00
▷ Maximum method complexity22.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes7
▷ Abstract classes00.00%
▷ Concrete classes7100.00%
▷ Final classes00.00%
Methods48
▷ Static methods00.00%
▷ Public methods4389.58%
▷ Protected methods00.00%
▷ Private methods510.42%
Functions30
▷ Named functions30100.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants3100.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 were not PNG files found in your plugin