94% toolbar-extras-oxygen

Code Review | Toolbar Extras for Oxygen Builder - Power Up Your Admin Bar

WordPress plugin Toolbar Extras for Oxygen Builder - Power Up Your Admin Bar scored 94% from 54 tests.

About plugin

  • Plugin page: toolbar-extras-ox...
  • Plugin version: 1.2.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-5.3
  • WordPress version: 5.9.2
  • First release: Apr 1, 2019
  • Latest release: Nov 13, 2019
  • Number of updates: 15
  • Update frequency: every 15.3 days
  • Top authors: daveshine (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

400+ active / 11,083 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

Server metrics [RAM: ▲0.07MB] [CPU: ▼317.69ms] Passed 4 tests

Analyzing server-side resources used by Toolbar Extras for Oxygen Builder - Power Up Your Admin Bar
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.68 ▲0.1655.94 ▼19.70
Dashboard /wp-admin3.51 ▲0.1033.83 ▼1.62
Posts /wp-admin/edit.php3.74 ▲0.0943.29 ▲4.35
Add New Post /wp-admin/post-new.php6.97 ▲0.0095.29 ▼1,250.91
Media Library /wp-admin/upload.php3.39 ▲0.0926.94 ▲1.49

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

Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 51 new files
Database: no new tables, 2 new options
New WordPress options
tbex-options-oxygen
tbexob-addon-version

Browser metrics Passed 4 tests

This is an overview of browser requirements for Toolbar Extras for Oxygen Builder - Power Up Your Admin Bar
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,833 ▲7916.16 ▲1.025.94 ▼0.242.81 ▲0.07
Dashboard /wp-admin2,926 ▲666.16 ▲0.01122.97 ▼9.87202.02 ▲37.14
Posts /wp-admin/edit.php2,732 ▲413.23 ▼0.0168.77 ▲2.92202.26 ▲58.10
Add New Post /wp-admin/post-new.php1,683 ▼1316.19 ▼4.84417.95 ▼22.74168.08 ▲2.88
Media Library /wp-admin/upload.php1,730 ▲295.55 ▲0.05144.20 ▼41.42217.56 ▲31.18

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstall script ran successfully

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

SRP 50% from 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
Almost there! Just fix the following items
  • 24× GET requests to PHP files return non-empty strings (only 10 are shown):
    • > /wp-content/plugins/toolbar-extras-oxygen/includes/admin/admin-help.php
    • > /wp-content/plugins/toolbar-extras-oxygen/includes/oxygen-official/items-oxygen-templates.php
    • > /wp-content/plugins/toolbar-extras-oxygen/includes/tweaks.php
    • > /wp-content/plugins/toolbar-extras-oxygen/uninstall.php
    • > /wp-content/plugins/toolbar-extras-oxygen/includes/admin/tbexob-settings.php
    • > /wp-content/plugins/toolbar-extras-oxygen/toolbar-extras-oxygen.php
    • > /wp-content/plugins/toolbar-extras-oxygen/includes/admin/admin-extras.php
    • > /wp-content/plugins/toolbar-extras-oxygen/includes/admin/views/help-content-addon.php
    • > /wp-content/plugins/toolbar-extras-oxygen/includes/oxygen-addons/items-oxygens-swiss-knife.php
    • > /wp-content/plugins/toolbar-extras-oxygen/includes/string-switcher.php

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 96% 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
9 plugin tags: page builder, deckerweb, site builder, adminbar, oxygen...

toolbar-extras-oxygen/toolbar-extras-oxygen.php 92% from 13 tests

The main PHP script in "Toolbar Extras for Oxygen Builder - Power Up Your Admin Bar" version 1.2.0 is automatically included on every request by WordPress
Please take the time to fix the following:
  • Description: Please don't use more than 140 characters for the plugin description (currently 177 characters long)

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
Everything looks great! No dangerous files found in this plugin5,704 lines of code in 34 files:
LanguageFilesBlank linesComment linesLines of code
PHP251,3181,9783,771
PO File26411,1361,463
Markdown32090373
CSS117955
JSON10022
JavaScript14510
SVG10110

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.32
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%
Functions140
▷ Named functions140100.00%
▷ Anonymous functions00.00%
Constants5
▷ Global constants5100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin