68% simple-feature-requests

Code Review | Simple Feature Requests Free - User Feedback Board

WordPress plugin Simple Feature Requests Free - User Feedback Board scored68%from 54 tests.

About plugin

  • Plugin page: simple-feature-re...
  • Plugin version: 2.2.6.1
  • PHP compatiblity: 5.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.9-6.3.2
  • WordPress version: 6.3.1
  • First release: Dec 14, 2017
  • Latest release: Nov 13, 2023
  • Number of updates: 53
  • Update frequency: every 40.8 days
  • Top authors: jamesckemp (75.47%)spellhammer (13.21%)patrickgarman (9.43%)blobaugh (7.55%)

Code review

54 tests

User reviews

9 reviews

Install metrics

200+ active /9,048 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully

Server metrics [RAM: ▲5.32MB] [CPU: ▲33.89ms] 75% from 4 tests

An overview of server-side resources used by Simple Feature Requests Free - User Feedback Board
Please take the time to fix the following items
  • Extra RAM: Extra memory usage should kept under 5MB (currently 5.32MB on /wp-admin/admin.php?page=freemius)
PageMemory (MB)CPU Time (ms)
Home /9.01 ▲5.5475.12 ▲29.87
Dashboard /wp-admin9.03 ▲5.6879.43 ▲18.46
Posts /wp-admin/edit.php9.03 ▲5.6788.40 ▲41.87
Add New Post /wp-admin/post-new.php10.27 ▲4.38137.24 ▲53.28
Media Library /wp-admin/upload.php9.03 ▲5.8080.33 ▲45.36
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius9.0365.39

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

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 240 new files
Database: no new tables, 9 new options
New WordPress options
widget_recent-posts
fs_active_plugins
fs_debug_mode
theysaidso_admin_options
fs_accounts
can_compress_scripts
widget_recent-comments
widget_theysaidso_widget
db_upgraded

Browser metrics Passed 4 tests

This is an overview of browser requirements for Simple Feature Requests Free - User Feedback Board
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,986 ▲23913.44 ▼0.919.68 ▲7.4327.27 ▼18.23
Dashboard /wp-admin2,267 ▲975.69 ▲0.0390.57 ▼19.3842.27 ▼1.85
Posts /wp-admin/edit.php2,151 ▲512.02 ▲0.0641.62 ▲4.6339.17 ▲1.02
Add New Post /wp-admin/post-new.php1,560 ▲3422.28 ▼0.79683.32 ▼65.0861.07 ▲7.84
Media Library /wp-admin/upload.php1,468 ▲684.21 ▲0.02102.08 ▼5.6044.13 ▼3.36
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius1,1121.6627.9231.03

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
  • This plugin did not uninstall without warnings or errors
    • > Notice in wp-content/plugins/simple-feature-requests/inc/vendor/freemius/includes/class-freemius.php+8546
    Undefined property: stdClass::$plugins
  • The uninstall procedure has failed, leaving 9 options in the database
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_theysaidso_widget
    • fs_debug_mode
    • widget_recent-comments
    • fs_accounts
    • can_compress_scripts
    • fs_active_plugins

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

SRP 0% 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
The following issues need your attention
  • 1× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/simple-feature-requests/templates/photoswipe.php
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/simple-feature-requests/inc/admin/settings.php:31

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration Passed 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: idea management, user feedback, customer feedback, feature request, roadmap

simple-feature-requests/simple-feature-requests.php Passed 13 tests

The primary PHP file in "Simple Feature Requests Free - User Feedback Board" version 2.2.6.1 is used by WordPress to initiate all plugin functionality
140 characters long description:
Collect and manage user feedback using your existing WordPress website. Prioritize the product features important to you and your customers.

Code Analysis 97% from 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin41,735 lines of code in 192 files:
LanguageFilesBlank linesComment linesLines of code
PHP1568,98619,25638,313
JavaScript124134591,852
CSS223012391,559
JSON10010
SVG1001

PHP code 50% from 2 tests

Analyzing cyclomatic complexity and code structure
Please tend to the following items
  • Cyclomatic complexity of classes has to be reduced to less than 1000 (currently 3,096)
Cyclomatic complexity
Average complexity per logical line of code0.59
Average class complexity67.32
▷ Minimum class complexity1.00
▷ Maximum class complexity3,096.00
Average method complexity4.29
▷ Minimum method complexity1.00
▷ Maximum method complexity94.00
Code structure
Namespaces0
Interfaces1
Traits0
Classes74
▷ Abstract classes22.70%
▷ Concrete classes7297.30%
▷ Final classes00.00%
Methods1,542
▷ Static methods37824.51%
▷ Public methods1,13073.28%
▷ Protected methods171.10%
▷ Private methods39525.62%
Functions119
▷ Named functions11899.16%
▷ Anonymous functions10.84%
Constants158
▷ Global constants11170.25%
▷ Class constants4729.75%
▷ Public constants47100.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
5 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
inc/vendor/freemius/assets/img/plugin-icon.png9.16KB5.26KB▼ 42.58%
assets/img/plugin-icon.png7.44KB3.35KB▼ 55.01%
assets/img/attachment-icon.png0.49KB0.40KB▼ 16.70%
inc/vendor/freemius/assets/img/theme-icon.png10.97KB5.78KB▼ 47.37%
assets/vendor/photoswipe/default-skin/default-skin.png0.53KB0.72KB0.00%