78% email-marketing-by-activeconvert

Code Review | Drip Email

WordPress plugin Drip Email scored78%from 54 tests.

About plugin

  • Plugin page: email-marketing-b...
  • Plugin version: 1.1.4
  • PHP version: 7.4.16
  • WordPress compatibility: 3.6-5.0.0
  • WordPress version: 6.3.1
  • First release: Jun 28, 2017
  • Latest release: Apr 12, 2019
  • Number of updates: 211
  • Update frequency: every 3.1 days
  • Top authors: activeconvert (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

10+ active /10,375 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
The plugin installed gracefully, with no errors

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

Analyzing server-side resources used by Drip Email
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0138.77 ▼1.38
Dashboard /wp-admin3.32 ▼0.0347.78 ▼35.70
Posts /wp-admin/edit.php3.37 ▲0.0147.10 ▼2.73
Add New Post /wp-admin/post-new.php5.90 ▲0.0187.48 ▼12.84
Media Library /wp-admin/upload.php3.24 ▲0.0135.49 ▼2.74
Email Marketing /wp-admin/options-general.php?page=email-marketing-by-activeconvert3.2129.95

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

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

Browser metrics Passed 4 tests

An overview of browser requirements for Drip Email
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,842 ▲8113.30 ▼1.341.78 ▼0.0243.72 ▲0.09
Dashboard /wp-admin2,251 ▲514.93 ▼0.9298.16 ▼14.0381.59 ▲38.75
Posts /wp-admin/edit.php2,125 ▲222.02 ▲0.0236.71 ▼0.7434.33 ▲0.05
Add New Post /wp-admin/post-new.php1,560 ▲1518.36 ▼4.86742.79 ▲115.2865.72 ▲15.74
Media Library /wp-admin/upload.php1,419 ▲194.25 ▲0.13101.11 ▼17.9082.12 ▲33.72
Email Marketing /wp-admin/options-general.php?page=email-marketing-by-activeconvert9142.0424.8230.63

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
  • The uninstall procedure has failed, leaving 6 options in the database
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-posts
    • widget_theysaidso_widget
    • widget_recent-comments
    • can_compress_scripts

Smoke tests 50% from 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 0% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
  • 1× PHP files perform the task of outputting text when accessed with GET requests:
    • > /wp-content/plugins/email-marketing-by-activeconvert/options.php
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/email-marketing-by-activeconvert/email-marketing-by-activeconvert.php:11

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
  • Screenshots: These screenshots require images: #1 (This is an example email capture form), #2 (Email sequence set up), #3 (Exit intent email capture), #4 (Dashboards and metrics)
The official readme.txt is a good inspiration

email-marketing-by-activeconvert/email-marketing-by-activeconvert.php 92% from 13 tests

The main file in "Drip Email" v. 1.1.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
  • Description: Keep the plugin description shorter than 140 characters (currently 257 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected118 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP2228118

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.26
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%
Functions9
▷ Named functions9100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
5 PNG files occupy 0.95MB with 0.53MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
screenshot-1.png641.19KB263.55KB▼ 58.90%
ac-small-white.png0.82KB0.55KB▼ 32.66%
screenshot-4.png67.89KB25.01KB▼ 63.16%
activeconvert.png13.15KB5.61KB▼ 57.30%
screenshot-2.png246.04KB74.05KB▼ 69.90%