Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.96ms] Passed 4 tests
An overview of server-side resources used by Product Display for BigCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 44.06 ▲5.49 |
Dashboard /wp-admin | 3.32 ▲0.01 | 46.10 ▲3.05 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 43.71 ▼0.44 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 79.25 ▼17.65 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.27 ▼0.80 |
Product Display for BigCommerce /wp-admin/options-general.php?page=bigcommerce_product_display | 3.23 | 28.88 |
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, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Product Display for BigCommerce: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,835 ▲64 | 13.11 ▼1.29 | 2.05 ▲0.16 | 43.57 ▲3.24 |
Dashboard /wp-admin | 2,212 ▲24 | 4.85 ▼0.02 | 103.44 ▲1.55 | 43.94 ▼1.35 |
Posts /wp-admin/edit.php | 2,098 ▲12 | 2.04 ▲0.05 | 36.87 ▲0.52 | 31.82 ▼3.05 |
Add New Post /wp-admin/post-new.php | 1,519 ▼9 | 17.39 ▼0.66 | 678.75 ▲41.66 | 59.16 ▲4.53 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.22 ▼0.01 | 98.48 ▼5.14 | 40.81 ▼2.66 |
Product Display for BigCommerce /wp-admin/options-general.php?page=bigcommerce_product_display | 821 | 2.02 | 26.36 | 24.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- 4 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=bigcommerce_product_display
- > Notice in wp-content/plugins/product-display-for-bigcommerce/product_display_for_bigcommerce.php+244
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 1× 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/product-display-for-bigcommerce/product_display_for_bigcommerce.php:125
- > 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 Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
1 plugin tags: bigcommerce
product-display-for-bigcommerce/product_display_for_bigcommerce.php 77% from 13 tests
This is the main PHP file of "Product Display for BigCommerce" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
- Domain Path: The domain path folder does not exist ("/languages")
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("product-display-for-bigcommerce.php" instead of "product_display_for_bigcommerce.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected209 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 57 | 26 | 199 |
CSS | 1 | 0 | 5 | 10 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
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 | 12 | |
▷ Named functions | 12 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected