84% feedback-extended

Code Review | Feedback Extended

WordPress plugin Feedback Extended scored 84% from 54 tests.

About plugin

  • Plugin page: feedback-extended
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 2.8-3.5.1
  • WordPress version: 6.3.1
  • First release: Feb 4, 2013
  • Latest release: Feb 4, 2013
  • Number of updates: 3
  • Update frequency: N/A
  • Top authors: ehsan4php (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 1,246 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully

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

Server-side resources used by Feedback Extended
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0353.90 ▲6.60
Dashboard /wp-admin3.34 ▲0.0355.67 ▲0.64
Posts /wp-admin/edit.php3.39 ▲0.0356.18 ▲2.09
Add New Post /wp-admin/post-new.php5.92 ▲0.03128.62 ▲21.80
Media Library /wp-admin/upload.php3.26 ▲0.0343.70 ▲8.34

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

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-posts
widget_recent-comments
db_upgraded
can_compress_scripts

Browser metrics Passed 4 tests

Feedback Extended: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▼013.53 ▲0.262.26 ▲0.2049.50 ▲6.32
Dashboard /wp-admin2,206 ▼05.85 ▲0.9896.68 ▼17.5838.55 ▼4.51
Posts /wp-admin/edit.php2,089 ▼32.04 ▲0.0437.58 ▼2.9436.79 ▼0.71
Add New Post /wp-admin/post-new.php1,533 ▲1323.17 ▲0.10664.56 ▲41.6156.79 ▲15.96
Media Library /wp-admin/upload.php1,379 ▼94.21 ▼0.1199.54 ▲2.3342.38 ▼2.41

Uninstaller [IO: ✅] [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
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-posts
    • db_upgraded
    • widget_recent-comments
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected

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
The following issues need your attention
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/feedback-extended/feedback_extended.php:17

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: reply, feedback, jetpack, contact form, extended

feedback-extended/feedback_extended.php 92% from 13 tests

The main PHP script in "Feedback Extended" version 1.0.0 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("feedback-extended.php" instead of "feedback_extended.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected160 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP12415160

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.22
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%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
PNG images were not found in this plugin