Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼2.19ms] Passed 4 tests
This is a short check of server-side resources used by Briqpay B2B Registration Form
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 38.24 ▼6.03 |
Dashboard /wp-admin | 3.38 ▲0.08 | 51.79 ▼1.36 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 55.43 ▲1.67 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 101.79 ▼0.71 |
Media Library /wp-admin/upload.php | 3.30 ▲0.08 | 37.06 ▼0.65 |
Briqpay Signup Plugin Settings /wp-admin/options-general.php?page=briqpay-signup-settings-page | 3.27 | 35.39 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Briqpay B2B Registration Form
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.66 ▼0.92 | 4.72 ▲2.90 | 40.65 ▼4.46 |
Dashboard /wp-admin | 2,213 ▲28 | 4.84 ▼0.11 | 105.50 ▼2.80 | 37.92 ▼7.41 |
Posts /wp-admin/edit.php | 2,093 ▲7 | 2.04 ▼0.01 | 39.11 ▲1.60 | 34.31 ▼0.18 |
Add New Post /wp-admin/post-new.php | 1,539 ▲25 | 23.00 ▲5.56 | 588.47 ▼54.98 | 59.51 ▲7.90 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.15 ▼0.07 | 97.11 ▼6.17 | 45.75 ▲1.75 |
Briqpay Signup Plugin Settings /wp-admin/options-general.php?page=briqpay-signup-settings-page | 819 | 2.04 | 24.73 | 26.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/briqpay-signup-addon/class-briqpay-api-request.php:41
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
6 plugin tags: briqpay, useraccount, user, registration, account...
briqpay-signup-addon/briqpay-wordpress-signup.php 77% from 13 tests
The main PHP file in "Briqpay B2B Registration Form" ver. 1.1.1 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Requires PHP: The required version number must match the one declared in readme.txt ("7.4" instead of "7.2")
- Requires at least: The required version number must match the one declared in readme.txt ("5.9" instead of "4.0")
- Main file name: It is recommended to name the main PHP file as the plugin slug ("briqpay-signup-addon.php" instead of "briqpay-wordpress-signup.php")
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
No dangerous file extensions were detected448 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 33 | 167 | 369 |
Markdown | 1 | 17 | 0 | 76 |
JSON | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 8.67 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 2.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 15 | 88.24% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 11.76% |
Functions | 8 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 8 | 100.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected