89% multisite-enhancer

Code Review | Multisite Enhancer

WordPress plugin Multisite Enhancer scored 89% 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: 6.3.1
  • 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 / 719 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully

Server metrics [RAM: ▲0.04MB] [CPU: ▼0.55ms] Passed 4 tests

An overview of server-side resources used by Multisite Enhancer
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0538.51 ▼3.80
Dashboard /wp-admin3.34 ▲0.0445.19 ▼3.07
Posts /wp-admin/edit.php3.39 ▲0.0349.38 ▲6.69
Add New Post /wp-admin/post-new.php5.92 ▲0.0395.61 ▲2.18
Media Library /wp-admin/upload.php3.26 ▲0.0337.74 ▲2.48

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

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

Browser metrics Passed 4 tests

Multisite Enhancer: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,828 ▲9314.46 ▲0.082.40 ▲0.7640.30 ▲0.47
Dashboard /wp-admin2,203 ▲115.78 ▲0.6997.60 ▼10.3340.81 ▼0.32
Posts /wp-admin/edit.php2,089 ▲32.00 ▼0.0539.70 ▲5.9236.55 ▲5.40
Add New Post /wp-admin/post-new.php1,542 ▲2818.42 ▼3.06656.69 ▲1.2955.52 ▼2.43
Media Library /wp-admin/upload.php1,391 ▲64.20 ▲0.01103.71 ▼3.1149.11 ▲7.49

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
  • Zombie WordPress options were found after uninstall: 6 options
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-posts
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-comments

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected

SRP Passed 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Looking good! No server-side errors or output on direct access of PHP files

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

Optimizations

Plugin configuration 86% from 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: ms, wpmu, posts, multisite

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

Analyzing the main PHP file in "Multisite Enhancer" version 0.3.2
You should first fix the following items:
  • Requires at least: Required version does not match the one declared in readme.txt ("5.1" instead of "3.5")
  • Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
  • Domain Path: The domain path folder was not found ("/languages")
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("multisite-enhancer.php" instead of "ms-enhancer.php")

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 plugin170 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP12112170

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
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
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions10
▷ Named functions10100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin