68% wp-multisite-content-copier

Code Review | WordPress Multisite Content Copier/Updater

WordPress plugin WordPress Multisite Content Copier/Updater scored68%from 54 tests.

About plugin

  • Plugin page: wp-multisite-cont...
  • Plugin version: 1.5.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.1-6.3
  • WordPress version: 6.3.1
  • First release: Oct 23, 2016
  • Latest release: Aug 29, 2023
  • Number of updates: 55
  • Update frequency: every 45.5 days
  • Top authors: obtaininfotech (100%)

Code review

54 tests

User reviews

16 reviews

Install metrics

900+ active /40,925 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.13MB] [CPU: ▼5.87ms] Passed 4 tests

Analyzing server-side resources used by WordPress Multisite Content Copier/Updater
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.61 ▲0.1538.22 ▼1.87
Dashboard /wp-admin3.44 ▲0.1044.48 ▼22.86
Posts /wp-admin/edit.php3.49 ▲0.1448.21 ▲4.35
Add New Post /wp-admin/post-new.php6.04 ▲0.1685.10 ▼3.09
Media Library /wp-admin/upload.php3.37 ▲0.1438.48 ▲5.17

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

Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: 1 new table, 6 new options
New tables
wp_wmcc_relationships
New WordPress options
widget_recent-comments
widget_recent-posts
db_upgraded
widget_theysaidso_widget
theysaidso_admin_options
can_compress_scripts

Browser metrics Passed 4 tests

A check of browser resources used by WordPress Multisite Content Copier/Updater
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,807 ▲5013.25 ▼1.131.71 ▼0.3541.49 ▼2.61
Dashboard /wp-admin2,213 ▲254.88 ▲0.01113.99 ▼1.7443.27 ▼1.54
Posts /wp-admin/edit.php2,099 ▲102.03 ▼0.0245.16 ▲7.1634.59 ▼2.11
Add New Post /wp-admin/post-new.php1,523 ▼1123.17 ▲0.36634.30 ▼29.1344.66 ▼11.61
Media Library /wp-admin/upload.php1,395 ▲74.25 ▲0.0494.15 ▼0.7741.82 ▼1.96

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
  • Zombie tables were found after uninstall: 1 table
    • wp_wmcc_relationships
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_theysaidso_widget
    • widget_recent-posts
    • db_upgraded
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-comments

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test

SRP 0% 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
The following issues need your attention
  • 3× PHP files perform the task of outputting text when accessed with GET requests:
    • > /wp-content/plugins/wp-multisite-content-copier/wp-multisite-content-copier.php
    • > /wp-content/plugins/wp-multisite-content-copier/include/wmcc-functions.php
    • > /wp-content/plugins/wp-multisite-content-copier/include/content-copier.php
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-multisite-content-copier/include/wmcc-network.php:3

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

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
10 plugin tags: wordpress multisite content sync, pages copier, wordpress multisite post sync, post copier, multisite...

wp-multisite-content-copier/wp-multisite-content-copier.php Passed 13 tests

The entry point to "WordPress Multisite Content Copier/Updater" version 1.5.0 is a PHP file that has certain tags in its header comment area
112 characters long description:
Copy/Update posts and pages from one site (blog) to the other sites (blogs) in your WordPress Multisite Network.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin1,135 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP4108351,035
CSS17050
JavaScript14150

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.60
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%
Functions13
▷ Named functions13100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
No PNG files were detected