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.12MB] [CPU: ▼4.99ms] Passed 4 tests
Analyzing server-side resources used by ONTRAPORT to Wishlist Integration
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 36.13 ▼4.92 |
Dashboard /wp-admin | 3.42 ▲0.12 | 42.95 ▼9.21 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 47.69 ▲0.73 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 88.64 ▼4.23 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 33.71 ▼1.58 |
Wishlist Helper Settings /wp-admin/options-general.php?page=ontraport-wishlist-helper | 3.31 | 36.06 |
Server storage [IO: ▲0.45MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 10 new options
New WordPress options |
---|
ontraport-wishlist-helper_plugin_link_support_link |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
ontraport-wishlist-helper_plugin_authenticated |
theysaidso_admin_options |
db_upgraded |
ontraport-wishlist-helper_message |
ontraport-wishlist-helper_plugin_link_license_link |
Browser metrics Passed 4 tests
A check of browser resources used by ONTRAPORT to Wishlist Integration
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲51 | 14.25 ▼0.10 | 1.62 ▼0.04 | 38.45 ▼5.58 |
Dashboard /wp-admin | 2,215 ▲35 | 5.60 ▼0.02 | 91.88 ▼6.87 | 43.76 ▲0.79 |
Posts /wp-admin/edit.php | 2,123 ▲23 | 2.11 ▲0.12 | 43.41 ▲7.69 | 38.45 ▲9.82 |
Add New Post /wp-admin/post-new.php | 1,548 ▲22 | 22.91 ▼0.04 | 593.81 ▼31.06 | 58.19 ▼11.10 |
Media Library /wp-admin/upload.php | 1,417 ▲14 | 4.21 ▼0.01 | 101.99 ▲2.93 | 45.02 ▲2.81 |
Wishlist Helper Settings /wp-admin/options-general.php?page=ontraport-wishlist-helper | 815 | 2.04 | 25.74 | 27.00 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 10 options in the database
- ontraport-wishlist-helper_plugin_authenticated
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- ontraport-wishlist-helper_plugin_link_license_link
- theysaidso_admin_options
- widget_recent-comments
- ontraport-wishlist-helper_message
- db_upgraded
- ontraport-wishlist-helper_plugin_link_support_link
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not 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
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/ontraport-to-wishlist-integration/ontraport-wishlist-integration.php:20
- > 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 errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Example of how the plugin admin area looks), #2 (Rule in Ontraport to Add Membership Level to User), #3 (Rule in Ontraport to Remove Membership Level from User), #4 (Rule in Ontraport to Add Payment Fail tag and remove Membership Level from User), #5 (Rule in Ontraport to Remove Payment Fail tag and add Membership Level to User)
ontraport-to-wishlist-integration/ontraport-wishlist-integration.php 85% from 13 tests
Analyzing the main PHP file in "ONTRAPORT to Wishlist Integration" version 1.17
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 177 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("ontraport-to-wishlist-integration.php" instead of "ontraport-wishlist-integration.php")
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
Good job! No executable or dangerous file extensions detected504 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 71 | 35 | 504 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 87.00 |
▷ Minimum class complexity | 87.00 |
▷ Maximum class complexity | 87.00 |
Average method complexity | 3.69 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 46.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 | 32 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 32 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
7 PNG files occupy 0.43MB with 0.25MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 21.31KB | 9.39KB | ▼ 55.96% |
assets/screenshot-4.png | 40.73KB | 16.58KB | ▼ 59.30% |
assets/banner-772x250.png | 65.18KB | 28.05KB | ▼ 56.97% |
assets/screenshot-3.png | 41.97KB | 16.72KB | ▼ 60.17% |
assets/screenshot-2.png | 33.82KB | 14.67KB | ▼ 56.62% |