Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼3.00ms] Passed 4 tests
A check of server-side resources used by CuratorCrowd Recipe Box
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 39.32 ▼0.92 |
Dashboard /wp-admin | 3.35 ▲0.05 | 46.08 ▼1.28 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 56.63 ▲7.51 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 81.89 ▼17.32 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 40.61 ▲8.46 |
CuratorCrowd Recipe Box /wp-admin/options-general.php?page=curatorcrowd-recipe-box | 3.25 | 33.82 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by CuratorCrowd Recipe Box
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,854 ▲83 | 13.84 ▼0.54 | 10.83 ▲8.81 | 52.61 ▲10.06 |
Dashboard /wp-admin | 2,213 ▲25 | 4.86 ▼0.98 | 106.35 ▼9.29 | 37.17 ▼3.61 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.98 ▼0.01 | 40.22 ▲2.55 | 35.81 ▲3.52 |
Add New Post /wp-admin/post-new.php | 1,536 ▲16 | 23.22 ▼0.10 | 674.75 ▼12.54 | 59.20 ▲4.27 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.20 ▲0.06 | 112.03 ▲13.48 | 45.20 ▲1.99 |
CuratorCrowd Recipe Box /wp-admin/options-general.php?page=curatorcrowd-recipe-box | 944 | 2.06 | 25.25 | 36.40 |
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
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 8× PHP files output text when accessed directly:
- > /wp-content/plugins/curatorcrowd-recipe-box/admin/_inc/no-tab.php
- > /wp-content/plugins/curatorcrowd-recipe-box/curatorcrowd-recipe-box.php
- > /wp-content/plugins/curatorcrowd-recipe-box/admin/_inc/recipe-box-plugin.php
- > /wp-content/plugins/curatorcrowd-recipe-box/admin/_inc/termsofuse.php
- > /wp-content/plugins/curatorcrowd-recipe-box/admin/_inc/widget-placement.php
- > /wp-content/plugins/curatorcrowd-recipe-box/class-curatorcrowd-recipe-box.php
- > /wp-content/plugins/curatorcrowd-recipe-box/admin/settings.php
- > /wp-content/plugins/curatorcrowd-recipe-box/admin/_inc/site-verification.php
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)
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
9 plugin tags: food blog, recipe box, recipes, cooking, kitchen...
curatorcrowd-recipe-box/curatorcrowd-recipe-box.php 92% from 13 tests
The primary PHP file in "CuratorCrowd Recipe Box" version 1.2.0 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 247 characters long)
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
No dangerous file extensions were detected485 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 102 | 115 | 401 |
CSS | 1 | 4 | 0 | 81 |
JavaScript | 3 | 0 | 0 | 3 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 34.00 |
▷ Minimum class complexity | 34.00 |
▷ Maximum class complexity | 34.00 |
Average method complexity | 3.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 1 | 7.14% |
▷ Public methods | 9 | 64.29% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 35.71% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/curatorcrowd.png | 10.46KB | 4.67KB | ▼ 55.36% |