Benchmarks
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
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.00 | 30.34 ▼3.61 |
Dashboard /wp-admin | 3.06 ▲0.01 | 47.86 ▼78.61 |
Posts /wp-admin/edit.php | 3.11 ▲0.01 | 46.07 ▼22.28 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 96.68 ▼576.68 |
Media Library /wp-admin/upload.php | 3.00 ▲0.00 | 34.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
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,792 ▲220 | 17.61 ▲2.06 | 22.97 ▲12.13 | 52.40 ▼7.08 |
Dashboard /wp-admin | 2,977 ▲46 | 6.07 ▲0.09 | 144.41 ▼55.81 | 128.09 ▼18.68 |
Posts /wp-admin/edit.php | 2,751 ▲12 | 2.68 ▼0.01 | 68.30 ▼12.17 | 94.76 ▼2.20 |
Add New Post /wp-admin/post-new.php | 1,682 ▼1 | 18.76 ▼0.01 | 385.05 ▲4.51 | 114.34 ▼2.29 |
Media Library /wp-admin/upload.php | 1,825 ▲18 | 5.02 ▲0.02 | 165.39 ▲7.54 | 134.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
- > PHP Fatal error
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
Optimizations
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:
- Screenshots: Please a description for screenshot #10 in kulinarian-recipe-embed/assets to your readme.txt
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:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 7 | 15 | 55 |
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 code | 0.57 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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