83% pipwave-woocommerce

Code Review | pipwave WooCommerce

WordPress plugin pipwave WooCommerce scored 83% from 54 tests.

About plugin

  • Plugin page: pipwave-woocommerce
  • Plugin version: 1.1.4
  • PHP version: 7.4.16
  • WordPress compatibility: 4.1-4.5
  • WordPress version: 6.3.1
  • First release: Sep 2, 2016
  • Latest release: Dec 13, 2017
  • Number of updates: 52
  • Update frequency: every 9.0 days
  • Top authors: dpodium (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 1,033 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully

Server metrics [RAM: ▲0.00MB] [CPU: ▼5.57ms] Passed 4 tests

An overview of server-side resources used by pipwave WooCommerce
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0036.80 ▼1.36
Dashboard /wp-admin3.31 ▲0.0045.88 ▼2.71
Posts /wp-admin/edit.php3.36 ▲0.0047.88 ▼2.86
Add New Post /wp-admin/post-new.php5.89 ▲0.0084.15 ▼15.33
Media Library /wp-admin/upload.php3.23 ▲0.0034.52 ▲3.12

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
widget_theysaidso_widget
db_upgraded
theysaidso_admin_options
widget_recent-comments
can_compress_scripts

Browser metrics Passed 4 tests

A check of browser resources used by pipwave WooCommerce
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,806 ▲6013.63 ▼0.761.69 ▲0.0242.00 ▼0.77
Dashboard /wp-admin2,206 ▲155.87 ▲0.98104.22 ▼10.0639.22 ▼3.37
Posts /wp-admin/edit.php2,094 ▲22.00 ▼0.0242.09 ▲7.5034.49 ▼1.35
Add New Post /wp-admin/post-new.php1,520 ▲623.44 ▲5.95649.87 ▼37.7853.15 ▼3.53
Media Library /wp-admin/upload.php1,388 ▲34.26 ▲0.0595.85 ▼5.0243.18 ▼0.86

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
The following items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-posts
    • widget_recent-comments
    • can_compress_scripts
    • theysaidso_admin_options

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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/pipwave-woocommerce/wc-pipwave.php:25

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

readme.txt 81% 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:
  • Screenshots: Screenshot #8 (Sample checkout page after order is placed. Payment methods will be shown for buyer to choose to make payment.) image not found
  • Tags: You are using too many tags: 13 tag instead of maximum 10
  • Screenshots: Please describe screenshot #7 in pipwave-woocommerce/assets to your readme.txt
Please take inspiration from this readme.txt

pipwave-woocommerce/wc-pipwave.php 92% from 13 tests

"pipwave WooCommerce" version 1.1.4'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: The principal plugin file should be the same as the plugin slug ("pipwave-woocommerce.php" instead of "wc-pipwave.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected410 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP13852410

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.32
Average class complexity48.00
▷ Minimum class complexity48.00
▷ Maximum class complexity48.00
Average method complexity4.62
▷ Minimum method complexity1.00
▷ Maximum method complexity33.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods13
▷ Static methods00.00%
▷ Public methods1184.62%
▷ Protected methods00.00%
▷ Private methods215.38%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
images/pipwave.png3.16KB2.20KB▼ 30.20%