82% feedback-side-tab

Code Review | Feedback Side Tab

WordPress plugin Feedback Side Tab scored 82% from 54 tests.

About plugin

  • Plugin page: feedback-side-tab
  • Plugin version: 1.4.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-4.1.1
  • WordPress version: 5.8.1
  • First release: Apr 22, 2014
  • Latest release: Sep 26, 2016
  • Number of updates: 19
  • Update frequency: every 46.7 days
  • Top authors: grabimo (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 4,697 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.01MB] [CPU: ▼145.98ms] Passed 4 tests

A check of server-side resources used by Feedback Side Tab
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.0134.05 ▲1.30
Dashboard /wp-admin3.07 ▲0.0146.75 ▲4.20
Posts /wp-admin/edit.php3.12 ▲0.0141.88 ▼2.41
Add New Post /wp-admin/post-new.php5.42 ▼0.0179.24 ▼579.08
Media Library /wp-admin/upload.php3.01 ▲0.0130.46 ▼3.74
 Feedback Tab /wp-admin/options-general.php?page=multimedia_feedback_side_tab2.9625.18

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

Filesystem and database footprint
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 1 new option
New WordPress options
multimedia_feedback_tab_plugin_options

Browser metrics Passed 4 tests

Feedback Side Tab: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,726 ▲13115.77 ▲0.159.88 ▲0.3853.03 ▲7.11
Dashboard /wp-admin2,973 ▲365.92 ▲0.02134.23 ▼6.08129.34 ▲8.27
Posts /wp-admin/edit.php2,762 ▲232.69 ▼0.0160.60 ▼4.4189.38 ▲1.61
Add New Post /wp-admin/post-new.php1,679 ▼419.20 ▲0.57391.75 ▲35.68113.55 ▲3.49
Media Library /wp-admin/upload.php1,759 ▼485.00 ▼0.02128.58 ▼21.75142.60 ▲21.32
 Feedback Tab /wp-admin/options-general.php?page=multimedia_feedback_side_tab1,3662.3662.3361.89

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstall script ran successfully

Smoke tests 25% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
    • > GET request to /wp-admin/options-general.php?page=multimedia_feedback_side_tab
    • > User deprecated in wp-includes/functions.php+5221
    screen_icon is deprecated since version 3.8.0 with no alternative available.
    • > GET request to /wp-admin/options-general.php?page=multimedia_feedback_side_tab
    • > User deprecated in wp-includes/functions.php+5221
    get_screen_icon is deprecated since version 3.8.0 with no alternative available.

SRP 50% 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
Please fix the following items
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/feedback-side-tab/feedback-side-tab.php:32

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)
These are user-side errors you should fix
    • > GET request to /wp-admin/options-general.php?page=multimedia_feedback_side_tab
    • > Network (severe)
    http://www.grabimo.com/download/grabimo16x16.png - Failed to load resource: the server responded with a status of 404 (Not Found)

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% 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
Attributes that need to be fixed:
  • Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
The official readme.txt might help

feedback-side-tab/feedback-side-tab.php 92% from 13 tests

The main file in "Feedback Side Tab" v. 1.4.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 174 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected309 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP26768309

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.12
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%
Functions9
▷ Named functions9100.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
There are no PNG files in this plugin