78% toolbar-remixed-free

Code Review | Toolbar Remixed - Free

WordPress plugin Toolbar Remixed - Free scored 78% from 54 tests.

About plugin

  • Plugin page: toolbar-remixed-free
  • Plugin version: 1.2.6
  • PHP version: 7.4.16
  • WordPress compatibility: 3.6-3.6
  • WordPress version: 5.9.2
  • First release: Apr 24, 2013
  • Latest release: Sep 2, 2013
  • Number of updates: 32
  • Update frequency: every 4.3 days
  • Top authors: siteguru (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

20+ active / 2,968 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▼1.21MB] [CPU: ▼341.12ms] Passed 4 tests

A check of server-side resources used by Toolbar Remixed - Free
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.14 ▼0.3720.20 ▼38.10
Dashboard /wp-admin3.20 ▼0.2122.37 ▼20.52
Posts /wp-admin/edit.php3.20 ▼0.4423.76 ▼27.17
Add New Post /wp-admin/post-new.php3.20 ▼3.8023.40 ▼1,278.70
Media Library /wp-admin/upload.php3.20 ▼0.0919.82 ▼7.63
Toolbar Remixed Free /wp-admin/options-general.php?page=ToolbarRemixedFree3.2022.68

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

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 29 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Toolbar Remixed - Free: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,790 ▲4815.82 ▲0.215.80 ▼0.952.20 ▼0.07
Dashboard /wp-admin2,897 ▲366.14 ▼0.04117.40 ▼16.80154.13 ▼3.17
Posts /wp-admin/edit.php2,690 ▼43.24 ▼0.0065.42 ▼0.08146.83 ▲5.60
Add New Post /wp-admin/post-new.php1,765 ▲10419.14 ▲2.74381.73 ▼14.44151.13 ▼3.04
Media Library /wp-admin/upload.php1,703 ▲115.55 ▲0.03142.87 ▼3.91184.58 ▲2.27
Toolbar Remixed Free /wp-admin/options-general.php?page=ToolbarRemixedFree1,5073.7992.09126.88

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
It is recommended to fix the following
  • This plugin cannot be uninstalled
    • > Notice in wp-content/plugins/toolbar-remixed-free/toolbar-remixed-free.php+317
    Trying to access array offset on value of type bool

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
  • 20 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=ToolbarRemixedFree
    • > Notice in wp-content/plugins/toolbar-remixed-free/toolbar-remixed-free.php+259
    Trying to access array offset on value of type bool

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/toolbar-remixed-free/toolbar-remixed-free.php:12

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 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
These attributes need your attention:
  • Screenshots: Screenshot #4 (Toolbar Remixed Free Settings Page) image required
Please take inspiration from this readme.txt

toolbar-remixed-free/toolbar-remixed-free.php Passed 13 tests

The principal PHP file in "Toolbar Remixed - Free" v. 1.2.6 is loaded by WordPress automatically on each request
42 characters long description:
Control and Enhance the WordPress Toolbar.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected2,810 lines of code in 13 files:
LanguageFilesBlank linesComment linesLines of code
CSS114812972,357
PHP18324404
JavaScript116649

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.20
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%
Functions8
▷ Named functions8100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
14 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
css/divtoolbar_remixed_admin_options/images/ui-bg_flat_15_cd0a0a_40x100.png0.20KB0.08KB▼ 57.77%
css/divtoolbar_remixed_admin_options/images/ui-icons_2e83ff_256x240.png4.44KB4.17KB▼ 6.02%
css/divtoolbar_remixed_admin_options/images/ui-bg_glass_50_3baae3_1x400.png0.33KB0.16KB▼ 50.89%
css/divtoolbar_remixed_admin_options/images/ui-bg_highlight-soft_100_deedf7_1x100.png0.38KB0.18KB▼ 52.97%
css/divtoolbar_remixed_admin_options/images/ui-icons_ffffff_256x240.png6.15KB4.17KB▼ 32.13%