90% disable-elementor-editor-translation

Code Review | Disable Elementor Editor Translation

WordPress plugin Disable Elementor Editor Translation scored90%from 54 tests.

About plugin

  • Plugin page: disable-elementor...
  • Plugin version: 1.0.2
  • PHP compatiblity: 5.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.8.1
  • WordPress version: 6.3.1
  • First release: Jun 24, 2019
  • Latest release: Nov 8, 2021
  • Number of updates: 6
  • Update frequency: every 154.7 days
  • Top authors: leap13 (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

400+ active /5,846 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
Install script ran successfully

Server metrics [RAM: ▲0.04MB] [CPU: ▼3.78ms] Passed 4 tests

Server-side resources used by Disable Elementor Editor Translation
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0140.88 ▼2.45
Dashboard /wp-admin3.35 ▲0.0547.04 ▼2.34
Posts /wp-admin/edit.php3.47 ▲0.1150.28 ▲0.50
Add New Post /wp-admin/post-new.php5.93 ▲0.0585.86 ▼10.84
Media Library /wp-admin/upload.php3.27 ▲0.0538.58 ▲4.75
Disable Editor Translation /wp-admin/admin.php?page=det-settings3.2431.34

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

Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
widget_theysaidso_widget
widget_recent-comments
can_compress_scripts
theysaidso_admin_options
db_upgraded

Browser metrics Passed 4 tests

An overview of browser requirements for Disable Elementor Editor Translation
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.18 ▼1.075.40 ▲3.6839.95 ▼2.82
Dashboard /wp-admin2,209 ▲214.85 ▼0.99110.56 ▲7.4839.20 ▼3.70
Posts /wp-admin/edit.php2,089 ▼32.01 ▼0.0438.77 ▼2.4134.68 ▼3.04
Add New Post /wp-admin/post-new.php1,534 ▲623.42 ▲4.93681.84 ▲66.7463.71 ▲2.53
Media Library /wp-admin/upload.php1,382 ▼64.19 ▼0.0397.68 ▼5.2240.75 ▼1.65
Disable Editor Translation /wp-admin/admin.php?page=det-settings8292.3655.1528.96

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-comments
    • db_upgraded
    • can_compress_scripts
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test

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
Congratulations! This plugin passed the SRP test

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

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
4 plugin tags: translation, elementor, page builder, editor

disable-elementor-editor-translation/disable-elementor-translation.php 92% from 13 tests

The main PHP file in "Disable Elementor Editor Translation" ver. 1.0.2 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
  • Main file name: The principal plugin file should be the same as the plugin slug ("disable-elementor-editor-translation.php" instead of "disable-elementor-translation.php")

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
No dangerous file extensions were detected6,323 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript39497495,948
PHP296116193
CSS200182

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.26
Average class complexity7.50
▷ Minimum class complexity6.00
▷ Maximum class complexity9.00
Average method complexity1.93
▷ Minimum method complexity1.00
▷ Maximum method complexity7.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods14
▷ Static methods428.57%
▷ Public methods14100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants5
▷ Global constants5100.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
No PNG images were found in this plugin