10% subscriber-boost-for-mailchimp

Code Review | Subscriber Boost for MailChimp

WordPress plugin Subscriber Boost for MailChimp scored10%from 54 tests.

About plugin

  • Plugin page: subscriber-boost-...
  • Plugin version: 0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-4.9.1
  • WordPress version: 6.3.1
  • First release: May 29, 2018
  • Latest release: May 29, 2018
  • Number of updates: 4
  • Update frequency: every 0.8 days
  • Top authors: convertwise (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /642 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
  • Install procedure validation failed for this plugin
    • > Warning in wp-content/plugins/subscriber-boost-for-mailchimp/SubscriberBoostBackend.php+24
    Invalid argument supplied for foreach()

Server metrics [RAM: ▼1.76MB] [CPU: ▼51.06ms] Passed 4 tests

A check of server-side resources used by Subscriber Boost for MailChimp
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.56 ▲0.1041.01 ▼5.53
Dashboard /wp-admin2.18 ▼1.128.68 ▼39.60
Posts /wp-admin/edit.php2.18 ▼1.188.36 ▼43.88
Add New Post /wp-admin/post-new.php2.18 ▼3.718.10 ▼94.61
Media Library /wp-admin/upload.php2.18 ▼1.057.37 ▼26.14

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

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

Browser metrics Passed 4 tests

An overview of browser requirements for Subscriber Boost for MailChimp
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,941 ▲18415.82 ▲1.0245.23 ▲42.7042.54 ▼9.75
Dashboard /wp-admin2,237 ▲464.85 ▼1.05112.35 ▲9.4942.54 ▼3.59
Posts /wp-admin/edit.php2,127 ▲382.04 ▲0.0342.38 ▲6.4433.74 ▲0.26
Add New Post /wp-admin/post-new.php1,548 ▲623.55 ▲5.35596.33 ▼66.9062.10 ▲6.30
Media Library /wp-admin/upload.php1,419 ▲314.22 ▲0.0398.38 ▼9.8342.15 ▼3.51

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
  • This plugin cannot be uninstalled
    • > Warning in wp-content/plugins/subscriber-boost-for-mailchimp/SubscriberBoostBackend.php+24
    Invalid argument supplied for foreach()
  • The uninstall procedure has failed, leaving 6 options in the database
    • can_compress_scripts
    • db_upgraded
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-comments
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test

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
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 90% from 29 tests

readme.txt 81% from 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
  • Screenshots: These screenshots need descriptions #1, #2, #3, #4, #5 in subscriber-boost-for-mailchimp/assets to your readme.txt
  • Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
  • Contributors: Plugin contributors field is missing
You can look at the official readme.txt

subscriber-boost-for-mailchimp/subscriber-boost-for-mailchimp.php Passed 13 tests

This is the main PHP file of "Subscriber Boost for MailChimp" version 0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
43 characters long description:
Get a boost to your newsletter subscribers.

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
Good job! No executable or dangerous file extensions detected11,031 lines of code in 10 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript51,4921,87610,434
PHP37136405
CSS2316192

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.28
Average class complexity23.00
▷ Minimum class complexity16.00
▷ Maximum class complexity30.00
Average method complexity2.47
▷ Minimum method complexity1.00
▷ Maximum method complexity13.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods30
▷ Static methods00.00%
▷ Public methods30100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.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
PNG images were not found in this plugin