73% exxmlrpc

Code Review | ExXmlRpc for WordPressPost

WordPress plugin ExXmlRpc for WordPressPost scored 73% from 54 tests.

About plugin

  • Plugin page: exxmlrpc
  • Plugin version: 0.2.1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.3.1-3.5.2
  • WordPress version: 6.3.1
  • First release: Jul 9, 2013
  • Latest release: Mar 11, 2014
  • Number of updates: 51
  • Update frequency: every 4.8 days
  • Top authors: nethmk (100%)

Code review

54 tests

User reviews

1 review

Install metrics

80+ active / 2,774 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully

Server metrics [RAM: ▼1.54MB] [CPU: ▼48.09ms] Passed 4 tests

Analyzing server-side resources used by ExXmlRpc for WordPressPost
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /2.45 ▼1.019.40 ▼33.49
Dashboard /wp-admin2.46 ▼0.8412.62 ▼34.01
Posts /wp-admin/edit.php2.46 ▼0.8911.30 ▼40.18
Add New Post /wp-admin/post-new.php2.46 ▼3.4212.40 ▼84.66
Media Library /wp-admin/upload.php2.46 ▼0.7611.96 ▼23.34

Server storage [IO: ▲0.64MB] [DB: ▲0.00MB] Passed 3 tests

Filesystem and database footprint
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
theysaidso_admin_options
db_upgraded
can_compress_scripts
widget_recent-comments
widget_recent-posts

Browser metrics Passed 4 tests

This is an overview of browser requirements for ExXmlRpc for WordPressPost
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.22 ▼1.031.71 ▼0.3044.58 ▲5.51
Dashboard /wp-admin2,209 ▲215.88 ▼0.03101.49 ▼8.0441.06 ▲1.90
Posts /wp-admin/edit.php2,092 ▲31.99 ▼0.0635.42 ▼1.9830.91 ▼0.79
Add New Post /wp-admin/post-new.php1,533 ▼022.92 ▼0.21660.23 ▼30.4253.26 ▲2.74
Media Library /wp-admin/upload.php1,379 ▼64.19 ▼0.0398.29 ▲4.4142.08 ▼3.44

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
It is recommended to fix the following
  • The plugin did not uninstall gracefully
    • > Notice in wp-content/plugins/exxmlrpc/exXmlRpc.php+19
    Trying to access array offset on value of type bool
  • Zombie WordPress options detected upon uninstall: 6 options
    • db_upgraded
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-comments
    • widget_recent-posts
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

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

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/exxmlrpc/exXmlRpc.php:14

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side

Optimizations

Plugin configuration 86% from 29 tests

readme.txt 81% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
  • Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line ( === exxmlrpc === )
  • Donate link: Please fix this invalid url: ""
  • Screenshots: Please add images for these screenshots: #1 (WordPressPost ( windows software )), #2 (Support Media library.), #3 (Support to easy edit images.), #4 (Support to embed youtube movies.)
The official readme.txt might help

exxmlrpc/exXmlRpc.php 92% from 13 tests

The entry point to "ExXmlRpc for WordPressPost" version 0.2.1.0 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
  • Main file name: The principal plugin file should be the same as the plugin slug ("exxmlrpc.php" instead of "exXmlRpc.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
No dangerous file extensions were detected589 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP119966589

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.44
Average class complexity130.00
▷ Minimum class complexity130.00
▷ Maximum class complexity130.00
Average method complexity10.92
▷ Minimum method complexity1.00
▷ Maximum method complexity29.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods13
▷ Static methods00.00%
▷ Public methods13100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
4 PNG files occupy 0.62MB with 0.39MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant
FileSize - originalSize - compressedSavings
screenshot-2.png76.76KB27.66KB▼ 63.96%
screenshot-3.png227.06KB78.21KB▼ 65.55%
screenshot-1.png256.24KB93.00KB▼ 63.71%
screenshot-4.png71.54KB31.09KB▼ 56.54%