84% remote-post-manager

Code Review | Remote Post Manager

WordPress plugin Remote Post Manager scored84%from 54 tests.

About plugin

  • Plugin page: remote-post-manager
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-4.1
  • WordPress version: 6.3.1
  • First release: Dec 29, 2014
  • Latest release: May 3, 2015
  • Number of updates: 4
  • Update frequency: every 32.2 days
  • Top authors: blubird (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /969 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.02MB] [CPU: ▼5.62ms] Passed 4 tests

Server-side resources used by Remote Post Manager
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0139.14 ▼2.43
Dashboard /wp-admin3.32 ▲0.0249.85 ▲0.35
Posts /wp-admin/edit.php3.37 ▲0.0244.72 ▼6.20
Add New Post /wp-admin/post-new.php5.90 ▲0.0287.68 ▼14.21
Media Library /wp-admin/upload.php3.24 ▲0.0238.95 ▲0.51

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

How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
widget_theysaidso_widget
widget_recent-posts
theysaidso_admin_options
db_upgraded
can_compress_scripts

Browser metrics Passed 4 tests

Checking browser requirements for Remote Post Manager
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,831 ▲6013.22 ▼1.021.83 ▼0.1141.65 ▲1.09
Dashboard /wp-admin2,240 ▲364.85 ▼1.19106.62 ▼2.3339.37 ▼4.20
Posts /wp-admin/edit.php2,116 ▲162.03 ▲0.0237.35 ▲1.6033.35 ▼1.76
Add New Post /wp-admin/post-new.php1,558 ▲1323.52 ▲0.10653.76 ▼29.9550.70 ▼6.65
Media Library /wp-admin/upload.php1,413 ▲134.22 ▲0.0298.30 ▼5.5343.02 ▲1.42

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_theysaidso_widget
    • db_upgraded
    • can_compress_scripts
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

SRP 50% 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 take a closer look at the following
  • 3× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/remote-post-manager/option.php:5
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/remote-post-manager/option.php:5
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/remote-post-manager/post-remote.php:36

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
8 plugin tags: synchronize, wordpress post, share, wordpress, post...

remote-post-manager/remote-post-manager.php Passed 13 tests

The principal PHP file in "Remote Post Manager" v. 1.0.0 is loaded by WordPress automatically on each request
49 characters long description:
WordPress plugin to publish posts to remote site.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected106 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP338106

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.09
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%
Functions3
▷ Named functions3100.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
No PNG files were detected