Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
- The plugin did not install without errors
- > User deprecated in wp-includes/functions.php+5453
Function get_page_by_title is deprecated since version 6.2.0! Use WP_Query instead.
Server metrics [RAM: ▲0.09MB] [CPU: ▼0.62ms] Passed 4 tests
Analyzing server-side resources used by WP Chase Payment
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 46.90 ▲6.40 |
Dashboard /wp-admin | 3.40 ▲0.09 | 46.65 ▼0.90 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 47.63 ▼0.81 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 90.93 ▼4.06 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 34.56 ▲3.30 |
Chase API Settings /wp-admin/options-general.php?page=chase-api-settings | 3.30 | 30.79 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: no new tables, 15 new options
New WordPress options |
---|
ibhpp_get_sample_payment_form_name |
ibhpp_chase_payment_page_id |
ibhpp_chase_payment_page_name |
ibhpp_chase_payment_receive_id |
theysaidso_admin_options |
can_compress_scripts |
ibhpp_get_sample_payment_form_id |
ibhpp_chase_payment_receive_name |
db_upgraded |
widget_recent-posts |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Chase Payment
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲33 | 13.21 ▼1.17 | 1.70 ▼0.37 | 38.77 ▼5.85 |
Dashboard /wp-admin | 2,210 ▲19 | 5.83 ▲0.93 | 95.06 ▼9.65 | 36.95 ▼6.88 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.02 ▼0.04 | 39.13 ▲2.80 | 34.56 ▼1.65 |
Add New Post /wp-admin/post-new.php | 1,536 ▲3 | 23.23 ▼0.12 | 650.24 ▼40.16 | 58.54 ▼1.95 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.22 ▼0.01 | 103.45 ▲5.76 | 44.36 ▼4.47 |
Chase API Settings /wp-admin/options-general.php?page=chase-api-settings | 1,042 | 2.04 | 23.85 | 25.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
- 8 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=chase-api-settings
- > Notice in wp-content/plugins/ib-chase-payment/chase_api_settings.php+90
Trying to access array offset on value of type null
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/ib-chase-payment/templates/chase-payment-form.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_admin_url() in wp-content/plugins/ib-chase-payment/templates/sample-payment-test-page.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ib-chase-payment/class.ibhpp-process-chase-payment.php:307
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/ib-chase-payment/chase_api_settings.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Screenshots: Screenshot #1 (Here's a screenshot of it in action) image required
ib-chase-payment/wp-chase-payment.php 92% from 13 tests
"WP Chase Payment" version 1.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("ib-chase-payment.php" instead of "wp-chase-payment.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin503 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 48 | 99 | 503 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 35.00 |
▷ Minimum class complexity | 35.00 |
▷ Maximum class complexity | 35.00 |
Average method complexity | 4.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.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 | 10 | |
▷ Static methods | 1 | 10.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin