94% kulinarian-recipe-embed

Code Review | Kulinarian Recipe Embed

WordPress plugin Kulinarian Recipe Embed scored 94% from 54 tests.

About plugin

  • Plugin page: kulinarian-recipe...
  • Plugin version: 1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-4.4
  • WordPress version: 5.8.1
  • First release: Dec 30, 2015
  • Latest release: Jan 12, 2016
  • Number of updates: 12
  • Update frequency: every 1.1 days
  • Top authors: Kulinarian (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 765 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully

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

Server-side resources used by Kulinarian Recipe Embed
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.0030.34 ▼3.61
Dashboard /wp-admin3.06 ▲0.0147.86 ▼78.61
Posts /wp-admin/edit.php3.11 ▲0.0146.07 ▼22.28
Add New Post /wp-admin/post-new.php5.42 ▼0.0196.68 ▼576.68
Media Library /wp-admin/upload.php3.00 ▲0.0034.17 ▼2.93

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

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

An overview of browser requirements for Kulinarian Recipe Embed
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,792 ▲22017.61 ▲2.0622.97 ▲12.1352.40 ▼7.08
Dashboard /wp-admin2,977 ▲466.07 ▲0.09144.41 ▼55.81128.09 ▼18.68
Posts /wp-admin/edit.php2,751 ▲122.68 ▼0.0168.30 ▼12.1794.76 ▼2.20
Add New Post /wp-admin/post-new.php1,682 ▼118.76 ▼0.01385.05 ▲4.51114.34 ▼2.29
Media Library /wp-admin/upload.php1,825 ▲185.02 ▲0.02165.39 ▲7.54134.21 ▲7.56

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled completely, with no zombie files or tables

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected

SRP 50% from 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
Please fix the following
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/kulinarian-recipe-embed/src/kulinarian-admin-menu.php:3

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side


Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes: The official readme.txt is a good inspiration

kulinarian-recipe-embed/kulinarian-recipe-embed.php Passed 13 tests

This is the main PHP file of "Kulinarian Recipe Embed" version 1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
54 characters long description:
Embed Kulinarian.com recipes on your wordpress website

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin55 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.57
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
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions3100.00%
▷ Anonymous functions00.00%
▷ Global constants00.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
There are no PNG files in this plugin