Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.17ms] Passed 4 tests
A check of server-side resources used by Delicious Recipes Widgets and Blocks
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.53 ▼2.90 |
Dashboard /wp-admin | 3.32 ▲0.02 | 48.05 ▼1.61 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 42.92 ▼5.97 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 82.74 ▼6.19 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.77 ▲3.70 |
Server storage [IO: ▲5.10MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 99 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Delicious Recipes Widgets and Blocks: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,844 ▲109 | 13.27 ▼1.11 | 1.90 ▼0.04 | 39.76 ▼3.13 |
Dashboard /wp-admin | 2,222 ▲34 | 5.84 ▲0.95 | 96.42 ▼23.01 | 40.07 ▼9.67 |
Posts /wp-admin/edit.php | 2,107 ▲18 | 2.02 ▼0.16 | 34.05 ▼2.25 | 34.06 ▲0.26 |
Add New Post /wp-admin/post-new.php | 1,548 ▲34 | 23.33 ▲5.75 | 656.58 ▼36.63 | 48.55 ▼4.95 |
Media Library /wp-admin/upload.php | 1,410 ▲25 | 4.23 ▼0.04 | 98.70 ▼1.65 | 42.71 ▼3.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means 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
Please fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function DR_Widgets_Blocks\\add_action() in wp-content/plugins/dr-widgets-blocks/src/classes/class-fonts-manager.php:704
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Requires php: Invalid version format
dr-widgets-blocks/dr-widgets-blocks.php Passed 13 tests
The principal PHP file in "Delicious Recipes Widgets and Blocks" v. 1.0.3 is loaded by WordPress automatically on each request
127 characters long description:
With Delicious Recipes Widgets and Blocks, anyone can create beautiful and interactive recipe blogs with a quick drag-and-drop.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected52,844 lines of code in 79 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 6 | 0 | 0 | 34,793 |
JavaScript | 9 | 1,675 | 245 | 11,012 |
PHP | 51 | 755 | 1,321 | 6,964 |
CSS | 12 | 4 | 13 | 57 |
SVG | 1 | 0 | 0 | 18 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 25.11 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 109.00 |
Average method complexity | 4.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 56.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 19 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 19 | 100.00% |
▷ Final classes | 1 | 5.26% |
Methods | 148 | |
▷ Static methods | 26 | 17.57% |
▷ Public methods | 116 | 78.38% |
▷ Protected methods | 9 | 6.08% |
▷ Private methods | 23 | 15.54% |
Functions | 26 | |
▷ Named functions | 16 | 61.54% |
▷ Anonymous functions | 10 | 38.46% |
Constants | 12 | |
▷ Global constants | 12 | 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 were not PNG files found in your plugin