WordPress plugin Monta Checkout scored10%from 54 tests.

About plugin

  • Plugin page: montapacking-chec...
  • Plugin version: 1.58.13
  • PHP compatiblity: 8.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0.1-6.4.1
  • WordPress version: 6.3.1
  • First release: Apr 7, 2020
  • Latest release: Nov 28, 2023
  • Number of updates: 115
  • Update frequency: every 11.6 days
  • Top authors: montapacking (100%)

Code review

54 tests

User reviews

1 review

Install metrics

30+ active /3,998 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
  • The plugin cannot be installed
    • > User error in wp-content/plugins/montapacking-checkout-woocommerce-extension/vendor/composer/platform_check.php+24
    Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.2". You are running 7.4.16.

Server metrics [RAM: ▼0.01MB] [CPU: ▼6.33ms] Passed 4 tests

A check of server-side resources used by Monta Checkout
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0034.27 ▼5.42
Dashboard /wp-admin3.31 ▼0.0447.67 ▼13.93
Posts /wp-admin/edit.php3.36 ▲0.0047.41 ▲0.55
Add New Post /wp-admin/post-new.php5.89 ▲0.0090.61 ▼6.50
Media Library /wp-admin/upload.php3.23 ▲0.0033.09 ▲1.70

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

Filesystem and database footprint
No storage issues were detected
Filesystem: 60 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
db_upgraded
widget_theysaidso_widget
widget_recent-comments
theysaidso_admin_options
can_compress_scripts

Browser metrics Passed 4 tests

Monta Checkout: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,790 ▲4314.21 ▼0.151.71 ▼0.0538.21 ▼4.52
Dashboard /wp-admin2,192 ▲125.55 ▼0.0690.26 ▼11.3239.91 ▼1.65
Posts /wp-admin/edit.php2,103 ▼02.01 ▲0.0639.47 ▲0.5336.41 ▲0.27
Add New Post /wp-admin/post-new.php1,526 ▼1323.10 ▲0.00598.39 ▼91.0852.21 ▼4.31
Media Library /wp-admin/upload.php1,403 ▲34.21 ▲0.0395.54 ▼4.4843.07 ▲2.90

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-posts
    • can_compress_scripts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP 50% 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 take a closer look at the following
  • 53× PHP files trigger server errors when accessed directly (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Interface 'Psr\\Http\\Message\\ResponseInterface' not found in wp-content/plugins/montapacking-checkout-woocommerce-extension/vendor/guzzlehttp/psr7/src/Response.php:13
    • > PHP Fatal error
      Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/montapacking-checkout-woocommerce-extension/vendor/guzzlehttp/psr7/src/InflateStream.php:20
    • > PHP Parse error
      syntax error, unexpected ')', expecting '|' or variable (T_VARIABLE) in wp-content/plugins/montapacking-checkout-woocommerce-extension/vendor/monta/checkout-api-wrapper/src/Objects/Address.php on line 123
    • > PHP Fatal error
      Uncaught Error: Interface 'GuzzleHttp\\Exception\\GuzzleException' not found in wp-content/plugins/montapacking-checkout-woocommerce-extension/vendor/guzzlehttp/guzzle/src/Exception/InvalidArgumentException.php:5
    • > PHP Fatal error
      Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/montapacking-checkout-woocommerce-extension/vendor/guzzlehttp/psr7/src/FnStream.php:16
    • > PHP Parse error
      syntax error, unexpected ':', expecting ')' in wp-content/plugins/montapacking-checkout-woocommerce-extension/montapacking-class.php on line 960
    • > PHP Fatal error
      Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/montapacking-checkout-woocommerce-extension/vendor/guzzlehttp/psr7/src/NoSeekStream.php:12
    • > PHP Fatal error
      Uncaught Error: Interface 'Psr\\Http\\Client\\ClientExceptionInterface' not found in wp-content/plugins/montapacking-checkout-woocommerce-extension/vendor/psr/http-client/src/RequestExceptionInterface.php:14
    • > PHP Fatal error
      Uncaught Error: Interface 'Psr\\Http\\Message\\RequestInterface' not found in wp-content/plugins/montapacking-checkout-woocommerce-extension/vendor/guzzlehttp/psr7/src/Request.php:15
    • > PHP Fatal error
      Uncaught Error: Interface 'GuzzleHttp\\Promise\\PromisorInterface' not found in wp-content/plugins/montapacking-checkout-woocommerce-extension/vendor/guzzlehttp/promises/src/EachPromise.php:13

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
  • Donate link: Invalid URI ("")
Please take inspiration from this readme.txt

montapacking-checkout-woocommerce-extension/montapacking-checkout.php 92% from 13 tests

The primary PHP file in "Monta Checkout" version 1.58.13 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("montapacking-checkout-woocommerce-extension.php" instead of "montapacking-checkout.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected21,272 lines of code in 172 files:
LanguageFilesBlank linesComment linesLines of code
PHP1332,8196,52712,436
Markdown181,47903,992
JavaScript46278322,955
JSON11001,110
CSS12111553
PO File2820198
HTML25027
SVG1001

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.44
Average class complexity14.17
▷ Minimum class complexity1.00
▷ Maximum class complexity190.00
Average method complexity2.67
▷ Minimum method complexity1.00
▷ Maximum method complexity37.00
Code structure
Namespaces13
Interfaces26
Traits3
Classes90
▷ Abstract classes00.00%
▷ Concrete classes90100.00%
▷ Final classes3538.89%
Methods924
▷ Static methods15716.99%
▷ Public methods80587.12%
▷ Protected methods40.43%
▷ Private methods11512.45%
Functions116
▷ Named functions2118.10%
▷ Anonymous functions9581.90%
Constants65
▷ Global constants11.54%
▷ Class constants6498.46%
▷ Public constants5382.81%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
37 PNG files occupy 0.57MB with 0.36MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/img/Trunkrs.png5.61KB1.60KB▼ 71.56%
assets/img/PostNL.png27.67KB12.40KB▼ 55.20%
assets/img/AFH.png0.72KB0.28KB▼ 61.65%
assets/img/Asendia.png22.08KB7.14KB▼ 67.65%
assets/img/Izipack.png6.44KB2.63KB▼ 59.11%