84% liquid-edge-editor-customisations

Code Review | Liquid Edge Editor Customisations

WordPress plugin Liquid Edge Editor Customisations scored84%from 54 tests.

About plugin

  • Plugin page: liquid-edge-edito...
  • Plugin version: 1.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-5.8.2
  • WordPress version: 6.3.1
  • First release: Dec 9, 2021
  • Latest release: Dec 9, 2021
  • Number of updates: 2
  • Update frequency: every 0.5 days
  • Top authors: liquidedge (100%)

Code review

54 tests

User reviews

1 review

Install metrics

40+ active /282 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.00MB] [CPU: ▼6.11ms] Passed 4 tests

Analyzing server-side resources used by Liquid Edge Editor Customisations
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0034.03 ▼7.78
Dashboard /wp-admin3.31 ▲0.0044.64 ▼2.34
Posts /wp-admin/edit.php3.36 ▲0.0047.96 ▼1.41
Add New Post /wp-admin/post-new.php5.89 ▲0.0083.13 ▼12.89
Media Library /wp-admin/upload.php3.23 ▲0.0035.09 ▲1.54

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

Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
widget_recent-posts
theysaidso_admin_options
widget_theysaidso_widget
can_compress_scripts
db_upgraded

Browser metrics Passed 4 tests

Checking browser requirements for Liquid Edge Editor Customisations
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,803 ▲6813.58 ▼0.851.61 ▼0.2141.02 ▼5.47
Dashboard /wp-admin2,212 ▲204.83 ▼0.1097.97 ▼22.6338.44 ▼6.93
Posts /wp-admin/edit.php2,092 ▲32.01 ▼0.0539.61 ▼0.9634.66 ▼1.27
Add New Post /wp-admin/post-new.php1,541 ▲823.01 ▼0.21583.30 ▼94.4446.16 ▼4.54
Media Library /wp-admin/upload.php1,394 ▲34.13 ▼0.0793.72 ▼15.5041.76 ▼2.13

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-comments
    • widget_recent-posts
    • db_upgraded

Smoke tests 75% from 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 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
  • 1× PHP files output text when accessed directly:
    • > /wp-content/plugins/liquid-edge-editor-customisations/liquid-edge-editor-customisations.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
2 plugin tags: editor, customization

liquid-edge-editor-customisations/liquid-edge-editor-customisations.php 92% from 13 tests

The primary PHP file in "Liquid Edge Editor Customisations" version 1.0 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
  • Requires PHP: Required version must match the one declared in readme.txt ("7.0" instead of "5.6")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin19 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP181519

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.25
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

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