Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼150.12ms] Passed 4 tests
A check of server-side resources used by Better Pricing for WC Paid Listings
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 35.47 ▲15.68 |
Dashboard /wp-admin | 3.07 ▲0.01 | 43.58 ▼1.35 |
Posts /wp-admin/edit.php | 3.12 ▼0.00 | 42.67 ▼9.06 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.01 | 80.11 ▼582.89 |
Media Library /wp-admin/upload.php | 3.01 ▲0.00 | 25.62 ▼7.18 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Better Pricing for WC Paid Listings
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲66 | 15.87 ▲0.28 | 12.06 ▲1.78 | 47.44 ▲6.11 |
Dashboard /wp-admin | 2,967 ▲30 | 5.95 ▼0.17 | 134.52 ▼6.76 | 107.66 ▼4.99 |
Posts /wp-admin/edit.php | 2,736 ▼3 | 2.72 ▼0.00 | 69.22 ▲1.62 | 93.92 ▲3.22 |
Add New Post /wp-admin/post-new.php | 1,678 ▲178 | 18.74 ▲0.11 | 358.57 ▼18.23 | 111.94 ▼2.18 |
Media Library /wp-admin/upload.php | 1,810 ▲3 | 5.06 ▲0.03 | 147.79 ▲4.94 | 113.07 ▼3.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/better-pricing-wc-paid-listings/shortcode-job-package-button.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/better-pricing-wc-paid-listings/shortcode-job-package-button.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
3 plugin tags: pricing, sales, job board
better-pricing-wc-paid-listings/better-pricing-wc-paid-listings.php Passed 13 tests
The principal PHP file in "Better Pricing for WC Paid Listings" v. 1.0.1 is loaded by WordPress automatically on each request
127 characters long description:
Boost your sales by building a custom pricing page and skip the limited "Choose a Package" screen provided by WC Paid Listings.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected19 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 6 | 9 | 19 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.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
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin