84% omnibus-for-woocommerce

Code Review | PRyC WP: Omnibus for WooCommerce

WordPress plugin PRyC WP: Omnibus for WooCommerce scored 84% from 54 tests.

About plugin

  • Plugin page: omnibus-for-wooco...
  • Plugin version: 1.1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-6.2.2
  • WordPress version: 6.3.1
  • First release: May 3, 2022
  • Latest release: Jun 20, 2023
  • Number of updates: 10
  • Update frequency: every 41.3 days
  • Top authors: PRyCpl (100%)

Code review

54 tests

User reviews

1 review

Install metrics

30+ active / 1,418 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

Server metrics [RAM: ▲0.02MB] [CPU: ▼12.76ms] Passed 4 tests

A check of server-side resources used by PRyC WP: Omnibus for WooCommerce
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0339.36 ▼0.30
Dashboard /wp-admin3.33 ▲0.0245.43 ▼3.37
Posts /wp-admin/edit.php3.38 ▲0.0243.60 ▼3.38
Add New Post /wp-admin/post-new.php5.91 ▲0.0283.63 ▼39.06
Media Library /wp-admin/upload.php3.25 ▲0.0233.42 ▼5.24

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

A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
theysaidso_admin_options
db_upgraded
can_compress_scripts
widget_theysaidso_widget
widget_recent-comments

Browser metrics Passed 4 tests

Checking browser requirements for PRyC WP: Omnibus for WooCommerce
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.63 ▼0.744.97 ▲3.3344.35 ▼0.36
Dashboard /wp-admin2,203 ▲154.87 ▼0.98102.13 ▼15.8139.52 ▼2.88
Posts /wp-admin/edit.php2,089 ▼02.03 ▼0.0835.81 ▼0.8035.01 ▲1.58
Add New Post /wp-admin/post-new.php1,539 ▼323.30 ▲4.88639.72 ▼2.3254.30 ▲3.84
Media Library /wp-admin/upload.php1,388 ▲34.20 ▲0.0198.70 ▼4.3544.02 ▼1.51

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • Zombie WordPress options detected upon uninstall: 6 options
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-comments
    • widget_theysaidso_widget
    • widget_recent-posts
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

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
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/omnibus-for-woocommerce/omnibus-for-woocommerce.php:15

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
8 plugin tags: discount, omnibus, law, eu, price...

omnibus-for-woocommerce/omnibus-for-woocommerce.php 92% from 13 tests

This is the main PHP file of "PRyC WP: Omnibus for WooCommerce" version 1.1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
  • Description: Please don't use more than 140 characters for the plugin description (currently 288 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected85 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP1221849
PO File181036

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.24
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%
Functions4
▷ Named functions375.00%
▷ Anonymous functions125.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected