80% kiss-feedback

Code Review | Kiss Feedback

WordPress plugin Kiss Feedback scored80%from 54 tests.

About plugin

  • Plugin page: kiss-feedback
  • Plugin version: 1.0.0
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.1-5.5.1
  • WordPress version: 6.3.1
  • First release: Sep 11, 2020
  • Latest release: Sep 11, 2020
  • Number of updates: 3
  • Update frequency: every 0.7 days
  • Top authors: mohamed_revmakx (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /477 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully

Server metrics [RAM: ▼1.93MB] [CPU: ▼56.39ms] Passed 4 tests

Server-side resources used by Kiss Feedback
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /2.05 ▼1.414.75 ▼40.12
Dashboard /wp-admin2.07 ▼1.236.26 ▼47.91
Posts /wp-admin/edit.php2.07 ▼1.286.77 ▼44.95
Add New Post /wp-admin/post-new.php2.07 ▼3.815.85 ▼92.56
Media Library /wp-admin/upload.php2.07 ▼1.166.14 ▼30.51

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

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 8 new options
New WordPress options
theysaidso_admin_options
widget_theysaidso_widget
kissfeedback_db_version
widget_recent-comments
widget_recent-posts
kissfeedback_app_version
can_compress_scripts
db_upgraded

Browser metrics Passed 4 tests

Kiss Feedback: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,921 ▲16013.54 ▼0.855.27 ▲3.2143.78 ▼3.83
Dashboard /wp-admin2,218 ▲185.83 ▼0.0399.16 ▼25.6939.59 ▼4.86
Posts /wp-admin/edit.php2,100 ▼31.99 ▼0.0234.03 ▼5.2735.18 ▼2.89
Add New Post /wp-admin/post-new.php1,532 ▼023.13 ▼0.13614.50 ▼67.4456.71 ▼8.16
Media Library /wp-admin/upload.php1,400 ▼04.19 ▼0.0697.17 ▼18.0248.49 ▼2.01

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • Uninstall procedure had uncaught errors
    • > User notice in wp-includes/functions.php+5905
    Function wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
  • Zombie WordPress options detected upon uninstall: 6 options
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_recent-posts
    • can_compress_scripts
    • db_upgraded
    • widget_theysaidso_widget

Smoke tests Passed 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 Passed 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
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: comments, video-chat, screencast, project-management, task-list...

kiss-feedback/kiss-feedback.php 92% from 13 tests

The primary PHP file in "Kiss Feedback" version 1.0.0 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
  • Domain Path: The domain path is invalid: folder "/languages" does not exist

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected40 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1141940

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.05
Average class complexity1.00
▷ Minimum class complexity1.00
▷ Maximum class complexity1.00
Average method complexity1.00
▷ Minimum method complexity1.00
▷ Maximum method complexity1.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods9
▷ Static methods00.00%
▷ Public methods9100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants3100.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