94% mmr-disable-for-beaver-builder-editor

Code Review | Merge + Minify + Refresh Check Beaver Builder

WordPress plugin Merge + Minify + Refresh Check Beaver Builder scored 94% from 54 tests.

About plugin

  • Plugin page: mmr-disable-for-b...
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.6.1-5.4
  • WordPress version: 5.8.1
  • First release: Dec 31, 2019
  • Latest release: Mar 16, 2020
  • Number of updates: 3
  • Update frequency: every 25.3 days
  • Top authors: launchinteractive (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active / 344 total downloads

Benchmarks

Plugin footprint Passed 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 successfully, without throwing any errors or notices

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

Server-side resources used by Merge + Minify + Refresh Check Beaver Builder
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.1235.19 ▲13.45
Dashboard /wp-admin3.07 ▲0.0143.21 ▼0.61
Posts /wp-admin/edit.php3.12 ▲0.0143.02 ▲1.75
Add New Post /wp-admin/post-new.php5.43 ▼0.0189.27 ▼563.99
Media Library /wp-admin/upload.php3.01 ▲0.0033.06 ▼2.25

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

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Merge + Minify + Refresh Check Beaver Builder
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,703 ▲10715.98 ▼0.0110.60 ▲1.2649.83 ▼0.91
Dashboard /wp-admin2,973 ▲425.91 ▼0.04142.05 ▼3.11109.17 ▼6.20
Posts /wp-admin/edit.php2,739 ▼02.71 ▼0.1360.45 ▼5.1390.55 ▲0.59
Add New Post /wp-admin/post-new.php1,672 ▼1118.87 ▲0.05364.35 ▼0.98109.87 ▲2.42
Media Library /wp-admin/upload.php1,810 ▲35.04 ▼0.04145.92 ▲2.72118.33 ▼4.63

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled successfully, without leaving any 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
Everything seems fine, however this is by no means 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
Almost there! Just fix the following items
  • 1× 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/mmr-disable-for-beaver-builder-editor/merge-minify-refresh-check-beaver-builder.php:38

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 96% 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
7 plugin tags: merge, concatenate, closure, apache, minify...

mmr-disable-for-beaver-builder-editor/merge-minify-refresh-check-beaver-builder.php 92% from 13 tests

The main PHP file in "Merge + Minify + Refresh Check Beaver Builder" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("mmr-disable-for-beaver-builder-editor.php" instead of "merge-minify-refresh-check-beaver-builder.php")

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
Everything looks great! No dangerous files found in this plugin13 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP152013

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code1.33
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%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin