Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.19MB] [CPU: ▼1.84ms] Passed 4 tests
This is a short check of server-side resources used by Kiyoh customer review
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.19 | 34.10 ▼7.40 |
Dashboard /wp-admin | 3.53 ▲0.20 | 47.08 ▼5.23 |
Posts /wp-admin/edit.php | 3.65 ▲0.26 | 54.95 ▲5.68 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.19 | 94.55 ▲3.90 |
Media Library /wp-admin/upload.php | 3.46 ▲0.20 | 38.03 ▲1.39 |
Server storage [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: no files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_kiyoh_review |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Kiyoh customer review: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲43 | 13.27 ▼0.89 | 4.32 ▲2.10 | 42.22 ▼1.08 |
Dashboard /wp-admin | 2,223 ▲32 | 4.86 ▼0.05 | 112.19 ▼6.19 | 42.09 ▼0.67 |
Posts /wp-admin/edit.php | 2,103 ▲14 | 2.03 ▲0.04 | 40.15 ▲4.04 | 35.74 ▲1.17 |
Add New Post /wp-admin/post-new.php | 1,540 ▲26 | 23.28 ▲5.74 | 594.31 ▼101.99 | 47.75 ▼16.62 |
Media Library /wp-admin/upload.php | 1,402 ▲11 | 4.21 ▼0.00 | 94.91 ▼8.80 | 42.20 ▼5.71 |
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
You still need to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_kiyoh_review
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 everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/kiyoh-customerreview/kiyoh-customerreview.php:17
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/kiyoh-customerreview/widget.php:4
- > PHP Fatal error
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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Contributors: The plugin contributors field is not present
- Screenshots: These screenshots require images: #1 (Settings), #2 (setting widget), #3 (widget)
kiyoh-customerreview/kiyoh-customerreview.php 92% from 13 tests
Analyzing the main PHP file in "Kiyoh customer review" version 1.0.30
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 591 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin1,276 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 70 | 30 | 1,032 |
PO File | 2 | 66 | 66 | 176 |
JavaScript | 1 | 8 | 1 | 68 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 35.00 |
▷ Minimum class complexity | 35.00 |
▷ Maximum class complexity | 35.00 |
Average method complexity | 4.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.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 | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 22 | |
▷ Named functions | 22 | 100.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
PNG files should be compressed to save space and minimize bandwidth usage
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/rating-sprite.png | 1.46KB | 1.91KB | 0.00% |