Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼1.20ms] Passed 4 tests
An overview of server-side resources used by Transaction Integration for AffiliateWP and OptimizePress
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 42.18 ▼3.20 |
Dashboard /wp-admin | 3.31 ▲0.01 | 48.30 ▼1.44 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 49.44 ▲6.49 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 86.41 ▼4.41 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.97 ▲4.26 |
T.I. A+O /wp-admin/options-general.php?page=tiaop-plugin | 3.26 | 34.46 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 11 new files
Database: 3 new tables, 6 new options
New tables |
---|
wp_opafti_history |
wp_opafti_saved_purchases |
wp_opafti_stats |
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Transaction Integration for AffiliateWP and OptimizePress
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,811 ▲65 | 13.26 ▼1.12 | 1.63 ▼0.31 | 44.54 ▼2.92 |
Dashboard /wp-admin | 2,214 ▲26 | 4.86 ▼0.05 | 113.23 ▼3.12 | 39.76 ▼5.99 |
Posts /wp-admin/edit.php | 2,099 ▲10 | 2.03 ▼0.01 | 39.78 ▲4.29 | 36.36 ▼0.29 |
Add New Post /wp-admin/post-new.php | 1,544 ▲14 | 23.31 ▲4.98 | 677.64 ▲28.38 | 57.89 ▼1.31 |
Media Library /wp-admin/upload.php | 1,399 ▲11 | 4.25 ▲0.06 | 104.13 ▼0.21 | 45.25 ▲1.70 |
T.I. A+O /wp-admin/options-general.php?page=tiaop-plugin | 1,076 | 2.18 | 22.82 | 28.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- The uninstall procedure failed, leaving 3 tables in the database
- wp_opafti_history
- wp_opafti_stats
- wp_opafti_saved_purchases
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=tiaop-plugin
- > Notice in wp-content/plugins/transaction-integration-for-affiliatewp-and-optimizepress/includes/tiaop_testing.php+41
Undefined variable: test_results
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
Please take a closer look at the following
- 14× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Warning
include_once(): Failed opening 'ABSPATHwp-admin/includes/plugin.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/transaction-integration-for-affiliatewp-and-optimizepress/includes/tiaop_check.php on line 3
- > PHP Warning
Use of undefined constant TIAOP_PLUGIN_DIR - assumed 'TIAOP_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/transaction-integration-for-affiliatewp-and-optimizepress/includes/tiaop_testing.php on line 2
- > PHP Warning
include_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/transaction-integration-for-affiliatewp-and-optimizepress/includes/tiaop_check.php on line 3
- > PHP Warning
require_once(TIAOP_PLUGIN_DIRincludes/tiaop_db.php): failed to open stream: No such file or directory in wp-content/plugins/transaction-integration-for-affiliatewp-and-optimizepress/includes/tiaop_testing.php on line 2
- > PHP Fatal error
Uncaught Error: Call to a member function get_var() on null in wp-content/plugins/transaction-integration-for-affiliatewp-and-optimizepress/includes/configuration/tiaop_show_sh.php:13
- > PHP Fatal error
require_once(): Failed opening required 'TIAOP_PLUGIN_DIRincludes/tiaop_db.php' (include_path='.:/usr/share/php') in wp-content/plugins/transaction-integration-for-affiliatewp-and-optimizepress/includes/tiaop_testing.php on line 2
- > PHP Fatal error
Uncaught Error: Call to a member function get_var() on null in wp-content/plugins/transaction-integration-for-affiliatewp-and-optimizepress/includes/configuration/tiaop_show_sp.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/transaction-integration-for-affiliatewp-and-optimizepress/includes/configuration/tiaop_build.php:3
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/transaction-integration-for-affiliatewp-and-optimizepress/includes/tiaop_check.php on line 3
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/transaction-integration-for-affiliatewp-and-optimizepress/includes/configuration/tiaop_show_sh.php on line 5
- > 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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: optimizepress, affiliatewp, opafti, paypal, integration
transaction-integration-for-affiliatewp-and-optimizepress/affiliatewp-optimizepress-transaction-integration.php 92% from 13 tests
Analyzing the main PHP file in "Transaction Integration for AffiliateWP and OptimizePress" version 2.1
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("transaction-integration-for-affiliatewp-and-optimizepress.php" instead of "affiliatewp-optimizepress-transaction-integration.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected580 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 125 | 80 | 580 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 27 | |
▷ Named functions | 27 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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