94% email-address-obfuscation

Code Review | Email Address Obfuscation

WordPress plugin Email Address Obfuscation scored 94% from 54 tests.

About plugin

  • Plugin page: email-address-obf...
  • Plugin version: 0.9.1
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 2.5-5.9
  • WordPress version: 5.8.1
  • First release: Mar 9, 2022
  • Latest release: Mar 9, 2022
  • Number of updates: 4
  • Update frequency: every 4.8 days
  • Top authors: neotrendy (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 11 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully

Server metrics [RAM: ▼0.00MB] [CPU: ▼152.66ms] Passed 4 tests

Server-side resources used by Email Address Obfuscation
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /2.85 ▲0.0032.19 ▲9.95
Dashboard /wp-admin3.07 ▼0.0032.95 ▼3.21
Posts /wp-admin/edit.php3.12 ▲0.0130.21 ▲1.45
Add New Post /wp-admin/post-new.php5.43 ▼0.0168.03 ▼606.82
Media Library /wp-admin/upload.php3.01 ▲0.0021.90 ▼2.07

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Email Address Obfuscation
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,666 ▲6515.95 ▲0.365.11 ▲0.2175.32 ▼1.22
Dashboard /wp-admin2,933 ▲376.04 ▼0.23112.59 ▼18.21165.67 ▼5.91
Posts /wp-admin/edit.php2,740 ▲33.23 ▼0.0061.83 ▼3.29131.41 ▼17.38
Add New Post /wp-admin/post-new.php3,743 ▲3919.08 ▲0.48434.77 ▼18.14155.03 ▼8.15
Media Library /wp-admin/upload.php1,752 ▲35.45 ▼0.09142.79 ▼4.79185.24 ▲1.72

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test

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
Please fix the following items
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/email-address-obfuscation/email-address-obfuscation.php:42

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
6 plugin tags: obfuscate, protect, email, obfuscation, anti-spam...

email-address-obfuscation/email-address-obfuscation.php 92% from 13 tests

The main file in "Email Address Obfuscation" v. 0.9.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
  • Description: Please don't use more than 140 characters for the plugin description (currently 147 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected14 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP122614

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.25
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%
Functions1
▷ Named functions1100.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
No PNG images were found in this plugin