94% my-sites-menu-fixer

Code Review | My Sites Menu Fixer

WordPress plugin My Sites Menu Fixer scored 94% from 54 tests.

About plugin

  • Plugin page: my-sites-menu-fixer
  • Plugin version: 1.4.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0.0-4.3
  • WordPress version: 5.8.1
  • First release: Sep 21, 2015
  • Latest release: Sep 24, 2015
  • Number of updates: 24
  • Update frequency: every 0.3 days
  • Top authors: vovvva (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 975 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully

Server metrics [RAM: ▲0.00MB] [CPU: ▼143.94ms] Passed 4 tests

This is a short check of server-side resources used by My Sites Menu Fixer
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.1232.67 ▲10.04
Dashboard /wp-admin3.06 ▲0.0148.35 ▼0.77
Posts /wp-admin/edit.php3.11 ▲0.0147.29 ▼3.24
Add New Post /wp-admin/post-new.php5.42 ▼0.0195.81 ▼567.35
Media Library /wp-admin/upload.php3.01 ▲0.0031.96 ▼4.39

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: 2 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Checking browser requirements for My Sites Menu Fixer
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,720 ▲12416.02 ▲0.429.46 ▼2.8252.96 ▼0.90
Dashboard /wp-admin2,964 ▲335.84 ▼0.09145.21 ▼15.85109.48 ▼16.01
Posts /wp-admin/edit.php2,748 ▲92.58 ▼0.1174.36 ▲4.0892.83 ▼2.88
Add New Post /wp-admin/post-new.php1,695 ▲19515.57 ▼3.01384.98 ▼0.19115.68 ▲0.55
Media Library /wp-admin/upload.php1,741 ▼665.03 ▲0.02161.14 ▼1.69119.04 ▼11.14

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled completely, with no zombie files or tables

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test

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
Please take a closer look at the following
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/my-sites-menu-fixer/my-sites-menu-fixer.php:52

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found


Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: multisite, my sites, admin toolbar, admin bar, toolbar

my-sites-menu-fixer/my-sites-menu-fixer.php Passed 13 tests

The main PHP script in "My Sites Menu Fixer" version 1.4.1 is automatically included on every request by WordPress
41 characters long description:
Makes the My Sites Menu into three colums

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected28 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.00
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 functions1100.00%
▷ Anonymous functions00.00%
▷ 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
No PNG images were found in this plugin