Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼8.19ms] Passed 4 tests
A check of server-side resources used by Inquiry cart
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 35.55 ▼6.39 |
Dashboard /wp-admin | 3.33 ▲0.02 | 50.04 ▲1.21 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 43.81 ▼5.67 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 83.22 ▼21.91 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 38.27 ▲2.82 |
Inquiry Cart /wp-admin/options-general.php?page=inquiry-cart/inquiry-cart.php | 3.21 | 30.18 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
rd_ic_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Inquiry cart
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.52 ▼1.02 | 1.79 ▲0.14 | 44.47 ▼4.40 |
Dashboard /wp-admin | 2,210 ▲21 | 5.79 ▲0.73 | 95.20 ▼14.62 | 40.64 ▼2.35 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.01 ▼0.03 | 36.31 ▼0.34 | 32.60 ▲1.43 |
Add New Post /wp-admin/post-new.php | 1,536 ▲22 | 23.06 ▲5.50 | 607.66 ▼89.70 | 48.77 ▼14.23 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.22 ▲0.07 | 93.75 ▼18.35 | 41.28 ▼3.04 |
Inquiry Cart /wp-admin/options-general.php?page=inquiry-cart/inquiry-cart.php | 837 | 2.05 | 23.19 | 25.98 |
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
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- 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 no errors were found, this is by no means an exhaustive test
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
Please fix the following items
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/inquiry-cart/includes/settings-page.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/inquiry-cart/includes/inquiry-cart-shortcode.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/inquiry-cart/includes/add-remove-shortcode.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/inquiry-cart/inquiry-cart.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
2 plugin tags: inquiry cart, cart
inquiry-cart/inquiry-cart.php 92% from 13 tests
The main PHP script in "Inquiry cart" version 0... is automatically included on every request by WordPress
Please take the time to fix the following:
- Version: Use only periods and digits for the version number (ex. "1.0.3" instead of "0...")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected165 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 41 | 72 | 165 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
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 | 7 | |
▷ Named functions | 7 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin