89% editor-enhancer-for-oxygen

Code Review | Editor Enhancer for Oxygen

WordPress plugin Editor Enhancer for Oxygen scored89%from 54 tests.

About plugin

  • Plugin page: editor-enhancer-f...
  • Plugin version: 1.1.2
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.2.4-5.3
  • WordPress version: 6.3.1
  • First release: Nov 15, 2019
  • Latest release: Nov 26, 2019
  • Number of updates: 20
  • Update frequency: every 0.6 days
  • Top authors: ukuwi (100%)

Code review

54 tests

User reviews

25 reviews

Install metrics

1,000+ active /8,636 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
Install script ran successfully

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

A check of server-side resources used by Editor Enhancer for Oxygen
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0138.66 ▲0.52
Dashboard /wp-admin3.32 ▼0.0344.92 ▼17.84
Posts /wp-admin/edit.php3.37 ▲0.0147.86 ▼4.46
Add New Post /wp-admin/post-new.php5.90 ▲0.0190.55 ▼3.36
Media Library /wp-admin/upload.php3.24 ▲0.0134.14 ▼1.12

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

Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_theysaidso_widget
can_compress_scripts
widget_recent-posts
theysaidso_admin_options
widget_recent-comments

Browser metrics Passed 4 tests

Editor Enhancer for Oxygen: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.39 ▼1.034.33 ▲2.6944.52 ▼0.60
Dashboard /wp-admin2,206 ▲215.90 ▲1.0195.49 ▼10.7138.44 ▼3.88
Posts /wp-admin/edit.php2,089 ▼32.06 ▲0.0840.04 ▼1.9434.87 ▼2.23
Add New Post /wp-admin/post-new.php1,533 ▲1423.43 ▲0.21657.80 ▲0.9363.40 ▲7.90
Media Library /wp-admin/upload.php1,388 ▼34.17 ▼0.0698.68 ▼2.9042.48 ▼1.67

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-comments
    • widget_recent-posts
    • db_upgraded
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • can_compress_scripts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test

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

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 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
6 plugin tags: editor, oxygen builder, utility, helper, oxygen...

editor-enhancer-for-oxygen/index.php 85% from 13 tests

The primary PHP file in "Editor Enhancer for Oxygen" version 1.1.2 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
  • Main file name: Name the main plugin file the same as the plugin slug ("editor-enhancer-for-oxygen.php" instead of "index.php")
  • Text Domain: The text domain should only use lowercase characters and dashes

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
There were no executable files found in this plugin20 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP131618
CSS1001
JavaScript1001

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 code0.60
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%
Functions3
▷ Named functions3100.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
No PNG files were detected