Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.27ms] Passed 4 tests
An overview of server-side resources used by Boopis WooCommerce RFQ
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 46.59 ▲5.30 |
Dashboard /wp-admin | 3.33 ▲0.02 | 48.57 ▼2.94 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 47.17 ▼1.22 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 80.24 ▼15.57 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.46 ▲2.65 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 47 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Boopis WooCommerce RFQ
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.29 ▼1.00 | 1.97 ▲0.22 | 41.81 ▼4.99 |
Dashboard /wp-admin | 2,209 ▲18 | 5.84 ▲0.97 | 99.99 ▼16.50 | 40.25 ▼6.65 |
Posts /wp-admin/edit.php | 2,089 ▲21 | 2.02 ▼0.01 | 39.36 ▲3.30 | 34.82 ▲1.95 |
Add New Post /wp-admin/post-new.php | 1,514 ▼11 | 17.58 ▼5.48 | 640.15 ▼33.83 | 51.99 ▼3.88 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.23 ▲0.07 | 95.48 ▼1.06 | 43.26 ▲1.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/boopis-woocommerce-rfq/templates/rfq_settings.php
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Tags: There are too many tags (27 tag instead of maximum 10)
boopis-woocommerce-rfq/boopis-rfq.php 85% from 13 tests
The main file in "Boopis WooCommerce RFQ" v. 3.0.9 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 144 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("boopis-woocommerce-rfq.php" instead of "boopis-rfq.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin3,183 lines of code in 43 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 38 | 873 | 510 | 2,617 |
JavaScript | 3 | 91 | 44 | 379 |
PO File | 1 | 86 | 97 | 182 |
CSS | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 29.91 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 102.00 |
Average method complexity | 4.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 65.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 94 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 92 | 97.87% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 2.13% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
1 PNG file occupies 0.08MB with 0.04MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/blue_ad.png | 78.00KB | 38.83KB | ▼ 50.21% |