83% feedier-go-beyond-feedback

Code Review | Feedier: Go beyond feedback

WordPress plugin Feedier: Go beyond feedback scored83%from 54 tests.

About plugin

  • Plugin page: feedier-go-beyond...
  • Plugin version: 1.3.3
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Oct 15, 2020
  • Latest release: Oct 31, 2020
  • Number of updates: 8
  • Update frequency: every 2.0 days
  • Top authors: feedier (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /454 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully

Server metrics [RAM: ▲0.03MB] [CPU: ▼4.80ms] Passed 4 tests

This is a short check of server-side resources used by Feedier: Go beyond feedback
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0239.23 ▼1.89
Dashboard /wp-admin3.32 ▲0.0245.21 ▼2.17
Posts /wp-admin/edit.php3.44 ▲0.0841.52 ▼3.79
Add New Post /wp-admin/post-new.php5.92 ▲0.0483.46 ▼11.33
Media Library /wp-admin/upload.php3.25 ▲0.0235.95 ▲4.26
Feedier feedbacks /wp-admin/options-general.php?page=feedier3.23398.94

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

Filesystem and database footprint
The plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
can_compress_scripts
db_upgraded
widget_recent-comments
widget_theysaidso_widget
theysaidso_admin_options

Browser metrics Passed 4 tests

A check of browser resources used by Feedier: Go beyond feedback
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,812 ▲7713.21 ▼1.103.41 ▲1.6945.37 ▲4.45
Dashboard /wp-admin2,220 ▲284.85 ▼0.05101.57 ▼10.3644.32 ▲7.26
Posts /wp-admin/edit.php2,100 ▲322.03 ▲0.0335.27 ▲0.4735.36 ▲0.99
Add New Post /wp-admin/post-new.php1,524 ▼2023.15 ▲5.08644.33 ▲12.5651.04 ▼3.84
Media Library /wp-admin/upload.php1,396 ▲84.21 ▼0.0797.17 ▼4.6640.61 ▼2.77
Feedier feedbacks /wp-admin/options-general.php?page=feedier9731.7427.0739.98

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-comments
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
  • 5× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Class 'Feedier\\Main' not found in wp-content/plugins/feedier-go-beyond-feedback/Feedier/Widget.php:9
    • > PHP Fatal error
      Uncaught Error: Class 'Feedier\\Libraries\\WP_List_Table' not found in wp-content/plugins/feedier-go-beyond-feedback/Feedier/Admin/Feedbacks.php:11
    • > PHP Fatal error
      Uncaught Error: Class 'Feedier\\Main' not found in wp-content/plugins/feedier-go-beyond-feedback/Feedier/Engager.php:9
    • > PHP Fatal error
      Uncaught Error: Class 'Feedier\\Main' not found in wp-content/plugins/feedier-go-beyond-feedback/Feedier/Admin.php:11
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/feedier-go-beyond-feedback/feedier.php:20

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 86% 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
These attributes need to be fixed: The official readme.txt might help

feedier-go-beyond-feedback/feedier.php 77% from 13 tests

This is the main PHP file of "Feedier: Go beyond feedback" version 1.3.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
  • Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("feedier-go-beyond-feedback.php" instead of "feedier.php")
  • Description: Please keep the plugin description shorter than 140 characters (currently 178 characters long)

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
Good job! No executable or dangerous file extensions detected1,606 lines of code in 14 files:
LanguageFilesBlank linesComment linesLines of code
PHP123647911,501
JavaScript1231169
CSS110036

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.46
Average class complexity22.91
▷ Minimum class complexity1.00
▷ Maximum class complexity122.00
Average method complexity3.98
▷ Minimum method complexity1.00
▷ Maximum method complexity22.00
Code structure
Namespaces3
Interfaces0
Traits0
Classes11
▷ Abstract classes00.00%
▷ Concrete classes11100.00%
▷ Final classes00.00%
Methods82
▷ Static methods00.00%
▷ Public methods5668.29%
▷ Protected methods2125.61%
▷ Private methods56.10%
Functions1
▷ Named functions00.00%
▷ Anonymous functions1100.00%
Constants5
▷ Global constants5100.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
There are no PNG files in this plugin