Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼149.80ms] Passed 4 tests
An overview of server-side resources used by Woo Auction
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.67 ▼0.05 | 19.35 ▼2.29 |
Dashboard /wp-admin | 3.15 ▲0.09 | 33.55 ▼9.86 |
Posts /wp-admin/edit.php | 3.03 ▼0.08 | 24.78 ▼19.37 |
Add New Post /wp-admin/post-new.php | 5.50 ▲0.07 | 90.24 ▼567.68 |
Media Library /wp-admin/upload.php | 3.08 ▲0.08 | 31.37 ▼0.10 |
News /wp-admin/edit.php?post_type=sm_shortcode&page=woo-auction/news.php | 2.83 | 19.51 |
Auction Report /wp-admin/edit.php?post_type=product&page=wauc-auction-report | 2.83 | 21.70 |
Server storage [IO: ▲1.95MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 36 new files
Database: 2 new tables, 2 new options
New tables |
---|
wp_wauc_winners |
wp_wauc_auction_log |
New WordPress options |
---|
recovery_mode_email_last_sent |
widget_wauc_auction_widget_demo |
Browser metrics Passed 4 tests
An overview of browser requirements for Woo Auction
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,261 ▼335 | 16.11 ▲0.42 | 0.96 ▼7.71 | 10.63 ▼35.90 |
Dashboard /wp-admin | 2,989 ▲58 | 6.12 ▲0.03 | 136.99 ▼13.81 | 118.53 ▲1.05 |
Posts /wp-admin/edit.php | 45 ▼2,694 | 0.90 ▼1.82 | 0.06 ▼62.14 | 26.79 ▼68.68 |
Add New Post /wp-admin/post-new.php | 1,512 ▼160 | 18.56 ▼0.35 | 371.66 ▼9.36 | 105.24 ▼7.57 |
Media Library /wp-admin/upload.php | 1,829 ▲25 | 5.04 ▲0.02 | 147.05 ▲4.89 | 120.66 ▲2.51 |
News /wp-admin/edit.php?post_type=sm_shortcode&page=woo-auction/news.php | 28 | 0.90 | 0.06 | 11.93 |
Auction Report /wp-admin/edit.php?post_type=product&page=wauc-auction-report | 28 | 0.90 | 0.05 | 11.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie tables detected upon uninstall: 2 tables
- wp_wauc_auction_log
- wp_wauc_winners
- Zombie WordPress options detected upon uninstall: 2 options
- recovery_mode_email_last_sent
- widget_wauc_auction_widget_demo
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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
Almost there! Just fix the following items
- 7× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/woo-auction/auction-report-admin.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/woo-auction/news.php:30
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/woo-auction/product-loop.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/woo-auction/auction-admin.php:27
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/woo-auction/ajax-action.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/woo-auction/editor.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/woo-auction/pro-demo.php:2
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
These are user-side errors you should fix
- > GET request to /wp-admin/edit.php?post_type=sm_shortcode&page=woo-auction/news.php
- > Network (severe)
wp-admin/edit.php?post_type=sm_shortcode&page=woo-auction/news.php - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/edit.php?post_type=product&page=wauc-auction-report
- > Network (severe)
wp-admin/edit.php?post_type=product&page=wauc-auction-report - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 90% 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
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
woo-auction/woo-auction.php 85% from 13 tests
The main file in "Woo Auction" v. 1.0.2 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:
- Requires at least: Required version must be the same as the one declared in readme.txt ("3.0.1" instead of "4.0")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin24,166 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 8 | 1,471 | 1,629 | 10,669 |
CSS | 3 | 1 | 9 | 7,530 |
PHP | 12 | 460 | 578 | 2,745 |
SVG | 1 | 0 | 0 | 2,671 |
LESS | 1 | 2 | 4 | 528 |
JSON | 1 | 0 | 0 | 23 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 27.36 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 92.00 |
Average method complexity | 3.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.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 | 121 | |
▷ Static methods | 72 | 59.50% |
▷ Public methods | 121 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 22 | |
▷ Named functions | 11 | 50.00% |
▷ Anonymous functions | 11 | 50.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected