83% digital-signature-checkout-for-woocommerce

Code Review | Digital Signature Checkout For Woocommerce

WordPress plugin Digital Signature Checkout For Woocommerce scored 83% from 54 tests.

About plugin

  • Plugin page: digital-signature...
  • Plugin version: 1.0
  • PHP compatiblity: 5.0+
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Oct 28, 2022
  • Latest release: Jul 3, 2023
  • Number of updates: 7
  • Update frequency: every 35.7 days
  • Top authors: howdytheme (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

100+ active / 441 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.03MB] [CPU: ▼7.58ms] Passed 4 tests

Analyzing server-side resources used by Digital Signature Checkout For Woocommerce
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.43 ▼0.0325.94 ▼16.20
Dashboard /wp-admin3.35 ▲0.0541.28 ▼5.80
Posts /wp-admin/edit.php3.40 ▲0.0546.92 ▼0.93
Add New Post /wp-admin/post-new.php5.95 ▲0.0792.57 ▲2.40
Media Library /wp-admin/upload.php3.27 ▲0.0539.22 ▼7.37

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

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
theysaidso_admin_options
db_upgraded
widget_recent-comments
can_compress_scripts
widget_recent-posts

Browser metrics Passed 4 tests

This is an overview of browser requirements for Digital Signature Checkout For Woocommerce
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,486 ▼27113.45 ▼0.920.66 ▼1.4418.28 ▼30.88
Dashboard /wp-admin2,227 ▲395.15 ▼0.74110.78 ▲9.6943.65 ▲1.09
Posts /wp-admin/edit.php2,109 ▲202.34 ▲0.2840.79 ▲3.7233.65 ▲0.55
Add New Post /wp-admin/post-new.php1,532 ▼123.43 ▲0.28651.64 ▼63.1444.48 ▼9.29
Media Library /wp-admin/upload.php1,409 ▲214.47 ▲0.27116.63 ▲6.2647.62 ▲5.72

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

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

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test

SRP 50% 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
Please fix the following items
  • 3× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/digital-signature-checkout-for-woocommerce/digital-signature-checkout-main.php:12
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/digital-signature-checkout-for-woocommerce/front/csffw_frontend.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/digital-signature-checkout-for-woocommerce/admin/csffw_backend.php:2

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected

Optimizations

Plugin configuration 87% from 29 tests

readme.txt 88% 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: You can take inspiration from this readme.txt

digital-signature-checkout-for-woocommerce/digital-signature-checkout-main.php 85% from 13 tests

"Digital Signature Checkout For Woocommerce" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("digital-signature-checkout-for-woocommerce.php" instead of "digital-signature-checkout-main.php")
  • Domain Path: The domain path points to a folder that does not exist ("/languages")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin512 lines of code in 9 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript358154316
PHP33415151
CSS30045

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.10
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions11
▷ Named functions11100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin