10% email-remover

Code Review | Email Remover

WordPress plugin Email Remover scored 10% from 54 tests.

About plugin

  • Plugin page: email-remover
  • Plugin version: 0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.3-3.5.1
  • WordPress version: 6.3.1
  • First release: Jun 20, 2013
  • Latest release: Feb 3, 2015
  • Number of updates: 10
  • Update frequency: every 60.1 days
  • Top authors: planted (70%)danut007ro (40%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 756 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
You still need to fix the following installer errors
  • The plugin cannot be installed
    • > Warning in wp-content/plugins/email-remover/email-remover.php+21
    gzdecode(): data error

Server metrics [RAM: ▲0.06MB] [CPU: ▼6.02ms] Passed 4 tests

An overview of server-side resources used by Email Remover
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0333.73 ▼2.57
Dashboard /wp-admin3.38 ▲0.0842.59 ▼2.30
Posts /wp-admin/edit.php3.41 ▲0.0644.99 ▼1.23
Add New Post /wp-admin/post-new.php6.05 ▲0.1783.35 ▼16.69
Media Library /wp-admin/upload.php3.32 ▲0.0929.58 ▼2.50

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

Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
widget_theysaidso_widget
widget_recent-posts
theysaidso_admin_options
db_upgraded
can_compress_scripts

Browser metrics Passed 4 tests

Checking browser requirements for Email Remover
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.57 ▼0.711.92 ▲0.2141.15 ▼1.17
Dashboard /wp-admin2,206 ▲205.88 ▲0.91105.88 ▼4.2141.99 ▼1.73
Posts /wp-admin/edit.php2,089 ▼32.04 ▲0.0240.15 ▼0.9134.45 ▲0.07
Add New Post /wp-admin/post-new.php1,544 ▲2218.72 ▼4.54591.39 ▼9.4752.92 ▼2.52
Media Library /wp-admin/upload.php1,388 ▲64.19 ▲0.0197.49 ▲2.0143.69 ▲1.25

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
  • This plugin does not fully uninstall, leaving 6 options in the database
    • theysaidso_admin_options
    • can_compress_scripts
    • db_upgraded
    • widget_recent-posts
    • widget_theysaidso_widget
    • widget_recent-comments

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 88% from 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
  • Donate link: Please fix this invalid url: ""
  • Tags: Please add at least on tag
You can look at the official readme.txt

email-remover/email-remover.php Passed 13 tests

Analyzing the main PHP file in "Email Remover" version 0.1
91 characters long description:
This is a simple plugin for removing email addresses from every page rendered by wordpress.

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
There were no executable files found in this plugin31 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP181231

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
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%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
There were not PNG files found in your plugin