Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼4.29ms] Passed 4 tests
Server-side resources used by BuddyPress XML-RPC Receiver
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 37.78 ▼4.45 |
Dashboard /wp-admin | 3.36 ▲0.06 | 47.40 ▼5.48 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 48.96 ▼0.42 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 92.33 ▼4.22 |
Media Library /wp-admin/upload.php | 3.28 ▲0.06 | 35.37 ▼3.01 |
BuddyPress XML-RPC /wp-admin/options-general.php?page=bp-xmlrpc-settings | 3.25 | 32.66 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
bp_xmlrpc_cap_low |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for BuddyPress XML-RPC Receiver
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.31 ▼1.09 | 1.79 ▼0.24 | 41.59 ▼0.61 |
Dashboard /wp-admin | 2,207 ▲19 | 5.80 ▲0.94 | 100.53 ▼11.97 | 40.94 ▼2.06 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.03 ▲0.03 | 38.21 ▲0.79 | 32.63 ▼1.09 |
Add New Post /wp-admin/post-new.php | 1,536 ▼7 | 23.08 ▲4.94 | 626.78 ▼68.89 | 58.74 ▼5.54 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.15 ▼0.09 | 122.02 ▲19.28 | 52.98 ▲7.52 |
BuddyPress XML-RPC /wp-admin/options-general.php?page=bp-xmlrpc-settings | 963 | 2.16 | 25.25 | 35.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin did not uninstall successfully, leaving 7 options in the database
- bp_xmlrpc_cap_low
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/buddypress-xml-rpc-receiver/includes/bp-xmlrpc-mail.php
- 8× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Warning
include_once(): Failed opening 'ABSPATHWPINC/class-IXR.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/buddypress-xml-rpc-receiver/bp-xmlrpc.php on line 48
- > PHP Fatal error
Uncaught Error: Call to undefined function get_bloginfo() in wp-content/plugins/buddypress-xml-rpc-receiver/bp-xmlrpc-loader.php:16
- > PHP Fatal error
Uncaught Error: Class 'IXR_Server' not found in wp-content/plugins/buddypress-xml-rpc-receiver/bp-xmlrpc.php:57
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/buddypress-xml-rpc-receiver/includes/bp-xmlrpc-profile.php:116
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/buddypress-xml-rpc-receiver/bp-xmlrpc.php on line 48
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/buddypress-xml-rpc-receiver/includes/bp-xmlrpc-limit-login-attempts.php:77
- > PHP Warning
include_once(ABSPATHWPINC/class-IXR.php): failed to open stream: No such file or directory in wp-content/plugins/buddypress-xml-rpc-receiver/bp-xmlrpc.php on line 48
- > PHP Warning
Use of undefined constant WPINC - assumed 'WPINC' (this will throw an Error in a future version of PHP) in wp-content/plugins/buddypress-xml-rpc-receiver/bp-xmlrpc.php on line 48
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Requires at least: The plugin version is formatted incorrectly
- Tested up to: The plugin version is formatted incorrectly
buddypress-xml-rpc-receiver/bp-xmlrpc-loader.php 85% from 13 tests
"BuddyPress XML-RPC Receiver" version 0.5.10's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("buddypress-xml-rpc-receiver.php" instead of "bp-xmlrpc-loader.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected2,036 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 672 | 541 | 2,036 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 194.00 |
▷ Minimum class complexity | 194.00 |
▷ Maximum class complexity | 194.00 |
Average method complexity | 9.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.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 | 22 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 22 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 53 | |
▷ Named functions | 53 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 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
There are no PNG files in this plugin