Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼1.73ms] Passed 4 tests
An overview of server-side resources used by Kikushima Recipes
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.11 | 40.96 ▲4.68 |
Dashboard /wp-admin | 3.41 ▲0.10 | 50.48 ▼0.50 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 47.97 ▼9.68 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.23 | 104.16 ▼1.41 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 39.81 ▲4.71 |
recipes /wp-admin/edit.php?post_type=recipes | 3.37 | 37.05 |
tag /wp-admin/edit-tags.php?taxonomy=recipes_tags&post_type=recipes | 3.32 | 36.17 |
category /wp-admin/edit-tags.php?taxonomy=recipes_categories&post_type=recipes | 3.32 | 35.39 |
new recipe /wp-admin/post-new.php?post_type=recipes | 6.11 | 86.51 |
Server storage [IO: ▲0.41MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Kikushima Recipes
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,937 ▲176 | 13.62 ▼1.16 | 11.93 ▲10.26 | 46.40 ▼0.04 |
Dashboard /wp-admin | 2,233 ▲56 | 5.65 ▼0.01 | 86.99 ▼10.08 | 41.21 ▲0.60 |
Posts /wp-admin/edit.php | 2,135 ▲32 | 2.01 ▲0.03 | 34.17 ▼1.84 | 36.11 ▲3.17 |
Add New Post /wp-admin/post-new.php | 1,555 ▲27 | 23.47 ▲0.34 | 672.27 ▼5.40 | 58.14 ▼2.05 |
Media Library /wp-admin/upload.php | 1,438 ▲35 | 4.22 ▲0.06 | 98.10 ▼0.55 | 44.00 ▲0.57 |
recipes /wp-admin/edit.php?post_type=recipes | 1,108 | 1.96 | 29.86 | 30.55 |
tag /wp-admin/edit-tags.php?taxonomy=recipes_tags&post_type=recipes | 1,284 | 2.12 | 27.85 | 29.29 |
category /wp-admin/edit-tags.php?taxonomy=recipes_categories&post_type=recipes | 1,278 | 2.24 | 29.16 | 30.19 |
new recipe /wp-admin/post-new.php?post_type=recipes | 6,261 | 25.24 | 894.86 | 32.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 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 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 take a closer look at the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/kikushima-recipes/kikushima-recipes.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
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
Attributes that require attention:
- Screenshots: These screenshots do not have images: #1 (Add job information on the admin dashboard), #2 (Add shortcode to any page or post as you like), #3 (Recipes information will be displayed on the front page)
kikushima-recipes/kikushima-recipes.php Passed 13 tests
The main PHP script in "Kikushima Recipes" version 1.0 is automatically included on every request by WordPress
52 characters long description:
Add recipes shortcode to display recipes on the page
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
Success! There were no dangerous files found in this plugin533 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 153 | 38 | 431 |
PO File | 1 | 28 | 35 | 67 |
CSS | 2 | 8 | 6 | 34 |
JavaScript | 1 | 0 | 6 | 1 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 44.00 |
▷ Minimum class complexity | 44.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 4.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.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 | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 72.73% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 27.27% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
No PNG files were detected