Benchmarks
Plugin footprint 48% 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.00MB] [CPU: ▼0.78ms] Passed 4 tests
Server-side resources used by RiskSeal Anti-Fraud Solution for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 39.55 ▲1.06 |
Dashboard /wp-admin | 3.31 ▲0.00 | 48.95 ▼0.14 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.95 ▼0.48 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 88.58 ▼0.64 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.53 ▼1.85 |
Server storage [IO: ▲1.33MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
RiskSeal Anti-Fraud Solution for WooCommerce: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲79 | 13.25 ▼1.12 | 2.25 ▲0.37 | 43.77 ▲2.84 |
Dashboard /wp-admin | 2,221 ▲18 | 5.83 ▲0.96 | 117.58 ▲6.23 | 43.27 ▼1.57 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.00 ▼0.05 | 35.81 ▼7.03 | 35.84 ▼3.92 |
Add New Post /wp-admin/post-new.php | 1,545 ▼0 | 22.81 ▼0.20 | 661.04 ▲48.87 | 53.57 ▲9.05 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.28 ▲0.00 | 102.80 ▼1.25 | 42.33 ▼2.54 |
Uninstaller [IO: ▲1.33MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the followingThe uninstall procedure has failed, leaving 7 options in the database
- This plugin cannot be uninstalled
- > Error in wp-content/plugins/riskseal-anti-fraud-solution-for-woocommerce/uninstall.php+18
Uncaught Error: Call to undefined function WC() in wp-content/plugins/riskseal-anti-fraud-solution-for-woocommerce/uninstall.php:18
Stack trace:
#0 wp-admin/includes/plugin.php(1245): include_once()
#1 wp-admin/includes/plugin.php(960): uninstall_plugin() - The plugin did not uninstall successfully, leaving 25 files (1.33MB) in the plugin directory
- (new file) css/fork-awesome.min.css
- (new file) css/v5-compat.css
- (new file) config.php
- (new file) fonts/forkawesome-webfont.eot
- (new file) css/fork-awesome.min.css.map
- (new file) changelog.txt
- (new file) css/fork-awesome.css
- (new file) css/v5-compat.min.css
- (new file) css/v5-compat.min.css.map
- (new file) README.md
- ...
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- recovery_mode_email_last_sent
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/riskseal-anti-fraud-solution-for-woocommerce/config.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/riskseal-anti-fraud-solution-for-woocommerce/lib/plugin-links.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/riskseal-anti-fraud-solution-for-woocommerce/lib/riskseal-cron.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: chargeback prevention, prevent fake orders, fraud prevention, security, fraud detection
riskseal-anti-fraud-solution-for-woocommerce/riskseal.php 92% from 13 tests
"RiskSeal Anti-Fraud Solution for WooCommerce" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("riskseal-anti-fraud-solution-for-woocommerce.php" instead of "riskseal.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
Good job! No executable or dangerous file extensions detected6,916 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 3 | 3,229 |
CSS | 4 | 16 | 36 | 3,151 |
PHP | 10 | 117 | 104 | 528 |
JavaScript | 1 | 2 | 0 | 6 |
Markdown | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 9.75 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 3.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 16 | |
▷ Static methods | 16 | 100.00% |
▷ Public methods | 16 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 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
There are no PNG files in this plugin