Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.25MB] [CPU: ▲2.93ms] Passed 4 tests
Server-side resources used by Whisk Recipe Widgets
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.21 | 41.46 ▼0.49 |
Dashboard /wp-admin | 3.61 ▲0.30 | 52.87 ▲4.35 |
Posts /wp-admin/edit.php | 3.66 ▲0.30 | 46.33 ▲3.94 |
Add New Post /wp-admin/post-new.php | 6.14 ▲0.26 | 104.50 ▲12.50 |
Media Library /wp-admin/upload.php | 3.47 ▲0.24 | 37.46 ▲3.90 |
Whisk Widgets /wp-admin/options-general.php?page=shoppable_recipes | 3.43 | 33.28 |
Server storage [IO: ▲0.09MB] [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: 21 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
advanced |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
support |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Whisk Recipe Widgets
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,848 ▲102 | 13.41 ▼0.96 | 1.83 ▲0.20 | 43.56 ▲4.02 |
Dashboard /wp-admin | 2,232 ▲41 | 5.06 ▼0.03 | 106.38 ▲3.20 | 41.06 ▼1.88 |
Posts /wp-admin/edit.php | 2,114 ▲25 | 2.33 ▲0.28 | 35.46 ▲1.03 | 33.15 ▲1.79 |
Add New Post /wp-admin/post-new.php | 1,531 ▲17 | 23.55 ▲6.01 | 673.07 ▼7.75 | 39.62 ▼20.10 |
Media Library /wp-admin/upload.php | 1,411 ▲32 | 4.43 ▲0.17 | 99.51 ▼4.60 | 43.87 ▲0.71 |
Whisk Widgets /wp-admin/options-general.php?page=shoppable_recipes | 1,142 | 2.67 | 47.71 | 31.17 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 8 options in the database
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- support
- db_upgraded
- advanced
- theysaidso_admin_options
- widget_recent-posts
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Looking good! No server-side errors or output on direct access of PHP files
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)
There were no browser issues found
Optimizations
Plugin configuration 93% 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
7 plugin tags: recipe widgets, save to whisk, whisk, shopping list, widgets...
shoppable-recipes/shoppable-recipes.php 85% from 13 tests
The main file in "Whisk Recipe Widgets" v. 1.1.7 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Requires at least: Required version does not match the one declared in readme.txt ("4.0" instead of "5.0")
- Domain Path: The domain path points to a folder that does not exist ("/languages/")
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
Everything looks great! No dangerous files found in this plugin1,419 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 380 | 829 | 1,358 |
JavaScript | 2 | 14 | 25 | 56 |
JSON | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 22.88 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 62.00 |
Average method complexity | 2.82 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 89 | |
▷ Static methods | 18 | 20.22% |
▷ Public methods | 84 | 94.38% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 5.62% |
Functions | 3 | |
▷ Named functions | 1 | 33.33% |
▷ Anonymous functions | 2 | 66.67% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
There are no PNG files in this plugin