90% benchmark-email-lite

Code Review | Benchmark Email Lite

WordPress plugin Benchmark Email Lite scored 90% from 54 tests.

About plugin

  • Plugin page: benchmark-email-lite
  • Plugin version: 4.1
  • PHP compatiblity: 7.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.9-6.3
  • WordPress version: 6.3.1
  • First release: May 12, 2011
  • Latest release: Jul 22, 2023
  • Number of updates: 351
  • Update frequency: every 12.7 days
  • Top authors: beautomated (62.39%)seanconklin (37.89%)

Code review

54 tests

User reviews

3 reviews

Install metrics

1,000+ active / 79,552 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully

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

This is a short check of server-side resources used by Benchmark Email Lite
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0546.87 ▼3.67
Dashboard /wp-admin3.34 ▲0.0450.06 ▼190.16
Posts /wp-admin/edit.php3.39 ▲0.0456.97 ▲6.13
Add New Post /wp-admin/post-new.php5.92 ▲0.0488.37 ▼1.96
Media Library /wp-admin/upload.php3.26 ▲0.0342.63 ▲10.03

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

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 14 new files
Database: no new tables, 9 new options
New WordPress options

Browser metrics Passed 4 tests

A check of browser resources used by Benchmark Email Lite
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,831 ▲9614.26 ▼0.151.76 ▼0.9749.94 ▲5.96
Dashboard /wp-admin2,237 ▲585.86 ▲0.93119.45 ▼40.0547.39 ▼14.88
Posts /wp-admin/edit.php2,112 ▲202.16 ▲0.1639.06 ▼7.5535.72 ▼3.13
Add New Post /wp-admin/post-new.php6,610 ▲5,07629.38 ▲6.24931.10 ▲331.1884.52 ▲17.04
Media Library /wp-admin/upload.php1,419 ▲344.22 ▼0.03110.45 ▲10.4645.09 ▼1.51

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
  • Zombie WordPress options were found after uninstall: 9 options
    • widget_recent-comments
    • wpbme_db_version
    • recovery_mode_email_last_sent
    • widget_recent-posts
    • db_upgraded
    • can_compress_scripts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_wpbme_widget

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 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
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
There were no browser issues found


Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
10 plugin tags: newsletter, widget, sign up, email marketing, form...

benchmark-email-lite/benchmark-email-lite.php Passed 13 tests

Analyzing the main PHP file in "Benchmark Email Lite" version 4.1
97 characters long description:
Connects WordPress with Benchmark Email for newsletter sign-up forms and post-to-email campaigns.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin1,312 lines of code in 13 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.38
Average class complexity16.67
▷ Minimum class complexity1.00
▷ Maximum class complexity38.00
Average method complexity4.62
▷ Minimum method complexity1.00
▷ Maximum method complexity28.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes6100.00%
▷ Final classes00.00%
▷ Static methods2284.62%
▷ Public methods26100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions00.00%
▷ Anonymous functions18100.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin