10% instant-feedback

Code Review | MyEffecto-Instant Emotion Reaction

WordPress plugin MyEffecto-Instant Emotion Reaction scored 10% from 54 tests.

About plugin

  • Plugin page: instant-feedback
  • Plugin version: 3.93
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-4.7.2
  • WordPress version: 5.9.2
  • First release: Aug 30, 2013
  • Latest release: Aug 9, 2018
  • Number of updates: 503
  • Update frequency: every 3.6 days
  • Top authors: support@myeffecto.com (100%)

Code review

54 tests

User reviews

26 reviews

Install metrics

300+ active / 34,750 total downloads

Benchmarks

Plugin footprint 75% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
These installer errors require your attention
  • Install procedure validation failed for this plugin
    • > Notice in wp-content/plugins/instant-feedback/DBFunctions.php+4
    Undefined variable: wpdb

Server metrics [RAM: ▲0.13MB] [CPU: ▼293.99ms] Passed 4 tests

This is a short check of server-side resources used by MyEffecto-Instant Emotion Reaction
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.74 ▲0.2253.57 ▼0.20
Dashboard /wp-admin3.57 ▲0.1636.01 ▲1.46
Posts /wp-admin/edit.php3.79 ▲0.1641.94 ▲4.22
Add New Post /wp-admin/post-new.php7.02 ▲0.05100.76 ▼1,176.74
Media Library /wp-admin/upload.php3.45 ▲0.1524.71 ▼0.48
MyEffecto /wp-admin/options-general.php?page=eff_conf_nav3.4442.13

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

A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 12 new files
Database: 1 new table, 1 new option
New tables
wp_effecto
New WordPress options
effecto_db_version

Browser metrics Passed 4 tests

Checking browser requirements for MyEffecto-Instant Emotion Reaction
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,768 ▲2315.92 ▲0.145.75 ▼0.152.28 ▲0.09
Dashboard /wp-admin2,893 ▲386.09 ▼0.05116.94 ▼23.02156.92 ▼19.45
Posts /wp-admin/edit.php2,693 ▲23.24 ▲0.0164.45 ▼0.74140.49 ▼5.50
Add New Post /wp-admin/post-new.php1,723 ▲6217.55 ▲1.17439.79 ▲13.22175.01 ▲16.66
Media Library /wp-admin/upload.php1,703 ▲55.53 ▲0.02156.42 ▲8.14190.07 ▼0.76
MyEffecto /wp-admin/options-general.php?page=eff_conf_nav6062.0067.74108.47

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled successfully, without leaving any zombie files or tables

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=eff_conf_nav
    • > request to
    • > Notice in wp-config.php+20
    Undefined index: REQUEST_METHOD

SRP 50% from 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
Please fix the following
  • 12× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_option() in wp-content/plugins/instant-feedback/advanceSetting.php:4
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_option() in wp-content/plugins/instant-feedback/configEmo.php:22
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/instant-feedback/PostConfiguration.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function getMyEffectoPluginDetails() in wp-content/plugins/instant-feedback/effecto_admin.php:5
    • > PHP Notice
      Trying to get property 'prefix' of non-object in wp-content/plugins/instant-feedback/DBFunctions.php on line 4
    • > PHP Notice
      Trying to get property 'prefix' of non-object in wp-content/plugins/instant-feedback/DBFunctions.php on line 4
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_option() in wp-content/plugins/instant-feedback/pluginSetting.php:4
    • > PHP Notice
      Undefined variable: wpdb in wp-content/plugins/instant-feedback/DBFunctions.php on line 4
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/instant-feedback/PostConfiguration.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/instant-feedback/editExisting.php:4

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 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
5 plugin tags: facebook, like, emotion, reaction, facebook reaction

instant-feedback/MyEffecto.php 92% from 13 tests

The main PHP file in "MyEffecto-Instant Emotion Reaction" ver. 3.93 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
  • Main file name: The principal plugin file should be the same as the plugin slug ("instant-feedback.php" instead of "MyEffecto.php")

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
No dangerous file extensions were detected1,530 lines of code in 10 files:
LanguageFilesBlank linesComment linesLines of code
PHP83251611,369
JavaScript22111161

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.40
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%
Functions48
▷ Named functions48100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin