Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.06ms] Passed 4 tests
A check of server-side resources used by WooCommerce Flutterwave Payment Gateway
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 36.40 ▼5.23 |
Dashboard /wp-admin | 3.32 ▲0.01 | 45.46 ▼2.85 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.19 ▼1.15 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 83.71 ▼7.00 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.99 ▲2.78 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WooCommerce Flutterwave Payment Gateway
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.19 ▼1.01 | 1.75 ▲0.01 | 39.50 ▼6.72 |
Dashboard /wp-admin | 2,209 ▲21 | 5.90 ▲1.00 | 114.33 ▼3.96 | 41.23 ▲1.76 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.06 ▲0.08 | 41.07 ▼1.19 | 34.18 ▼2.92 |
Add New Post /wp-admin/post-new.php | 1,528 ▲14 | 23.32 ▲5.67 | 658.69 ▼56.09 | 50.41 ▼5.92 |
Media Library /wp-admin/upload.php | 1,382 ▼9 | 4.43 ▲0.20 | 99.92 ▼1.98 | 40.55 ▼1.83 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Tags: You are using too many tags: 15 tag instead of maximum 10
woo-rave/woo-rave.php 92% from 13 tests
The entry point to "WooCommerce Flutterwave Payment Gateway" version 2.3.1 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Requires at least: Required version must be the same as the one declared in readme.txt ("5.6" instead of "6.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected975 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 412 | 233 | 880 |
JavaScript | 4 | 24 | 7 | 95 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 51.50 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 90.00 |
Average method complexity | 4.74 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 26 | 96.30% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 3.70% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/powered-by-rave.png | 22.93KB | 7.86KB | ▼ 65.70% |