99% r3df-beaver-builder-tinymce-advanced-icon-fix

Code Review | R3DF Beaver Builder TinyMCE Advanced Icon Fix

WordPress plugin R3DF Beaver Builder TinyMCE Advanced Icon Fix scored 99% from 53 tests.

About plugin

  • Plugin page: r3df-beaver-build...
  • Plugin version: 1.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.4-4.7
  • WordPress version: 5.8.1
  • First release: Jul 18, 2016
  • Latest release: Jul 18, 2016
  • Number of updates: 5
  • Update frequency: every 80.2 days
  • Top authors: r3df (100%)

Code review

53 tests

User reviews

1 review

Install metrics

300+ active / 3,209 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully

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

A check of server-side resources used by R3DF Beaver Builder TinyMCE Advanced Icon Fix
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.1236.95 ▲13.49
Dashboard /wp-admin3.06 ▲0.0140.58 ▼0.88
Posts /wp-admin/edit.php3.11 ▲0.0039.59 ▲0.19
Add New Post /wp-admin/post-new.php5.42 ▼0.0199.57 ▼1,128.36
Media Library /wp-admin/upload.php3.00 ▼0.0130.96 ▼5.32

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

Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

A check of browser resources used by R3DF Beaver Builder TinyMCE Advanced Icon Fix
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,702 ▲9615.94 ▲0.147.59 ▲0.6451.25 ▲1.54
Dashboard /wp-admin2,959 ▲1095.96 ▲0.02133.25 ▼2.10108.89 ▼5.07
Posts /wp-admin/edit.php2,706 ▼02.69 ▲0.0069.02 ▼1.1295.56 ▲3.21
Add New Post /wp-admin/post-new.php1,481 ▼10718.47 ▼2.81360.80 ▲76.55103.92 ▼4.13
Media Library /wp-admin/upload.php1,772 ▼05.03 ▲0.03158.28 ▼2.77123.01 ▼11.89

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
The plugin uninstalled completely, with no zombie files or tables

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test

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
Everything seems fine, however this is by no means an exhaustive test

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 93% from 29 tests

readme.txt 94% from 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
  • Screenshots: Screenshot #1 (Missing icons in TineMCE when used with Beaver Builder) image required
You can look at the official readme.txt

r3df-beaver-builder-tinymce-advanced-icon-fix/r3df-beaver-builder-tinymce-advanced-icon-fix.php 92% from 13 tests

"R3DF Beaver Builder TinyMCE Advanced Icon Fix" version 1.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
  • Domain Path: The domain path folder does not exist ("/lang/")

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
Success! There were no dangerous files found in this plugin91 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
CSS12066
PHP2144825

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.75
Average class complexity6.00
▷ Minimum class complexity6.00
▷ Maximum class complexity6.00
Average method complexity3.50
▷ Minimum method complexity3.00
▷ Maximum method complexity4.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods2
▷ Static methods00.00%
▷ Public methods2100.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 1 test

Image compression Passed 1 test

Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.08MB with 0.04MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
screenshot-1.png79.58KB35.27KB▼ 55.68%