10% myeasywebally

Code Review | myEASYwebally

WordPress plugin myEASYwebally scored10%from 54 tests.

About plugin

  • Plugin page: myeasywebally
  • Plugin version: 1.3.5
  • PHP version: 7.4.16
  • WordPress compatibility: 2.8+
  • WordPress version: 6.3.1
  • First release: Aug 23, 2010
  • Latest release: Dec 17, 2012
  • Number of updates: 22
  • Update frequency: every 39.6 days
  • Top authors: camaleo (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /4,118 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
  • Install procedure validation failed for this plugin
    • > Notice in wp-content/plugins/myeasywebally/myeasywebally.php+36
    Constant MYEWALLY_FOLDER already defined

Server metrics [RAM: ▼1.91MB] [CPU: ▼55.09ms] Passed 4 tests

An overview of server-side resources used by myEASYwebally
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /2.09 ▼1.375.00 ▼38.25
Dashboard /wp-admin2.11 ▼1.245.57 ▼54.52
Posts /wp-admin/edit.php2.11 ▼1.256.08 ▼38.46
Add New Post /wp-admin/post-new.php2.11 ▼3.785.59 ▼89.13
Media Library /wp-admin/upload.php2.11 ▼1.125.77 ▼27.56
myEASYwebally /wp-admin/options-general.php?page=myEASYwebally_settings2.115.34

Server storage [IO: ▲0.29MB] [DB: ▲0.00MB] 67% from 3 tests

A short overview of filesystem and database impact
Just a few items left to fix
  • You have illegally modified 1 file (0.31KB) outside of "wp-content/plugins/myeasywebally/" and "wp-content/uploads/"
    • (new file) myEASYwebally-notifier.php
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_recent-posts
can_compress_scripts
theysaidso_admin_options
widget_recent-comments
widget_theysaidso_widget

Browser metrics Passed 4 tests

Checking browser requirements for myEASYwebally
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,842 ▲9614.35 ▲0.191.75 ▼0.0943.74 ▲0.45
Dashboard /wp-admin2,248 ▲715.65 ▲0.06100.45 ▲9.5646.28 ▲7.50
Posts /wp-admin/edit.php2,111 ▲82.01 ▼0.0342.03 ▼0.6638.20 ▲5.45
Add New Post /wp-admin/post-new.php1,536 ▲623.09 ▲0.01599.51 ▼36.7056.51 ▼9.63
Media Library /wp-admin/upload.php1,411 ▲174.19 ▼0.02100.56 ▼4.0840.92 ▼7.31
myEASYwebally /wp-admin/options-general.php?page=myEASYwebally_settings9401.9116.4943.46

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
  • The plugin did not uninstall gracefully
    • > Notice in wp-content/plugins/myeasywebally/myeasywebally.php+36
    Constant MYEWALLY_FOLDER already defined
  • Zombie WordPress options detected upon uninstall: 6 options
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-comments
    • db_upgraded
    • widget_recent-posts

Smoke tests 0% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
    • > GET request to /wp-admin/options-general.php?page=myEASYwebally_settings
    • > Notice in wp-content/plugins/myeasywebally/myeasywebally.php+36
    Constant MYEWALLY_FOLDER already defined
    • > GET request to /wp-admin/options-general.php?page=myEASYwebally_settings
    • > Deprecated in wp-content/plugins/myeasywebally/class.myeasywebally.php+699
    Methods with the same name as their class will not be constructors in a future version of PHP; myEASYwebally_FRONTEND has a deprecated constructor
    • > GET request to /wp-admin/options-general.php?page=myEASYwebally_settings
    • > Deprecated in wp-content/plugins/myeasywebally/class.myeasywebally.php+903
    Methods with the same name as their class will not be constructors in a future version of PHP; myEASYwebally_BACKEND has a deprecated constructor
    • > GET request to /wp-admin/options-general.php?page=myEASYwebally_settings
    • > Notice in wp-content/plugins/myeasywebally/class.myeasywebally.php+124
    Undefined property: myEASYwebally_BACKEND::$add_plugin_links
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=myEASYwebally_settings
    • > Notice in wp-includes/plugin.php+1004
    Undefined offset: 0
    • > GET request to /wp-admin/options-general.php?page=myEASYwebally_settings
    • > Notice in wp-content/plugins/myeasywebally/class.myeasywebally.php+192
    Undefined index: myewally_userKey
    • > GET request to /wp-admin/options-general.php?page=myEASYwebally_settings
    • > Notice in wp-content/plugins/myeasywebally/class.myeasywebally.php+193
    Undefined index: myewally_userEmail
    • > GET request to /wp-admin/options-general.php?page=myEASYwebally_settings
    • > Notice in wp-content/plugins/myeasywebally/class.myeasywebally.php+202
    Undefined index: btn
    • > GET request to /wp-admin/options-general.php?page=myEASYwebally_settings
    • > User deprecated in wp-includes/functions.php+5453
    Function get_currentuserinfo is deprecated since version 4.5.0! Use wp_get_current_user() instead.
    • > GET request to /wp-admin/options-general.php?page=myEASYwebally_settings
    • > Notice in wp-content/plugins/myeasywebally/inc/mc/inc/mailchimp.php+31
    Undefined index: ajax
    • > GET request to /wp-admin/options-general.php?page=myEASYwebally_settings
    • > Notice in wp-content/plugins/myeasywebally/inc/myEASYcom.php+73
    Undefined index: submit

SRP 0% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
  • 1× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/myeasywebally/myEASYwebally-notifier.php
  • 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/myeasywebally/myeasywebally.php:41
    • > PHP Notice
      Constant MYEWALLY_FOLDER already defined in wp-content/plugins/myeasywebally/myeasywebally.php on line 36
    • > PHP Notice
      Undefined index: ajax in wp-content/plugins/myeasywebally/inc/mc/inc/mailchimp.php on line 31

User-side errors 0% from 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following user-side errors
    • > GET request to /wp-admin/options-general.php?page=myEASYwebally_settings
    • > Javascript (severe) in unknown
    /wp-admin/js/common.min.js?ver=6.3.1 1:6139 Uncaught TypeError: W(...).on is not a function
    • > GET request to /wp-admin/options-general.php?page=myEASYwebally_settings
    • > Javascript (severe) in unknown
    /wp-includes/js/heartbeat.min.js?ver=6.3.1 1:5086 Uncaught TypeError: i.on is not a function
    • > GET request to /wp-admin/options-general.php?page=myEASYwebally_settings
    • > Javascript (severe) in unknown
    /wp-includes/js/wp-auth-check.min.js?ver=6.3.1 1:502 Uncaught TypeError: i(...).on is not a function
    • > GET request to /wp-admin/options-general.php?page=myEASYwebally_settings
    • > Javascript (severe) in unknown
    /wp-admin/js/common.min.js?ver=6.3.1 1:3796 Uncaught TypeError: W(...).on is not a function

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 88% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
  • Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
  • Tested up to: Version format is invalid
The official readme.txt might help

myeasywebally/myeasywebally.php 92% from 13 tests

"myEASYwebally" version 1.3.5's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
  • Description: Keep the plugin description shorter than 140 characters (currently 191 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected2,558 lines of code in 11 files:
LanguageFilesBlank linesComment linesLines of code
PHP67492,2072,299
JavaScript3827164
CSS27995

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for 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.20
Average class complexity18.86
▷ Minimum class complexity1.00
▷ Maximum class complexity48.00
Average method complexity1.80
▷ Minimum method complexity1.00
▷ Maximum method complexity38.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes7
▷ Abstract classes00.00%
▷ Concrete classes7100.00%
▷ Final classes00.00%
Methods135
▷ Static methods00.00%
▷ Public methods135100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions13
▷ Named functions13100.00%
▷ Anonymous functions00.00%
Constants38
▷ Global constants38100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
img/icon.png3.41KB2.01KB▼ 41.05%