Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
- Install procedure had errors
- > Deprecated in wp-content/plugins/is-wp-connector/xmlrpc-3.0.0.beta/lib/xmlrpc.inc+804
Methods with the same name as their class will not be constructors in a future version of PHP; xmlrpc_client has a deprecated constructor
Server metrics [RAM: ▼1.12MB] [CPU: ▼48.21ms] Passed 4 tests
This is a short check of server-side resources used by IS-WP Connector
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.87 ▼0.59 | 7.81 ▼32.10 |
Dashboard /wp-admin | 2.89 ▼0.45 | 9.23 ▼52.02 |
Posts /wp-admin/edit.php | 2.89 ▼0.46 | 8.94 ▼31.72 |
Add New Post /wp-admin/post-new.php | 2.89 ▼2.99 | 9.67 ▼76.98 |
Media Library /wp-admin/upload.php | 2.89 ▼0.33 | 7.99 ▼26.19 |
InfusionSoft /wp-admin/options-general.php?page=infusion_api | 2.89 | 9.02 |
Server storage [IO: ▲1.22MB] [DB: ▲0.31MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 102 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for IS-WP Connector
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.25 ▼1.14 | 5.87 ▲3.96 | 48.21 ▲3.52 |
Dashboard /wp-admin | 2,210 ▲22 | 4.84 ▼1.04 | 106.85 ▲3.03 | 40.63 ▲0.82 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.00 ▼0.01 | 40.48 ▲5.93 | 35.58 ▲0.02 |
Add New Post /wp-admin/post-new.php | 1,549 ▲23 | 18.42 ▼5.02 | 600.61 ▲14.92 | 73.14 ▲16.89 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.19 ▼0.02 | 98.02 ▲0.27 | 42.30 ▼2.17 |
InfusionSoft /wp-admin/options-general.php?page=infusion_api | 787 | 2.18 | 22.90 | 24.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.31MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/is-wp-connector/xmlrpc-3.0.0.beta/lib/xmlrpc.inc+804
Methods with the same name as their class will not be constructors in a future version of PHP; xmlrpc_client has a deprecated constructor
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=infusion_api
- > Deprecated in wp-content/plugins/is-wp-connector/xmlrpc-3.0.0.beta/lib/xmlrpc.inc+804
Methods with the same name as their class will not be constructors in a future version of PHP; xmlrpc_client has a deprecated constructor
- > GET request to /wp-admin/options-general.php?page=infusion_api
- > Deprecated in wp-content/plugins/is-wp-connector/xmlrpc-3.0.0.beta/lib/xmlrpc.inc+1924
Methods with the same name as their class will not be constructors in a future version of PHP; xmlrpcresp has a deprecated constructor
- > GET request to /wp-admin/options-general.php?page=infusion_api
- > Deprecated in wp-content/plugins/is-wp-connector/xmlrpc-3.0.0.beta/lib/xmlrpc.inc+2082
Methods with the same name as their class will not be constructors in a future version of PHP; xmlrpcmsg has a deprecated constructor
- > GET request to /wp-admin/options-general.php?page=infusion_api
- > Deprecated in wp-content/plugins/is-wp-connector/xmlrpc-3.0.0.beta/lib/xmlrpc.inc+2707
Methods with the same name as their class will not be constructors in a future version of PHP; xmlrpcval has a deprecated constructor
SRP 0% 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
Almost there! Just fix the following items
- 7× PHP files output text when accessed directly:
- > /wp-content/plugins/is-wp-connector/xmlrpc-3.0.0.beta/demo/client/agesort.php
- > /wp-content/plugins/is-wp-connector/xmlrpc-3.0.0.beta/demo/client/client.php
- > /wp-content/plugins/is-wp-connector/xmlrpc-3.0.0.beta/demo/client/mail.php
- > /wp-content/plugins/is-wp-connector/xmlrpc-3.0.0.beta/test/verify_compat.php
- > /wp-content/plugins/is-wp-connector/xmlrpc-3.0.0.beta/debugger/action.php
- > /wp-content/plugins/is-wp-connector/xmlrpc-3.0.0.beta/debugger/index.php
- > /wp-content/plugins/is-wp-connector/xmlrpc-3.0.0.beta/debugger/controller.php
- 66× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
require_once(): Failed opening required 'PHPUnit/TestCase.php' (include_path='.:/usr/share/php') in wp-content/plugins/is-wp-connector/xmlrpc-3.0.0.beta/test/PHPUnit/TestSuite.php on line 23
- > PHP Fatal error
require_once(): Failed opening required 'xmlrpc.inc' (include_path='.:/usr/share/php') in wp-content/plugins/is-wp-connector/xmlrpc-3.0.0.beta/test/parse_args.php on line 17
- > PHP Fatal error
Uncaught Error: Call to undefined function wrap_php_function() in wp-content/plugins/is-wp-connector/xmlrpc-3.0.0.beta/demo/server/server.php:136
- > PHP Fatal error
require_once(): Failed opening required 'xmlrpc.inc' (include_path='.:/usr/share/php') in wp-content/plugins/is-wp-connector/xmlrpc-3.0.0.beta/test/parse_args.php on line 17
- > PHP Fatal error
Uncaught Error: Class 'xmlrpc_server' not found in wp-content/plugins/is-wp-connector/xmlrpc-3.0.0.beta/demo/server/discuss.php:112
- > PHP Warning
include(): Failed opening 'xmlrpc.inc' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/is-wp-connector/xmlrpc-3.0.0.beta/demo/server/server.php on line 21
- > PHP Warning
include(xmlrpc.inc): failed to open stream: No such file or directory in wp-content/plugins/is-wp-connector/xmlrpc-3.0.0.beta/demo/vardemo.php on line 5
- > PHP Warning
include(): Failed opening 'xmlrpc.inc' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/is-wp-connector/xmlrpc-3.0.0.beta/demo/client/wrap.php on line 11
- > PHP Fatal error
require_once(): Failed opening required 'xmlrpc.inc' (include_path='.:/usr/share/php') in wp-content/plugins/is-wp-connector/xmlrpc-3.0.0.beta/test/parse_args.php on line 17
- > PHP Notice
Undefined variable: xmlrpcString in wp-content/plugins/is-wp-connector/xmlrpc-3.0.0.beta/demo/server/discuss.php on line 6
- > 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 90% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Tags: No valid plugin tags found
- Donate link: Invalid URI found ("")
is-wp-connector/bootstrap.php 92% from 13 tests
The primary PHP file in "IS-WP Connector" version 2.1 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("is-wp-connector.php" instead of "bootstrap.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
Success! There were no dangerous files found in this plugin14,161 lines of code in 91 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 39 | 1,049 | 3,240 | 9,189 |
XML | 1 | 903 | 21 | 3,330 |
HTML | 47 | 0 | 0 | 1,471 |
make | 2 | 44 | 44 | 115 |
Perl | 1 | 16 | 5 | 31 |
Python | 1 | 10 | 2 | 25 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 13.08 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 55.00 |
Average method complexity | 2.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 148 | |
▷ Static methods | 1 | 0.68% |
▷ Public methods | 148 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 74 | |
▷ Named functions | 74 | 100.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
No PNG images were found in this plugin