10% simple-easy-feedback

Code Review | Simple Easy Feedback

WordPress plugin Simple Easy Feedback scored 10% from 54 tests.

About plugin

  • Plugin page: simple-easy-feedback
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.2-4.7.3
  • WordPress version: 6.3.1
  • First release: Apr 6, 2017
  • Latest release: Apr 6, 2017
  • Number of updates: 4
  • Update frequency: every 8.3 days
  • Top authors: ifourkuldeep1 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 452 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
It is recommended to fix the following installer errors
  • The plugin did not install without errors
    • > Deprecated in wp-includes/class-wp-hook.php+310
    Non-static method Simple_Easy_Feedback::my_plugin_create_db() should not be called statically

Server metrics [RAM: ▲0.07MB] [CPU: ▼4.45ms] Passed 4 tests

A check of server-side resources used by Simple Easy Feedback
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.54 ▲0.0736.29 ▼6.57
Dashboard /wp-admin3.37 ▲0.0745.66 ▼2.05
Posts /wp-admin/edit.php3.42 ▲0.0749.27 ▲1.71
Add New Post /wp-admin/post-new.php5.95 ▲0.0793.62 ▼10.83
Media Library /wp-admin/upload.php3.29 ▲0.0736.25 ▲1.65

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

Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 4 new files
Database: 1 new table, 6 new options
New tables
wp_simple_easy_feedback
New WordPress options
widget_recent-posts
widget_theysaidso_widget
theysaidso_admin_options
db_upgraded
can_compress_scripts
widget_recent-comments

Browser metrics Passed 4 tests

Checking browser requirements for Simple Easy Feedback
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,901 ▲15513.95 ▼0.484.93 ▲3.2343.16 ▲5.32
Dashboard /wp-admin2,224 ▲424.83 ▼0.06107.35 ▼3.8440.27 ▲0.57
Posts /wp-admin/edit.php2,107 ▲212.03 ▲0.0340.25 ▲5.0837.06 ▲2.94
Add New Post /wp-admin/post-new.php1,552 ▲1018.46 ▲0.09627.49 ▼1.1956.77 ▲3.42
Media Library /wp-admin/upload.php1,403 ▲154.19 ▼0.0595.26 ▼7.9747.01 ▲0.43

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
  • Uninstall procedure had uncaught errors
    • > Deprecated in wp-includes/class-wp-hook.php+310
    Non-static method Simple_Easy_Feedback::sef_deactivation_hook() should not be called statically
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-posts
    • widget_recent-comments
    • can_compress_scripts
    • widget_theysaidso_widget
    • db_upgraded
    • theysaidso_admin_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means 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 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed: You can look at the official readme.txt

simple-easy-feedback/simple-easy-feedback.php Passed 13 tests

The main file in "Simple Easy Feedback" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
50 characters long description:
Simple Easy Feedback create feedback in your site.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin547 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP112169407
CSS110390
JavaScript16250

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.19
Average class complexity26.00
▷ Minimum class complexity26.00
▷ Maximum class complexity26.00
Average method complexity3.08
▷ Minimum method complexity1.00
▷ Maximum method complexity18.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods12
▷ Static methods00.00%
▷ Public methods12100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.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
PNG images were not found in this plugin