90% editor-cleanup-for-elementor

Code Review | Editor Cleanup For Elementor: clean up and solve plugin conflicts with the Elementor editor

WordPress plugin Editor Cleanup For Elementor: clean up and solve plugin conflicts with the Elementor editor scored90%from 54 tests.

About plugin

  • Plugin page: editor-cleanup-fo...
  • Plugin version: 0.0.5
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-6.4
  • WordPress version: 6.3.1
  • First release: Dec 20, 2021
  • Latest release: Nov 1, 2023
  • Number of updates: 29
  • Update frequency: every 23.5 days
  • Top authors: giuse (100%)

Code review

54 tests

User reviews

1 review

Install metrics

200+ active /2,718 total downloads

Benchmarks

Plugin footprint 82% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully

Server metrics [RAM: ▲0.03MB] [CPU: ▼8.66ms] Passed 4 tests

This is a short check of server-side resources used by Editor Cleanup For Elementor: clean up and solve plugin conflicts with the Elementor editor
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0434.51 ▼5.80
Dashboard /wp-admin3.35 ▲0.0144.31 ▼17.58
Posts /wp-admin/edit.php3.41 ▲0.0550.25 ▲0.09
Add New Post /wp-admin/post-new.php5.94 ▲0.0590.88 ▼9.86
Media Library /wp-admin/upload.php3.28 ▲0.0434.95 ▼1.40

Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] 67% from 3 tests

Analyzing filesystem and database footprints of this plugin
These are issues you should consider
  • There were 1 file (2.66KB) illegally modified outside of "wp-content/plugins/editor-cleanup-for-elementor/" and "wp-content/uploads/"
    • (new file) wp-content/mu-plugins/fdp-mu-elementor.php
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
widget_recent-posts
theysaidso_admin_options
can_compress_scripts
db_upgraded
widget_recent-comments

Browser metrics Passed 4 tests

An overview of browser requirements for Editor Cleanup For Elementor: clean up and solve plugin conflicts with the Elementor editor
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,795 ▲4914.24 ▼0.401.52 ▼0.2339.65 ▼7.57
Dashboard /wp-admin2,204 ▲245.67 ▼0.0488.49 ▲0.6340.25 ▼2.20
Posts /wp-admin/edit.php2,107 ▲72.02 ▲0.0639.75 ▼0.2037.08 ▲1.68
Add New Post /wp-admin/post-new.php1,602 ▲7322.60 ▼0.80638.19 ▼0.4735.89 ▼10.37
Media Library /wp-admin/upload.php1,406 ▲64.28 ▲0.1098.29 ▲3.5144.03 ▲2.36

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
  • Zombie WordPress options detected upon uninstall: 6 options
    • theysaidso_admin_options
    • widget_recent-posts
    • can_compress_scripts
    • widget_recent-comments
    • widget_theysaidso_widget
    • db_upgraded

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting 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
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: conflicts, cleanup, performance, debugging, elementor

editor-cleanup-for-elementor/editor-cleanup-for-elementor.php Passed 13 tests

"Editor Cleanup For Elementor: clean up and solve plugin conflicts with the Elementor editor" version 0.0.5's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
50 characters long description:
An FDP add-on to speed up Elementor in the backend

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
No dangerous file extensions were detected603 lines of code in 16 files:
LanguageFilesBlank linesComment linesLines of code
PHP154071586
JavaScript10017

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.50
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%
Functions33
▷ Named functions2163.64%
▷ Anonymous functions1236.36%
Constants7
▷ Global constants7100.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
1 compressed PNG file occupies 0.02MB
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
admin/assets/img/elementor-editor-screen.png17.48KB17.02KB▼ 2.66%