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
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 38.22 ▼1.87 |
Dashboard /wp-admin | 3.44 ▲0.10 | 44.48 ▼22.86 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 48.21 ▲4.35 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.16 | 85.10 ▼3.09 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 38.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
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲50 | 13.25 ▼1.13 | 1.71 ▼0.35 | 41.49 ▼2.61 |
Dashboard /wp-admin | 2,213 ▲25 | 4.88 ▲0.01 | 113.99 ▼1.74 | 43.27 ▼1.54 |
Posts /wp-admin/edit.php | 2,099 ▲10 | 2.03 ▼0.02 | 45.16 ▲7.16 | 34.59 ▼2.11 |
Add New Post /wp-admin/post-new.php | 1,523 ▼11 | 23.17 ▲0.36 | 634.30 ▼29.13 | 44.66 ▼11.61 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.25 ▲0.04 | 94.15 ▼0.77 | 41.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
- > PHP Fatal error
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:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 108 | 35 | 1,035 |
CSS | 1 | 7 | 0 | 50 |
JavaScript | 1 | 4 | 1 | 50 |
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 code | 0.60 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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