Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.40MB] [CPU: ▼4.38ms] Passed 4 tests
Analyzing server-side resources used by Tipalti Payee Iframe
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.86 ▲0.40 | 42.64 ▲1.72 |
Dashboard /wp-admin | 3.73 ▲0.43 | 51.78 ▼3.38 |
Posts /wp-admin/edit.php | 3.78 ▲0.42 | 48.38 ▼3.95 |
Add New Post /wp-admin/post-new.php | 6.25 ▲0.36 | 86.39 ▼11.27 |
Media Library /wp-admin/upload.php | 3.65 ▲0.42 | 40.04 ▲1.10 |
Tipalti Payee Iframe /wp-admin/options-general.php?page=tipalti_iframe | 3.56 | 35.46 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 23 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
tipalti_iframe_version |
widget_recent-posts |
_tip_enc_key |
db_upgraded |
Browser metrics Passed 4 tests
Tipalti Payee Iframe: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.24 ▲0.05 | 1.76 ▲0.03 | 42.09 ▲3.57 |
Dashboard /wp-admin | 2,196 ▲19 | 5.62 ▲0.04 | 87.35 ▼3.85 | 40.76 ▼0.62 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 1.95 ▼0.03 | 35.61 ▼1.94 | 34.60 ▼4.69 |
Add New Post /wp-admin/post-new.php | 1,530 ▲4 | 23.30 ▼0.54 | 633.62 ▼92.95 | 57.82 ▼7.31 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.14 ▼0.16 | 96.59 ▼17.33 | 47.10 ▼2.17 |
Tipalti Payee Iframe /wp-admin/options-general.php?page=tipalti_iframe | 826 | 2.12 | 27.89 | 27.14 |
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
The following items require your attention
- This plugin does not fully uninstall, leaving 8 options in the database
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- _tip_enc_key
- can_compress_scripts
- widget_theysaidso_widget
- tipalti_iframe_version
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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 output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/tipalti-payee-iframe/includes/iframe.php
- 15× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Warning
Use of undefined constant TIPALTI_PAYEE_IFRAME_BASE_PATH - assumed 'TIPALTI_PAYEE_IFRAME_BASE_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/tipalti-payee-iframe/includes/encrypt.php on line 2
- > PHP Warning
require_once(TIPALTI_PAYEE_IFRAME_BASE_PATH/includes/defuse/Core.php): failed to open stream: No such file or directory in wp-content/plugins/tipalti-payee-iframe/includes/defuse/load.php on line 2
- > PHP Warning
Use of undefined constant TIPALTI_PAYEE_IFRAME_BASE_PATH - assumed 'TIPALTI_PAYEE_IFRAME_BASE_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/tipalti-payee-iframe/includes/defuse/load.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tipalti-payee-iframe/tipalti-payee-iframe.php:27
- > PHP Fatal error
Uncaught Error: Class 'Defuse\\Crypto\\Exception\\CryptoException' not found in wp-content/plugins/tipalti-payee-iframe/includes/defuse/Exception/IOException.php:5
- > PHP Warning
require_once(TIPALTI_PAYEE_IFRAME_BASE_PATH/includes/defuse/load.php): failed to open stream: No such file or directory in wp-content/plugins/tipalti-payee-iframe/includes/encrypt.php on line 2
- > PHP Fatal error
Uncaught Error: Class 'Defuse\\Crypto\\Crypto' not found in wp-content/plugins/tipalti-payee-iframe/includes/defuse/RuntimeTests.php:14
- > PHP Notice
Undefined variable: iframe_url in wp-content/plugins/tipalti-payee-iframe/includes/iframe.php on line 2
- > PHP Fatal error
Uncaught Error: Class 'Defuse\\Crypto\\Exception\\CryptoException' not found in wp-content/plugins/tipalti-payee-iframe/includes/defuse/Exception/BadFormatException.php:5
- > PHP Fatal error
require_once(): Failed opening required 'TIPALTI_PAYEE_IFRAME_BASE_PATH/includes/defuse/Core.php' (include_path='.:/usr/share/php') in wp-content/plugins/tipalti-payee-iframe/includes/defuse/load.php on line 2
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Screenshots: These screenshots do not have images: #1 (Connecting to the Tipalti Payor Account), #2 (Linking Wordpress Users as Payees), #3 (Embedding Payee IFRAMEs)
tipalti-payee-iframe/tipalti-payee-iframe.php Passed 13 tests
The entry point to "Tipalti Payee Iframe" version 1.0.5 is a PHP file that has certain tags in its header comment area
139 characters long description:
This plugin allows Tipalti payers to embed payee portal IFRAME onto their Wordpress site so that payees can add and view their information.
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
Everything looks great! No dangerous files found in this plugin1,967 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 22 | 419 | 997 | 1,967 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 60.00 |
Average method complexity | 2.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 19 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 19 | 100.00% |
▷ Final classes | 7 | 36.84% |
Methods | 109 | |
▷ Static methods | 51 | 46.79% |
▷ Public methods | 69 | 63.30% |
▷ Protected methods | 3 | 2.75% |
▷ Private methods | 37 | 33.94% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 33 | |
▷ Global constants | 5 | 15.15% |
▷ Class constants | 28 | 84.85% |
▷ Public constants | 28 | 100.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
No PNG images were found in this plugin