10% tiny-feedback-bar-by-gekko

Code Review | Tiny Feedback Bar by Gekko

WordPress plugin Tiny Feedback Bar by Gekko scored10%from 54 tests.

About plugin

  • Plugin page: tiny-feedback-bar...
  • Plugin version: 0.3.6
  • PHP version: 7.4.16
  • WordPress compatibility: 3.3-3.6
  • WordPress version: 6.3.1
  • First release: Jul 19, 2013
  • Latest release: Sep 4, 2013
  • Number of updates: 227
  • Update frequency: every 0.2 days
  • Top authors: baskie (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,484 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
  • Install procedure had errors
    • > Deprecated in wp-content/plugins/tiny-feedback-bar-by-gekko/admin/class-config.php+4
    Methods with the same name as their class will not be constructors in a future version of PHP; TFB_Admin has a deprecated constructor

Server metrics [RAM: ▲0.00MB] [CPU: ▼2.36ms] Passed 4 tests

A check of server-side resources used by Tiny Feedback Bar by Gekko
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0039.49 ▼2.62
Dashboard /wp-admin3.31 ▲0.0048.87 ▼2.16
Posts /wp-admin/edit.php3.36 ▲0.0048.72 ▼0.88
Add New Post /wp-admin/post-new.php5.89 ▲0.0092.18 ▼3.79
Media Library /wp-admin/upload.php3.23 ▲0.0039.12 ▲0.26

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

Filesystem and database footprint
No storage issues were detected
Filesystem: 63 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-comments
widget_recent-posts
can_compress_scripts

Browser metrics Passed 4 tests

A check of browser resources used by Tiny Feedback Bar by Gekko
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.37 ▲0.021.66 ▲0.1042.62 ▼2.22
Dashboard /wp-admin2,198 ▲215.61 ▲0.0891.48 ▼0.6541.77 ▼8.21
Posts /wp-admin/edit.php2,100 ▲31.97 ▼0.0041.39 ▼0.2336.31 ▼2.85
Add New Post /wp-admin/post-new.php1,526 ▼023.20 ▲0.24651.66 ▼28.0061.64 ▲11.42
Media Library /wp-admin/upload.php1,400 ▼04.20 ▲0.0795.43 ▼19.2845.51 ▼2.37

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
It is recommended to fix the following
  • The uninstall procedure has failed, leaving 6 options in the database
    • db_upgraded
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-posts
    • widget_recent-comments
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test

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
Almost there! Just fix the following items
  • 9× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tiny-feedback-bar-by-gekko/admin/class-pointers.php:6
    • > PHP Fatal error
      Uncaught Error: Class 'TFB_Plugin_Admin' not found in wp-content/plugins/tiny-feedback-bar-by-gekko/admin/class-config.php:4
    • > PHP Warning
      require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/tiny-feedback-bar-by-gekko/admin/inc/table.php on line 4
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/tiny-feedback-bar-by-gekko/tiny-feedback-bar-by-gekko.php:43
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_tfb_options() in wp-content/plugins/tiny-feedback-bar-by-gekko/includes/class-frontend.php:7
    • > PHP Warning
      Use of undefined constant WP_UNINSTALL_PLUGIN - assumed 'WP_UNINSTALL_PLUGIN' (this will throw an Error in a future version of PHP) in wp-content/plugins/tiny-feedback-bar-by-gekko/uninstall.php on line 3
    • > PHP Warning
      Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/tiny-feedback-bar-by-gekko/admin/inc/table.php on line 4
    • > PHP Fatal error
      require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/tiny-feedback-bar-by-gekko/admin/inc/table.php on line 4
    • > PHP Parse error
      syntax error, unexpected end of file in wp-content/plugins/tiny-feedback-bar-by-gekko/includes/functions/ajax.php on line 1132

User-side errors Passed 1 test

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

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
8 plugin tags: email, point click, point and click, client, communication...

tiny-feedback-bar-by-gekko/tiny-feedback-bar-by-gekko.php Passed 13 tests

The main file in "Tiny Feedback Bar by Gekko" v. 0.3.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
88 characters long description:
Just Point & click to add new Tasks, Bugs & New Feature Requests. Easy, in your browser.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin5,946 lines of code in 27 files:
LanguageFilesBlank linesComment linesLines of code
PHP156111582,503
JavaScript53454172,308
CSS71551621,135

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.36
Average class complexity31.00
▷ Minimum class complexity1.00
▷ Maximum class complexity67.00
Average method complexity3.41
▷ Minimum method complexity1.00
▷ Maximum method complexity14.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes5
▷ Abstract classes00.00%
▷ Concrete classes5100.00%
▷ Final classes00.00%
Methods57
▷ Static methods00.00%
▷ Public methods57100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions27
▷ Named functions27100.00%
▷ Anonymous functions00.00%
Constants23
▷ Global constants23100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
13 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
skin/images/logo-tiny-feedback-bar.png4.12KB1.90KB▼ 53.86%
skin/images/logo-popup-tiny-feedback-bar.png12.65KB4.27KB▼ 66.29%
skin/images/icon-task.png1.30KB1.29KB▼ 0.83%
skin/images/tfb-32x32.png2.73KB1.48KB▼ 45.89%
skin/images/to_do_type_task.png3.09KB1.90KB▼ 38.45%