89% ep-pushcrew-now-vwo-engage

Code Review | EP Pushcrew (now VWO Engage)

WordPress plugin EP Pushcrew (now VWO Engage) scored 89% from 54 tests.

About plugin

  • Plugin page: ep-pushcrew-now-v...
  • Plugin version: 1.0.0
  • PHP compatiblity: 5.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-5.6.2
  • WordPress version: 6.3.1
  • First release: Mar 23, 2020
  • Latest release: Mar 7, 2021
  • Number of updates: 7
  • Update frequency: every 49.7 days
  • Top authors: suvronur (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active / 914 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.01MB] [CPU: ▼11.17ms] Passed 4 tests

This is a short check of server-side resources used by EP Pushcrew (now VWO Engage)
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0141.39 ▼9.61
Dashboard /wp-admin3.32 ▲0.0146.83 ▼4.89
Posts /wp-admin/edit.php3.37 ▲0.0147.03 ▼1.47
Add New Post /wp-admin/post-new.php5.90 ▲0.0292.53 ▼21.15
Media Library /wp-admin/upload.php3.24 ▲0.0134.73 ▼9.04
EP PushCrew /wp-admin/options-general.php?page=eppc_pushcrew_options3.2132.20

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

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

Browser metrics Passed 4 tests

EP Pushcrew (now VWO Engage): an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,815 ▲6913.16 ▼1.141.89 ▼0.1244.50 ▼3.39
Dashboard /wp-admin2,215 ▲305.80 ▼0.22119.94 ▲12.0048.99 ▲0.24
Posts /wp-admin/edit.php2,104 ▲122.02 ▲0.0235.00 ▼9.7738.58 ▼12.41
Add New Post /wp-admin/post-new.php6,489 ▲5,07820.04 ▲1.95880.27 ▲179.3358.23 ▼13.76
Media Library /wp-admin/upload.php1,403 ▲154.19 ▲0.02102.36 ▼131.5344.44 ▼24.75
EP PushCrew /wp-admin/options-general.php?page=eppc_pushcrew_options8582.0626.5630.05

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_theysaidso_widget
    • widget_recent-posts
    • db_upgraded
    • widget_recent-comments
    • theysaidso_admin_options
    • can_compress_scripts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected

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 | This is a smoke test targeting browser errors/issues
There were no browser issues found

Optimizations

Plugin configuration 86% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
  • Donate link: Invalid URI found ("")
You can take inspiration from this readme.txt

ep-pushcrew-now-vwo-engage/ep-pushcrew.php 77% from 13 tests

The main PHP file in "EP Pushcrew (now VWO Engage)" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
  • Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
  • Main file name: Name the main plugin file the same as the plugin slug ("ep-pushcrew-now-vwo-engage.php" instead of "ep-pushcrew.php")
  • Description: Keep the plugin description shorter than 140 characters (currently 260 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin343 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP45441343

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.69
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%
Functions17
▷ Named functions1694.12%
▷ Anonymous functions15.88%
Constants3
▷ Global constants3100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin