78% orbisius-simple-feedback

Code Review | Orbisius Simple Feedback

WordPress plugin Orbisius Simple Feedback scored 78% from 54 tests.

About plugin

  • Plugin page: orbisius-simple-f...
  • Plugin version: 1.0.8
  • PHP version: 7.4.16
  • WordPress compatibility: 2.6-4.4
  • WordPress version: 6.3.1
  • First release: Jul 19, 2013
  • Latest release: Feb 8, 2016
  • Number of updates: 37
  • Update frequency: every 25.2 days
  • Top authors: lordspace (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

10+ active / 2,976 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
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.11MB] [CPU: ▼1.45ms] Passed 4 tests

A check of server-side resources used by Orbisius Simple Feedback
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.57 ▲0.1141.20 ▼2.13
Dashboard /wp-admin3.42 ▲0.1145.61 ▼2.33
Posts /wp-admin/edit.php3.47 ▲0.1146.77 ▼2.71
Add New Post /wp-admin/post-new.php6.00 ▲0.1194.66 ▲8.79
Media Library /wp-admin/upload.php3.34 ▲0.1136.66 ▲1.36
Orbisius Simple Feedback /wp-admin/options-general.php?page=orbisius-simple-feedback/orbisius-simple-feedback.php3.2931.24

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

Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
theysaidso_admin_options
db_upgraded
widget_theysaidso_widget
widget_recent-posts
widget_recent-comments

Browser metrics Passed 4 tests

This is an overview of browser requirements for Orbisius Simple Feedback
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,952 ▲21714.12 ▼0.236.43 ▲4.7150.45 ▲5.08
Dashboard /wp-admin2,214 ▲255.86 ▲0.8597.81 ▼22.1940.28 ▼2.29
Posts /wp-admin/edit.php2,100 ▲112.02 ▲0.0240.29 ▼0.3135.44 ▼0.78
Add New Post /wp-admin/post-new.php1,524 ▼1223.34 ▲0.36586.95 ▲4.4153.52 ▼10.66
Media Library /wp-admin/upload.php1,399 ▲114.22 ▲0.0093.29 ▼2.8643.36 ▼1.74
Orbisius Simple Feedback /wp-admin/options-general.php?page=orbisius-simple-feedback/orbisius-simple-feedback.php1,5074.3579.1140.07

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_theysaidso_widget
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-posts
    • can_compress_scripts
    • widget_recent-comments

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
    • > GET request to /wp-admin/options-general.php?page=orbisius-simple-feedback/orbisius-simple-feedback.php
    • > Notice in wp-content/plugins/orbisius-simple-feedback/orbisius-simple-feedback.php+626
    Undefined index: PluginName

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 fix the following items
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/orbisius-simple-feedback/orbisius-simple-feedback.php:29

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 93% from 29 tests

readme.txt 88% from 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
These attributes need to be fixed:
  • Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
  • Screenshots: Add images for these screenshots: #1 (Plugins), #2 (Settings Page), #3 (Live demo (collapsed - center)), #4 (Live demo (expanded)), #5 (Live demo (left align)), #6 (Live demo (right align))
You can take inspiration from this readme.txt

orbisius-simple-feedback/orbisius-simple-feedback.php Passed 13 tests

The main PHP file in "Orbisius Simple Feedback" ver. 1.0.8 adds more information about the plugin and also serves as the entry point for this plugin
114 characters long description:
Generates a nice & simple Feedback form which is positioned at the bottom center of your visitor's browser window.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected851 lines of code in 8 files:
LanguageFilesBlank linesComment linesLines of code
PHP2137117637
CSS222692
JavaScript2213074
XML20048

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.28
Average class complexity7.00
▷ Minimum class complexity7.00
▷ Maximum class complexity7.00
Average method complexity7.00
▷ Minimum method complexity7.00
▷ Maximum method complexity7.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods1
▷ Static methods1100.00%
▷ Public methods1100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions15
▷ Named functions15100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
9 PNG files occupy 0.64MB with 0.26MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
screenshot-1.png87.45KB28.80KB▼ 67.06%
screenshot-6.png106.48KB33.97KB▼ 68.10%
i/guNzr.qr.2.png0.23KB0.23KB0.43%
screenshot-4.png107.19KB35.03KB▼ 67.32%
i/guNzr.qr.16.png0.39KB0.41KB0.00%