10% wp-remote-multisite-post

Code Review | WP Remote Multisite Post

WordPress plugin WP Remote Multisite Post scored10%from 54 tests.

About plugin

  • Plugin page: wp-remote-multisi...
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.1-4.2.4
  • WordPress version: 6.3.1
  • First release: Aug 17, 2015
  • Latest release: Sep 25, 2015
  • Number of updates: 5
  • Update frequency: every 8.0 days
  • Top authors: lucia.intelisano (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,376 total downloads

Benchmarks

Plugin footprint 58% 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
  • This plugin did not install gracefully
    • > Parse error in wp-content/plugins/wp-remote-multisite-post/wp-remote-multisite-post.php+619
    syntax error, unexpected end of file

Server metrics [RAM: ▲0.00MB] [CPU: ▼3.36ms] Passed 4 tests

A check of server-side resources used by WP Remote Multisite Post
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0040.64 ▼2.35
Dashboard /wp-admin3.31 ▲0.0064.07 ▲15.48
Posts /wp-admin/edit.php3.36 ▲0.0046.57 ▼1.86
Add New Post /wp-admin/post-new.php5.89 ▲0.0085.88 ▼8.21
Media Library /wp-admin/upload.php3.23 ▲0.0037.16 ▼1.00

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

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-comments
db_upgraded
can_compress_scripts

Browser metrics Passed 4 tests

WP Remote Multisite Post: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,825 ▲5414.74 ▲0.092.07 ▼0.0843.95 ▲3.65
Dashboard /wp-admin2,206 ▲155.88 ▼0.03100.33 ▲0.4839.90 ▼3.88
Posts /wp-admin/edit.php2,086 ▼61.99 ▼0.0336.51 ▲0.3730.34 ▼4.86
Add New Post /wp-admin/post-new.php1,514 ▼1923.52 ▲0.50690.64 ▲37.8953.24 ▼8.95
Media Library /wp-admin/upload.php1,391 ▼04.19 ▼0.0394.98 ▼3.5343.97 ▼0.13

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
It is recommended to fix the following
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-posts
    • db_upgraded
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected

SRP 50% 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
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Parse error
      syntax error, unexpected end of file in wp-content/plugins/wp-remote-multisite-post/wp-remote-multisite-post.php on line 619

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)
No browser errors were detected

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
  • Tags: Please reduce the number of tags, currently 18 tag instead of maximum 10
You can take inspiration from this readme.txt

wp-remote-multisite-post/wp-remote-multisite-post.php 92% from 13 tests

"WP Remote Multisite Post" version 1.0.0'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:
  • Description: The plugin description must be longer than 10 characters (currently 0 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin1,071 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript4157516594
PHP112743449
CSS11128

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.33
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%
Functions11
▷ Named functions11100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin