84% text-scrambler-for-elementor

Code Review | Text Scrambler for Elementor

WordPress plugin Text Scrambler for Elementor scored84%from 54 tests.

About plugin

  • Plugin page: text-scrambler-fo...
  • Plugin version: 1.0.0
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.2-5.7
  • WordPress version: 6.3.1
  • First release: Jul 16, 2021
  • Latest release: Jul 16, 2021
  • Number of updates: 2
  • Update frequency: every 4.0 days
  • Top authors: solitweb (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /399 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully

Server metrics [RAM: ▲0.02MB] [CPU: ▼7.45ms] Passed 4 tests

Analyzing server-side resources used by Text Scrambler for Elementor
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0236.42 ▼5.13
Dashboard /wp-admin3.32 ▲0.0244.84 ▼4.63
Posts /wp-admin/edit.php3.37 ▲0.0149.38 ▼0.83
Add New Post /wp-admin/post-new.php5.91 ▲0.0190.37 ▼19.19
Media Library /wp-admin/upload.php3.25 ▲0.0135.74 ▲2.90

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

How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_recent-comments
widget_recent-posts
widget_theysaidso_widget
can_compress_scripts
db_upgraded

Browser metrics Passed 4 tests

This is an overview of browser requirements for Text Scrambler for Elementor
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,818 ▲8313.25 ▼0.971.54 ▼0.1438.44 ▼2.25
Dashboard /wp-admin2,221 ▲305.86 ▼0.07106.60 ▼0.9039.92 ▼5.04
Posts /wp-admin/edit.php2,106 ▲142.05 ▼0.0141.31 ▲2.2735.83 ▲3.24
Add New Post /wp-admin/post-new.php1,546 ▲3223.09 ▲5.62592.11 ▼71.6653.47 ▼2.76
Media Library /wp-admin/upload.php1,403 ▲154.24 ▲0.0796.29 ▼6.0741.59 ▼3.16

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-comments
    • widget_theysaidso_widget
    • db_upgraded
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-posts

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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/text-scrambler-for-elementor/text-scrambler-for-elementor.php:25

User-side errors Passed 1 test

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

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: scrambler, text, text scrambler, elementor, pagebuilder

text-scrambler-for-elementor/text-scrambler-for-elementor.php Passed 13 tests

The main PHP script in "Text Scrambler for Elementor" version 1.0.0 is automatically included on every request by WordPress
71 characters long description:
This plugin adds a Text Scrambler widget to the Elementor Page Builder.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin653 lines of code in 8 files:
LanguageFilesBlank linesComment linesLines of code
PHP47415343
JavaScript29562291
CSS23019

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.18
Average class complexity5.67
▷ Minimum class complexity4.00
▷ Maximum class complexity7.00
Average method complexity1.64
▷ Minimum method complexity1.00
▷ Maximum method complexity4.00
Code structure
Namespaces2
Interfaces0
Traits0
Classes3
▷ Abstract classes00.00%
▷ Concrete classes3100.00%
▷ Final classes133.33%
Methods22
▷ Static methods14.55%
▷ Public methods1881.82%
▷ Protected methods29.09%
▷ Private methods29.09%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants00.00%
▷ Class constants3100.00%
▷ Public constants3100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin