10% feed-back

Code Review | Kalendář CZ

WordPress plugin Kalendář CZ scored10%from 54 tests.

About plugin

  • Plugin page: feed-back
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 2.5-3.5
  • WordPress version: 6.3.1
  • First release: Aug 14, 2014
  • Latest release: Aug 14, 2014
  • Number of updates: 2
  • Update frequency: every 1.5 days
  • Top authors: Webster.K (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,174 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Please fix the following installer errors
  • Install procedure validation failed for this plugin
    • > Error in wp-content/plugins/feed-back/feed_back.php+14
    Uncaught Error: Call to undefined function mysql_query() in wp-content/plugins/feed-back/feed_back.php:14
    Stack trace:
    #0 wp-includes/class-wp-hook.php(310): feed_back_install()
    #1 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
    #2 wp-includes/plugin.php(517): WP_Hook->do_action()
    #3 wp-admin/includes/plugin.php(693): do_action()

Server metrics [RAM: ▼0.01MB] [CPU: ▼10.43ms] Passed 4 tests

This is a short check of server-side resources used by Kalendář CZ
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0039.23 ▼3.11
Dashboard /wp-admin3.31 ▼0.0452.48 ▼13.08
Posts /wp-admin/edit.php3.36 ▲0.0046.29 ▼7.95
Add New Post /wp-admin/post-new.php5.89 ▲0.0085.30 ▼17.57
Media Library /wp-admin/upload.php3.23 ▲0.0037.98 ▲2.01

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

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-posts
widget_recent-comments
db_upgraded
widget_theysaidso_widget
theysaidso_admin_options

Browser metrics Passed 4 tests

Kalendář CZ: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.35 ▲0.001.84 ▲0.1745.11 ▼0.89
Dashboard /wp-admin2,198 ▲185.50 ▼0.1885.31 ▼13.4142.92 ▼1.22
Posts /wp-admin/edit.php2,100 ▼02.02 ▲0.0237.05 ▼2.0035.85 ▼1.02
Add New Post /wp-admin/post-new.php1,528 ▼023.20 ▲0.13633.14 ▼18.5253.36 ▼4.12
Media Library /wp-admin/upload.php1,394 ▼34.20 ▲0.00102.08 ▼2.8445.58 ▲1.77

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
  • Zombie WordPress options were found after uninstall: 6 options
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-posts
    • widget_recent-comments
    • theysaidso_admin_options
    • 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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
  • 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function mysql_query() in wp-content/plugins/feed-back/feed_back_admin.php:10
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/feed-back/feed_back.php:17

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

readme.txt 88% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
  • Screenshots: Screenshot #1 (Jak plugin vypadá / How the plugin looks) image required
  • Donate link: Invalid url: ""
The official readme.txt is a good inspiration

feed-back/feed_back.php 85% from 13 tests

The primary PHP file in "Kalendář CZ" version 1.0 is used by WordPress to initiate all plugin functionality
The following require your attention:
  • Description: Please improve your description making it at least 10 characters long (currently 8 characters long)
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("feed-back.php" instead of "feed_back.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected89 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP2191189

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.31
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%
Functions5
▷ Named functions5100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin