89% manage-xml-rpc

Code Review | Manage XML-RPC

WordPress plugin Manage XML-RPC scored89%from 54 tests.

About plugin

  • Plugin page: manage-xml-rpc
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.0
  • WordPress version: 6.3.1
  • First release: Jun 2, 2016
  • Latest release: Jun 14, 2022
  • Number of updates: 25
  • Update frequency: every 88.2 days
  • Top authors: brainvireinfo (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

9,000+ active /44,729 total downloads

Benchmarks

Plugin footprint 82% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.06MB] [CPU: ▼3.41ms] Passed 4 tests

An overview of server-side resources used by Manage XML-RPC
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0336.11 ▼8.51
Dashboard /wp-admin3.37 ▲0.0759.67 ▲6.37
Posts /wp-admin/edit.php3.46 ▲0.1155.68 ▼0.04
Add New Post /wp-admin/post-new.php5.95 ▲0.0696.07 ▼11.47
Media Library /wp-admin/upload.php3.29 ▲0.0753.81 ▲17.69

Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] 67% from 3 tests

Input-output and database impact of this plugin
Please try to fix the following items
  • Illegal file modification detected: 1 file (0.51KB) outside of "wp-content/plugins/manage-xml-rpc/" and "wp-content/uploads/"
    • (modified) .htaccess
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
widget_recent-posts
widget_recent-comments
can_compress_scripts
db_upgraded
theysaidso_admin_options

Browser metrics Passed 4 tests

A check of browser resources used by Manage XML-RPC
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,816 ▲7013.31 ▼1.434.47 ▲2.8143.28 ▲2.26
Dashboard /wp-admin2,219 ▲284.86 ▼0.00111.03 ▼13.9339.35 ▼6.87
Posts /wp-admin/edit.php2,105 ▲131.99 ▼0.0539.87 ▼0.5434.00 ▼2.83
Add New Post /wp-admin/post-new.php1,546 ▲1322.95 ▼0.10647.59 ▲12.1252.58 ▲4.24
Media Library /wp-admin/upload.php1,407 ▲194.20 ▼0.0499.91 ▼8.3447.51 ▲4.83

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-posts
    • can_compress_scripts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-comments
    • db_upgraded

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
  • Tags: Please delete some tags, you are using 13 tag instead of maximum 10
  • Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line ( === manage-xml-rpc === )
You can take inspiration from this readme.txt

manage-xml-rpc/manage-xml-rpc.php Passed 13 tests

The main PHP script in "Manage XML-RPC" version 1.0 is automatically included on every request by WordPress
83 characters long description:
Enable/Disable XML-RPC for IP specific control and disable XML-RPC Pingback method.

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
There were no executable files found in this plugin195 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP13915195

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.31
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions10
▷ Named functions10100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin