10% effortless-marketing

Code Review | Effortless Marketing

WordPress plugin Effortless Marketing scored10%from 54 tests.

About plugin

  • Plugin page: effortless-marketing
  • Plugin version: 1.4.7
  • PHP version: 7.4.16
  • WordPress compatibility: 5.8-6.4
  • WordPress version: 6.3.1
  • First release: Dec 7, 2021
  • Latest release: Oct 30, 2023
  • Number of updates: 44
  • Update frequency: every 15.7 days
  • Top authors: adcoredev (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,176 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
The following installer errors require your attention
  • The plugin cannot be installed
    • > Notice in wp-content/plugins/effortless-marketing/effortless-marketing.php+151
    Undefined variable: args

Server metrics [RAM: ▲0.04MB] [CPU: ▼9.31ms] Passed 4 tests

This is a short check of server-side resources used by Effortless Marketing
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0336.16 ▼4.22
Dashboard /wp-admin3.35 ▲0.0441.03 ▼13.99
Posts /wp-admin/edit.php3.40 ▲0.0445.25 ▼5.21
Add New Post /wp-admin/post-new.php5.93 ▲0.0477.06 ▼13.81
Media Library /wp-admin/upload.php3.28 ▲0.0436.91 ▼1.07

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 79 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
can_compress_scripts
db_upgraded
widget_recent-comments
theysaidso_admin_options
widget_theysaidso_widget

Browser metrics Passed 4 tests

Effortless Marketing: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,807 ▲4614.21 ▼0.341.46 ▼0.3339.41 ▼6.92
Dashboard /wp-admin2,213 ▲365.58 ▼0.0298.04 ▲8.1141.77 ▲2.70
Posts /wp-admin/edit.php2,121 ▲211.96 ▼0.0138.93 ▲3.4237.72 ▲2.67
Add New Post /wp-admin/post-new.php1,542 ▲1623.63 ▲0.79658.27 ▼39.5750.52 ▼16.08
Media Library /wp-admin/upload.php1,421 ▲244.24 ▲0.03101.12 ▼2.5742.57 ▼3.10

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • This plugin did not uninstall without warnings or errors
    • > Notice in wp-content/plugins/effortless-marketing/effortless-marketing.php+140
    Undefined variable: args
  • This plugin does not fully uninstall, leaving 6 options in the database
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-posts
    • can_compress_scripts
    • widget_recent-comments
    • widget_theysaidso_widget

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: shopping feed, facebook product, product feed, google shopping

effortless-marketing/effortless-marketing.php Passed 13 tests

The primary PHP file in "Effortless Marketing" version 1.4.7 is used by WordPress to initiate all plugin functionality
93 characters long description:
Effortless Marketing is a holistic marketing solution for store owners from feed creation and

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin671 lines of code in 58 files:
LanguageFilesBlank linesComment linesLines of code
SVG4902424
PHP23917203
HTML10836
CSS2014
JavaScript4044

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.19
Average class complexity14.00
▷ Minimum class complexity14.00
▷ Maximum class complexity14.00
Average method complexity1.93
▷ Minimum method complexity1.00
▷ Maximum method complexity6.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods14
▷ Static methods00.00%
▷ Public methods1392.86%
▷ Protected methods00.00%
▷ Private methods17.14%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants00.00%
▷ Class constants2100.00%
▷ Public constants150.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
7 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
includes/color.png10.11KB8.24KB▼ 18.50%
includes/assets/icons/bar-chart.png2.56KB1.67KB▼ 34.96%
includes/hue.png0.29KB1.40KB0.00%
includes/assets/EF.png9.13KB2.10KB▼ 76.94%
includes/password-meter.png0.12KB0.12KB0.00%