100% brijpay-link

Code Review | Brijpay Link

WordPress plugin Brijpay Link scored 100% from 54 tests.

About plugin

  • Plugin page: brijpay-link
  • Plugin version: 2.1.1
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.8
  • WordPress version: 5.8.1
  • First release: Sep 13, 2020
  • Latest release: Sep 9, 2021
  • Number of updates: 28
  • Update frequency: every 12.9 days
  • Top authors: brijpaysupport (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

10+ active / 653 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors

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

This is a short check of server-side resources used by Brijpay Link
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.83 ▲0.1236.79 ▲12.61
Dashboard /wp-admin3.06 ▲0.0052.75 ▲7.60
Posts /wp-admin/edit.php3.11 ▲0.0048.17 ▲2.26
Add New Post /wp-admin/post-new.php5.42 ▼0.01100.45 ▼571.47
Media Library /wp-admin/upload.php3.00 ▼0.0135.22 ▼4.66

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

How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 18 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

A check of browser resources used by Brijpay Link
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,703 ▲10715.89 ▼0.0011.38 ▲2.9455.46 ▲7.84
Dashboard /wp-admin2,967 ▲335.91 ▼0.01142.41 ▼7.19117.98 ▼0.66
Posts /wp-admin/edit.php2,739 ▼02.69 ▼0.0069.72 ▼7.0794.03 ▲1.77
Add New Post /wp-admin/post-new.php1,683 ▲9218.69 ▼0.14393.30 ▲14.08113.24 ▼8.57
Media Library /wp-admin/upload.php1,807 ▼05.04 ▲0.03162.92 ▼4.85123.90 ▼12.56

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 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
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected


Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
10 plugin tags: users, credit card, mindbody, woocommerce, payment...

brijpay-link/brijpay-link.php Passed 13 tests

The entry point to "Brijpay Link" version 2.1.1 is a PHP file that has certain tags in its header comment area
85 characters long description:
WooCommerce Inventory Sync with Mindbody with several tokenized payment integrations.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin1,646 lines of code in 14 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.28
Average class complexity13.31
▷ Minimum class complexity2.00
▷ Maximum class complexity44.00
Average method complexity3.30
▷ Minimum method complexity1.00
▷ Maximum method complexity17.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes13100.00%
▷ Final classes00.00%
▷ Static methods57.25%
▷ Public methods4057.97%
▷ Protected methods2231.88%
▷ Private methods710.14%
▷ Named functions350.00%
▷ Anonymous functions350.00%
▷ Global constants4100.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
2 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/images/brijpay-pay-logo.png5.49KB2.96KB▼ 46.08%
assets/images/brijpay-logo.png7.54KB3.06KB▼ 59.42%