Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
You still need to fix the following installer errors
- The plugin did not install without errors
- > Notice in wp-content/plugins/oauth-proxy-service/service.php+22
Trying to access array offset on value of type bool
Server metrics [RAM: ▼1.90MB] [CPU: ▼53.06ms] Passed 4 tests
Server-side resources used by Infusionsoft Proxy Service
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.08 ▼1.38 | 5.16 ▼35.98 |
Dashboard /wp-admin | 2.10 ▼1.20 | 7.13 ▼40.83 |
Posts /wp-admin/edit.php | 2.11 ▼1.25 | 5.93 ▼44.21 |
Add New Post /wp-admin/post-new.php | 2.10 ▼3.78 | 6.71 ▼91.23 |
Media Library /wp-admin/upload.php | 2.10 ▼1.12 | 6.05 ▼28.15 |
Oauth Proxy /wp-admin/options-general.php?page=infusionsoft_oauth_settings | 2.11 | 6.10 |
Server storage [IO: ▲0.02MB] [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: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Infusionsoft Proxy Service: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.22 ▼1.36 | 1.76 ▼0.17 | 44.26 ▲0.18 |
Dashboard /wp-admin | 2,213 ▲22 | 4.86 ▼1.04 | 100.19 ▼5.46 | 37.86 ▼9.18 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 1.99 ▲0.00 | 40.15 ▲4.09 | 34.28 ▲1.62 |
Add New Post /wp-admin/post-new.php | 1,545 ▲7 | 18.11 ▼5.03 | 602.53 ▼75.52 | 52.80 ▲0.41 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.25 ▲0.09 | 96.79 ▼5.07 | 41.35 ▼2.00 |
Oauth Proxy /wp-admin/options-general.php?page=infusionsoft_oauth_settings | 830 | 2.06 | 24.17 | 28.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/oauth-proxy-service/service.php+22
Trying to access array offset on value of type bool
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=infusionsoft_oauth_settings
- > Notice in wp-content/plugins/oauth-proxy-service/service.php+24
Trying to access array offset on value of type bool
- > GET request to /wp-admin/options-general.php?page=infusionsoft_oauth_settings
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method iop_infusionsoft_oauth_token_proxy_service::refresh_token() should not be called statically
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 take a closer look at the following
- 3× 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/oauth-proxy-service/infusionsoft-manager-example.php:154
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/oauth-proxy-service/service.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/oauth-proxy-service/oauth.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Donate link: Invalid URI ("")
oauth-proxy-service/oauth.php 92% from 13 tests
The primary PHP file in "Infusionsoft Proxy Service" version 1.0.1 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("oauth-proxy-service.php" instead of "oauth.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected312 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 92 | 43 | 312 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 2.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 13 | 86.67% |
▷ Public methods | 15 | 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 | 4 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 4 | 100.00% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin