90% wux-blog-editor

Code Review | Wux Blog Editor

WordPress plugin Wux Blog Editor scored90%from 54 tests.

About plugin

  • Plugin page: wux-blog-editor
  • Plugin version: 3.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-6.2.2
  • WordPress version: 6.3.1
  • First release: Feb 20, 2021
  • Latest release: Aug 9, 2023
  • Number of updates: 43
  • Update frequency: every 21.0 days
  • Top authors: jurredeklijn (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active /2,633 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

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

Server metrics [RAM: ▲0.03MB] [CPU: ▼3.34ms] Passed 4 tests

A check of server-side resources used by Wux Blog Editor
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0438.82 ▲2.67
Dashboard /wp-admin3.33 ▲0.0344.33 ▼1.70
Posts /wp-admin/edit.php3.38 ▲0.0350.19 ▲3.01
Add New Post /wp-admin/post-new.php5.93 ▲0.0580.22 ▼14.65
Media Library /wp-admin/upload.php3.25 ▲0.0334.33 ▲0.31
Wux Blog Editor /wp-admin/options-general.php?page=wux-blog-editor3.2232.80

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

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options
can_compress_scripts
db_upgraded
wux_blogtool_token
widget_recent-comments
widget_theysaidso_widget
widget_recent-posts
theysaidso_admin_options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Wux Blog Editor
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲4713.24 ▼0.991.70 ▼0.3342.79 ▲0.47
Dashboard /wp-admin2,210 ▲195.88 ▼0.01105.98 ▲4.5339.38 ▼3.27
Posts /wp-admin/edit.php2,093 ▲41.99 ▲0.0040.86 ▲1.5835.01 ▼1.06
Add New Post /wp-admin/post-new.php1,548 ▲3418.50 ▲1.05634.15 ▼40.7244.89 ▼20.38
Media Library /wp-admin/upload.php1,392 ▲44.15 ▼0.0593.57 ▼5.0039.94 ▼2.91
Wux Blog Editor /wp-admin/options-general.php?page=wux-blog-editor8222.1123.2428.00

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
The following items require your attention
  • The uninstall procedure has failed, leaving 7 options in the database
    • widget_theysaidso_widget
    • wux_blogtool_token
    • widget_recent-posts
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-comments
    • db_upgraded

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test

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
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
4 plugin tags: toolkit, system, management, content

wux-blog-editor/External_Post_Editor.php 92% from 13 tests

The entry point to "Wux Blog Editor" version 3.0.0 is a PHP file that has certain tags in its header comment area
The following require your attention:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wux-blog-editor.php" instead of "External_Post_Editor.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin687 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP215871687

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.16
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%
Functions53
▷ Named functions2852.83%
▷ Anonymous functions2547.17%
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 are no PNG files in this plugin