90% wpdevdesign-oxygen-currently-editing

Code Review | WPDevDesign - Oxygen - Currently Editing

WordPress plugin WPDevDesign - Oxygen - Currently Editing scored 90% from 54 tests.

About plugin

  • Plugin page: wpdevdesign-oxyge...
  • Plugin version: 1.0.1
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.1-6.0
  • WordPress version: 6.3.1
  • First release: Oct 31, 2019
  • Latest release: Jun 15, 2022
  • Number of updates: 6
  • Update frequency: every 159.7 days
  • Top authors: srikat (100%)

Code review

54 tests

User reviews

1 review

Install metrics

600+ active / 3,919 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully

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

This is a short check of server-side resources used by WPDevDesign - Oxygen - Currently Editing
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0033.59 ▼7.73
Dashboard /wp-admin3.31 ▲0.0043.92 ▲0.69
Posts /wp-admin/edit.php3.36 ▲0.0047.29 ▼3.63
Add New Post /wp-admin/post-new.php5.89 ▲0.0088.19 ▼5.54
Media Library /wp-admin/upload.php3.23 ▲0.0033.84 ▲3.04

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

How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-comments
can_compress_scripts
widget_recent-posts

Browser metrics Passed 4 tests

An overview of browser requirements for WPDevDesign - Oxygen - Currently Editing
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.62 ▼0.764.25 ▲2.2539.86 ▼2.46
Dashboard /wp-admin2,206 ▲154.86 ▼0.01109.28 ▼0.8141.20 ▼0.60
Posts /wp-admin/edit.php2,092 ▼02.02 ▲0.0340.95 ▲1.8634.00 ▼2.82
Add New Post /wp-admin/post-new.php1,534 ▲2023.34 ▲5.66583.61 ▼103.3751.87 ▼2.87
Media Library /wp-admin/upload.php1,385 ▲34.27 ▲0.0395.74 ▼28.9742.70 ▼4.32

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-posts
    • widget_recent-comments
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • db_upgraded

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking 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 | 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
No output text or server-side errors detected on direct access of PHP files

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

Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: oxygen editor, oxygen ui, oxygen, oxygen builder

wpdevdesign-oxygen-currently-editing/plugin.php 92% from 13 tests

The entry point to "WPDevDesign - Oxygen - Currently Editing" version 1.0.1 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
  • Main file name: Name the main plugin file the same as the plugin slug ("wpdevdesign-oxygen-currently-editing.php" instead of "plugin.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin31 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP182315
CSS1008
JavaScript1308

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.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

PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin