99% multisite-enhancer

Code Review | Multisite Enhancer

WordPress plugin Multisite Enhancer scored 99% from 54 tests.

About plugin

  • Plugin page: multisite-enhancer
  • Plugin version: 0.3.2
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-5.2
  • WordPress version: 5.9.2
  • First release: Sep 2, 2019
  • Latest release: Sep 6, 2019
  • Number of updates: 22
  • Update frequency: every 0.2 days
  • Top authors: ishrikrishna (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 521 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors

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

An overview of server-side resources used by Multisite Enhancer
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0262.86 ▲16.26
Dashboard /wp-admin3.43 ▲0.0233.45 ▲1.28
Posts /wp-admin/edit.php3.65 ▲0.0138.09 ▲2.03
Add New Post /wp-admin/post-new.php6.89 ▼0.0895.09 ▼1,251.27
Media Library /wp-admin/upload.php3.30 ▲0.0123.79 ▼0.27

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

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

A check of browser resources used by Multisite Enhancer
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,766 ▲2216.22 ▲0.108.48 ▲1.702.03 ▼0.13
Dashboard /wp-admin2,888 ▲306.03 ▼0.21118.41 ▼13.94168.98 ▲6.15
Posts /wp-admin/edit.php2,691 ▼33.24 ▲0.0162.21 ▼2.53144.98 ▲2.35
Add New Post /wp-admin/post-new.php1,661 ▼5816.82 ▼5.25416.74 ▼5.62157.15 ▼0.31
Media Library /wp-admin/upload.php1,698 ▼05.51 ▲0.04139.46 ▲2.51180.88 ▼3.09

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Uninstaller ran successfully

Smoke tests Passed 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 Passed 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found


Plugin configuration 86% from 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: ms, posts, wpmu, multisite

multisite-enhancer/ms-enhancer.php 69% from 13 tests

The main PHP script in "Multisite Enhancer" version 0.3.2 is automatically included on every request by WordPress
Please take the time to fix the following:
  • Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("multisite-enhancer.php" instead of "ms-enhancer.php")
  • Requires at least: The required version number must match the one declared in readme.txt ("5.1" instead of "3.5")
  • Domain Path: The domain path is invalid: folder "/languages" does not exist

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected170 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.40
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 functions10100.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected