84% synchronised-pages

Code Review | Synchronised Pages

WordPress plugin Synchronised Pages scored84%from 54 tests.

About plugin

  • Plugin page: synchronised-pages
  • Plugin version: 0.2.3
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-4.4
  • WordPress version: 6.3.1
  • First release: Oct 14, 2015
  • Latest release: Nov 29, 2015
  • Number of updates: 13
  • Update frequency: every 4.0 days
  • Top authors: sseb35 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /589 total downloads


Plugin footprint 83% 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.12MB] [CPU: ▼5.39ms] Passed 4 tests

Analyzing server-side resources used by Synchronised Pages
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.59 ▲0.1342.66 ▼0.96
Dashboard /wp-admin3.44 ▲0.0951.83 ▼12.45
Posts /wp-admin/edit.php3.55 ▲0.1951.69 ▲0.44
Add New Post /wp-admin/post-new.php6.02 ▲0.1386.97 ▼8.59
Media Library /wp-admin/upload.php3.36 ▲0.1340.94 ▲2.28
Synchronised Pages /wp-admin/tools.php?page=synchronised-pages3.3233.52

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

Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Synchronised Pages
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲5813.50 ▼0.494.17 ▲2.4041.38 ▼4.21
Dashboard /wp-admin2,210 ▲225.80 ▼0.0798.58 ▼14.7537.98 ▼1.82
Posts /wp-admin/edit.php2,093 ▲42.01 ▲0.0534.46 ▼5.2532.13 ▼4.00
Add New Post /wp-admin/post-new.php1,535 ▲1623.08 ▼0.33672.40 ▼0.4055.01 ▲5.57
Media Library /wp-admin/upload.php1,389 ▲14.21 ▲0.08102.46 ▼14.3047.04 ▼1.83
Synchronised Pages /wp-admin/tools.php?page=synchronised-pages8042.0624.3830.46

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
Please fix the following items
  • This plugin does not fully uninstall, leaving 6 options in the database
    • db_upgraded
    • can_compress_scripts
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested

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
  • 2× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/synchronised-pages/synchronised-pages-tool.php:188
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/synchronised-pages/synchronised-pages-tool.php:188

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found


Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
  • Donate link: Invalid url: ""
Please take inspiration from this readme.txt

synchronised-pages/synchronised-pages.php 92% from 13 tests

"Synchronised Pages" version 0.2.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
  • Description: Please don't use more than 140 characters for the plugin description (currently 232 characters long)

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
There were no executable files found in this plugin651 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code
PO File12860100

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.29
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
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions22100.00%
▷ Anonymous functions00.00%
▷ 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
There were not PNG files found in your plugin