89% so-remove-wpml-menu-sync

Code Review | Remove WPML Menu Sync

WordPress plugin Remove WPML Menu Sync scored89%from 54 tests.

About plugin

  • Plugin page: so-remove-wpml-me...
  • Plugin version: 1.3.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.3
  • WordPress version: 6.3.1
  • First release: Sep 3, 2013
  • Latest release: Jul 30, 2023
  • Number of updates: 72
  • Update frequency: every 50.3 days
  • Top authors: senlin (100%)

Code review

54 tests

User reviews

1 review

Install metrics

200+ active /4,465 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors

Server metrics [RAM: ▼0.01MB] [CPU: ▼5.68ms] Passed 4 tests

A check of server-side resources used by Remove WPML Menu Sync
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0040.22 ▼4.55
Dashboard /wp-admin3.31 ▼0.0452.23 ▼15.20
Posts /wp-admin/edit.php3.36 ▲0.0050.59 ▲0.68
Add New Post /wp-admin/post-new.php5.89 ▲0.0090.19 ▼3.63
Media Library /wp-admin/upload.php3.23 ▲0.0036.75 ▲1.37

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

Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
can_compress_scripts
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-posts
widget_recent-comments

Browser metrics Passed 4 tests

Checking browser requirements for Remove WPML Menu Sync
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,798 ▲3714.23 ▼0.121.76 ▼0.1243.71 ▼7.01
Dashboard /wp-admin2,195 ▲155.55 ▼0.1586.60 ▼12.8838.74 ▼7.03
Posts /wp-admin/edit.php2,097 ▼31.96 ▼0.0538.11 ▲1.3632.73 ▼1.00
Add New Post /wp-admin/post-new.php1,526 ▼223.18 ▼0.18617.29 ▼80.1964.05 ▲13.61
Media Library /wp-admin/upload.php1,400 ▼34.21 ▲0.1197.14 ▼9.7841.53 ▼4.83

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
  • The uninstall procedure has failed, 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 Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 93% from 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
5 plugin tags: wpml, synchronization, addon, sync, menu

so-remove-wpml-menu-sync/so-remove-wpml-menu-sync.php 85% from 13 tests

The principal PHP file in "Remove WPML Menu Sync" v. 1.3.0 is loaded by WordPress automatically on each request
The following require your attention:
  • Domain Path: The domain path is invalid: folder "/languages" does not exist
  • Description: Please keep the plugin description shorter than 140 characters (currently 182 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
No dangerous file extensions were detected39 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1325539

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.18
Average class complexity3.00
▷ Minimum class complexity3.00
▷ Maximum class complexity3.00
Average method complexity1.40
▷ Minimum method complexity1.00
▷ Maximum method complexity3.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods5
▷ Static methods00.00%
▷ Public methods5100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin