Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼15.99MB] [CPU: ▼3,316,547.42ms] Passed 4 tests
This is a short check of server-side resources used by SeerBit Payment Gateway plugin for WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.01 | 38.98 ▼7.16 |
Dashboard /wp-admin | 3.36 ▼64.00 | 52.50 ▼13,266,167.30 |
Posts /wp-admin/edit.php | 3.41 ▲0.01 | 60.21 ▲8.10 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.01 | 91.54 ▼15.54 |
Media Library /wp-admin/upload.php | 3.29 ▲0.01 | 37.64 ▲0.34 |
Server storage [IO: ▲0.69MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by SeerBit Payment Gateway plugin for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,791 ▲30 | 14.16 ▼0.48 | 1.74 ▼0.13 | 41.87 ▼6.30 |
Dashboard /wp-admin | 2,191 ▲11 | 5.55 ▼0.06 | 87.90 ▼9.74 | 38.42 ▼7.04 |
Posts /wp-admin/edit.php | 2,105 ▲5 | 2.02 ▲0.02 | 40.69 ▲0.84 | 40.99 ▲2.79 |
Add New Post /wp-admin/post-new.php | 1,528 ▲2 | 23.19 ▲0.31 | 705.22 ▲45.33 | 58.78 ▲10.22 |
Media Library /wp-admin/upload.php | 1,402 ▲2 | 4.18 ▼0.01 | 96.90 ▼7.94 | 42.69 ▼1.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 81% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Requires at least: Invalid plugin version format
- Tags: There are too many tags (12 tag instead of maximum 10)
- Contributors: The plugin contributors field is not present
infobvandevliet-nl/seerbit-payment.php 85% from 13 tests
The main PHP file in "SeerBit Payment Gateway plugin for WooCommerce" ver. 1.3.8 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("infobvandevliet-nl.php" instead of "seerbit-payment.php")
- Requires at least: Periods and digits should be used for the required version number (ex. "7.0" instead of "")
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 detected733 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 119 | 168 | 579 |
CSS | 2 | 13 | 66 | 108 |
JavaScript | 1 | 8 | 16 | 45 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 24.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 68.00 |
Average method complexity | 5.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 1 | 33.33% |
▷ Concrete classes | 2 | 66.67% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 1 | 5.56% |
▷ Public methods | 18 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 3 | 42.86% |
▷ Class constants | 4 | 57.14% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.07MB with 0.03MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/icon-128x128.png | 2.87KB | 1.66KB | ▼ 42.06% |
assets/img/seerbit.png | 65.66KB | 36.48KB | ▼ 44.43% |