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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.01MB] [CPU: ▼7.09ms] 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
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 39.66 ▼2.10 |
Dashboard /wp-admin | 3.31 ▼0.04 | 47.13 ▼13.62 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.99 ▼15.43 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 93.91 ▲9.08 |
Media Library /wp-admin/upload.php | 3.24 ▲0.00 | 35.18 ▲2.81 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Brijpay Link
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲54 | 14.22 ▲0.08 | 1.70 ▼0.00 | 37.60 ▼5.14 |
Dashboard /wp-admin | 2,189 ▲11 | 5.59 ▼0.10 | 97.37 ▼14.71 | 42.94 ▼3.12 |
Posts /wp-admin/edit.php | 2,097 ▼13 | 2.03 ▲0.09 | 39.64 ▼11.25 | 36.19 ▼9.58 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.07 ▼0.14 | 569.51 ▼44.67 | 45.89 ▼9.81 |
Media Library /wp-admin/upload.php | 1,403 ▲6 | 4.22 ▲0.03 | 96.49 ▼4.37 | 40.94 ▼0.24 |
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
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
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
Optimizations
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, products, credit card, gateway, payment...
brijpay-link/brijpay-link.php Passed 13 tests
The entry point to "Brijpay Link" version 2.4.6 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 plugin2,333 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 621 | 461 | 2,188 |
Markdown | 2 | 88 | 0 | 145 |
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 code | 0.27 |
Average class complexity | 15.57 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 59.00 |
Average method complexity | 3.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 89 | |
▷ Static methods | 7 | 7.87% |
▷ Public methods | 50 | 56.18% |
▷ Protected methods | 31 | 34.83% |
▷ Private methods | 8 | 8.99% |
Functions | 11 | |
▷ Named functions | 7 | 63.64% |
▷ Anonymous functions | 4 | 36.36% |
Constants | 7 | |
▷ Global constants | 6 | 85.71% |
▷ Class constants | 1 | 14.29% |
▷ Public constants | 1 | 100.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 | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/brijpay-logo.png | 7.54KB | 3.06KB | ▼ 59.42% |
assets/images/brijpay-pay-logo.png | 5.49KB | 2.96KB | ▼ 46.08% |