Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.18ms] Passed 4 tests
Analyzing server-side resources used by Name: WP e-Commerce Free Checkout
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.25 ▼1.17 |
Dashboard /wp-admin | 3.32 ▲0.02 | 47.69 ▼8.02 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 45.84 ▲0.81 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 85.14 ▼12.10 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 35.20 ▲0.57 |
Server storage [IO: ▲0.92MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Name: WP e-Commerce Free Checkout
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 14.78 ▲0.20 | 1.78 ▼0.60 | 47.15 ▼0.31 |
Dashboard /wp-admin | 2,206 ▲15 | 4.80 ▼1.10 | 113.38 ▼7.52 | 44.84 ▼1.97 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.00 ▼0.02 | 33.48 ▼2.07 | 35.49 ▲0.09 |
Add New Post /wp-admin/post-new.php | 1,529 ▲8 | 23.32 ▲0.06 | 605.97 ▼93.84 | 52.42 ▼3.40 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.19 ▼0.02 | 103.24 ▲2.95 | 44.93 ▲2.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
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
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wp-e-commerce-free-checkout/wp-e-commerce-free-checkout.php:24
- > PHP Fatal error
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)
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 81% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== Name: WP e-Commerce Free Checkout===
) - Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
- Screenshots: These screenshots require images: #1 (Example Free Checkout Shopping Cart using $0.00 price item.), #2 (Example Free Checkout Confirmation page using $0.00 price item.), #3 (Example Free Checkout Shopping Cart using 100% discount coupon.), #4 (Example Free Checkout Confirmation page using 100% discount coupon.)
wp-e-commerce-free-checkout/wp-e-commerce-free-checkout.php Passed 13 tests
The main PHP script in "Name: WP e-Commerce Free Checkout" version 1.0.3 is automatically included on every request by WordPress
82 characters long description:
Allows purchase of products when the total price is $0.00 for WordPress e-Commerce
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected46 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 56 | 21 | 46 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
There are no PNG files in this plugin