10% akm-feedback-form

Code Review | AKM Feedback Form

WordPress plugin AKM Feedback Form scored10%from 54 tests.

About plugin

  • Plugin page: akm-feedback-form
  • Plugin version: 1.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-4.2.2
  • WordPress version: 6.3.1
  • First release: Feb 1, 2015
  • Latest release: Jun 28, 2015
  • Number of updates: 14
  • Update frequency: every 13.3 days
  • Top authors: Akaal.Media (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active /1,842 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
  • Install procedure validation failed for this plugin
    • > User deprecated in wp-includes/functions.php+5453
    Function register_sidebar_widget is deprecated since version 2.8.0! Use wp_register_sidebar_widget() instead.

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

Server-side resources used by AKM Feedback Form
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /2.06 ▼1.404.68 ▼33.59
Dashboard /wp-admin2.08 ▼1.236.38 ▼43.35
Posts /wp-admin/edit.php2.08 ▼1.286.32 ▼37.67
Add New Post /wp-admin/post-new.php2.08 ▼3.815.77 ▼85.98
Media Library /wp-admin/upload.php2.08 ▼1.155.79 ▼27.26

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

How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_theysaidso_widget
widget_recent-posts
db_upgraded
theysaidso_admin_options
widget_recent-comments

Browser metrics Passed 4 tests

A check of browser resources used by AKM Feedback Form
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,883 ▲14813.68 ▼0.915.79 ▲4.0241.86 ▼9.03
Dashboard /wp-admin2,203 ▲155.83 ▲0.81102.91 ▼1.6039.55 ▼7.26
Posts /wp-admin/edit.php2,089 ▼02.02 ▼0.0139.97 ▲4.3635.44 ▲3.29
Add New Post /wp-admin/post-new.php1,533 ▲1923.34 ▲5.80580.92 ▼110.5351.78 ▼4.53
Media Library /wp-admin/upload.php1,388 ▼04.21 ▼0.0496.74 ▼1.7043.94 ▲0.71

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
  • Uninstall procedure validation failed for this plugin
    • > User deprecated in wp-includes/functions.php+5453
    Function register_sidebar_widget is deprecated since version 2.8.0! Use wp_register_sidebar_widget() instead.
  • This plugin does not fully uninstall, leaving 6 options in the database
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-posts
    • widget_recent-comments
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means 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
Please fix the following
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function register_sidebar_widget() in wp-content/plugins/akm-feedback-form/AKM-Feedback-form.php:30

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)
No browser errors were detected

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
10 plugin tags: top plugins, wordpress plugin, wordpress, free feedback form, simple contact form...

akm-feedback-form/AKM-Feedback-form.php 92% from 13 tests

"AKM Feedback Form" version 1.0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("akm-feedback-form.php" instead of "AKM-Feedback-form.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin201 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript1120105
PHP1152379
CSS11017

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.08
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
No PNG images were found in this plugin