90% classic-editor-addon

Code Review | Classic Editor +

WordPress plugin Classic Editor + scored90%from 54 tests.

About plugin

  • Plugin page: classic-editor-addon
  • Plugin version: 4.3.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.9-6.4
  • WordPress version: 6.3.1
  • First release: Jul 8, 2018
  • Latest release: Nov 10, 2023
  • Number of updates: 46
  • Update frequency: every 42.4 days
  • Top authors: senlin (100%)

Code review

54 tests

User reviews

27 reviews

Install metrics

30,000+ active /477,317 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 gracefully, with no errors

Server metrics [RAM: ▼0.63MB] [CPU: ▼17.34ms] Passed 4 tests

Server-side resources used by Classic Editor +
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0133.28 ▼6.87
Dashboard /wp-admin3.31 ▼0.0344.02 ▼18.75
Posts /wp-admin/edit.php3.36 ▲0.0146.50 ▼2.74
Add New Post /wp-admin/post-new.php3.41 ▼2.4853.85 ▼40.98
Media Library /wp-admin/upload.php3.23 ▲0.0036.18 ▲7.10

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

Filesystem and database footprint
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
widget_theysaidso_widget
can_compress_scripts
db_upgraded
widget_recent-comments
theysaidso_admin_options

Browser metrics Passed 4 tests

Checking browser requirements for Classic Editor +
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,779 ▲1714.16 ▼0.181.53 ▼0.1739.64 ▼7.26
Dashboard /wp-admin2,195 ▲155.61 ▼0.0087.73 ▼11.7037.14 ▼7.49
Posts /wp-admin/edit.php2,100 ▲31.97 ▲0.0239.01 ▲1.0335.81 ▲3.78
Add New Post /wp-admin/post-new.php3,099 ▲1,5737.77 ▼15.35212.03 ▼453.3269.48 ▲18.62
Media Library /wp-admin/upload.php1,400 ▲34.16 ▼0.0195.10 ▼5.7941.06 ▼4.83

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-comments
    • widget_recent-posts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • can_compress_scripts
    • db_upgraded

Smoke tests Passed 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 Passed 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: block editor, wordpress 50, classic widgets, woocommerce, classic editor...

classic-editor-addon/classic-editor-addon.php Passed 13 tests

The primary PHP file in "Classic Editor +" version 4.3.0 is used by WordPress to initiate all plugin functionality
121 characters long description:
The "Classic Editor +" plugin disables the block editor, removes enqueued scripts/styles and brings back classic Widgets.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin37 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1223537

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
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%
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

Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin