Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.19MB] [CPU: ▼4.80ms] Passed 4 tests
A check of server-side resources used by Infusionsoft One-click Upsell
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 42.99 ▲3.03 |
Dashboard /wp-admin | 3.51 ▲0.17 | 48.52 ▼14.65 |
Posts /wp-admin/edit.php | 3.63 ▲0.27 | 51.55 ▼0.68 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 94.15 ▼2.68 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 36.75 ▼1.19 |
Subscription Links /wp-admin/admin.php?page=novaksolutions_upsell_subscription_links | 3.40 | 31.74 |
Usage /wp-admin/admin.php?page=novaksolutions_upsell_usage | 3.40 | 32.71 |
Product Upsell Links /wp-admin/admin.php?page=novaksolutions_upsell_product_links | 3.40 | 32.90 |
Settings /wp-admin/admin.php?page=novaksolutions_upsell_admin_menu | 3.40 | 37.72 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Infusionsoft One-click Upsell
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,862 ▲101 | 13.20 ▼1.17 | 4.43 ▲2.60 | 39.50 ▲3.10 |
Dashboard /wp-admin | 2,262 ▲56 | 5.85 ▼0.08 | 102.77 ▼2.41 | 45.89 ▲2.82 |
Posts /wp-admin/edit.php | 2,147 ▲47 | 2.00 ▼0.00 | 39.97 ▲2.85 | 44.72 ▲8.53 |
Add New Post /wp-admin/post-new.php | 1,594 ▲63 | 23.29 ▲0.00 | 668.20 ▲8.62 | 61.58 ▼2.35 |
Media Library /wp-admin/upload.php | 1,450 ▲47 | 4.19 ▼0.04 | 104.17 ▼4.00 | 51.92 ▲11.27 |
Subscription Links /wp-admin/admin.php?page=novaksolutions_upsell_subscription_links | 825 | 2.19 | 26.08 | 27.52 |
Usage /wp-admin/admin.php?page=novaksolutions_upsell_usage | 945 | 2.02 | 22.95 | 31.24 |
Product Upsell Links /wp-admin/admin.php?page=novaksolutions_upsell_product_links | 825 | 2.19 | 25.05 | 27.51 |
Settings /wp-admin/admin.php?page=novaksolutions_upsell_admin_menu | 1,005 | 2.18 | 23.48 | 34.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
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
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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/infusionsoft-one-click-upsell/InfusionsoftOneClickUpsell.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration Passed 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
4 plugin tags: upsell, javascript, infusionsoft, one-click
infusionsoft-one-click-upsell/infusionsoft-one-click-upsell.php Passed 13 tests
The main file in "Infusionsoft One-click Upsell" v. 2.2.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
59 characters long description:
Easily upsell Infusionsoft customers from within WordPress.
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 detected899 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 217 | 173 | 873 |
JavaScript | 1 | 2 | 24 | 26 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 126.00 |
▷ Minimum class complexity | 126.00 |
▷ Maximum class complexity | 126.00 |
Average method complexity | 4.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 49.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 | 37 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 37 | 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
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