Benchmarks
Plugin footprint 65% 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: ▼1.91MB] [CPU: ▼52.46ms] Passed 4 tests
Server-side resources used by Kento Fancy Tags Icon
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.07 ▼1.39 | 9.36 ▼34.84 |
Dashboard /wp-admin | 2.09 ▼1.21 | 5.21 ▼43.75 |
Posts /wp-admin/edit.php | 2.09 ▼1.26 | 6.52 ▼39.53 |
Add New Post /wp-admin/post-new.php | 2.09 ▼3.79 | 5.97 ▼91.72 |
Media Library /wp-admin/upload.php | 2.09 ▼1.13 | 5.33 ▼31.49 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Kento Fancy Tags Icon
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,916 ▲181 | 13.65 ▼0.63 | 8.98 ▲7.23 | 41.19 ▼5.92 |
Dashboard /wp-admin | 2,229 ▲41 | 5.88 ▲0.98 | 99.51 ▼6.40 | 40.15 ▼5.78 |
Posts /wp-admin/edit.php | 2,112 ▲26 | 2.17 ▲0.14 | 40.71 ▲3.85 | 35.68 ▲1.20 |
Add New Post /wp-admin/post-new.php | 1,534 ▲20 | 23.35 ▲5.85 | 602.87 ▼101.54 | 60.35 ▼5.03 |
Media Library /wp-admin/upload.php | 1,411 ▲23 | 4.35 ▲0.23 | 99.46 ▼20.04 | 46.66 ▼1.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall without warnings or errors
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means 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
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_script() in wp-content/plugins/kento-fancy-tags-tag-icon/index.php:14
- > PHP Notice
Undefined index: kft_hidden in wp-content/plugins/kento-fancy-tags-tag-icon/kento-fancy-tags-admin.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/kento-fancy-tags-tag-icon/kento-fancy-tags-admin.php:28
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Donate link: Invalid URI found ("")
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Admin Settings), #2 (Tag desription box on mouse hover with tag icon.), #3 (Tag desription box on mouse hover without tag icon.), #4 (Loading animation on mouse hover.), #5 (Edit tag description.)
kento-fancy-tags-tag-icon/index.php 92% from 13 tests
"Kento Fancy Tags Icon" version 1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("kento-fancy-tags-tag-icon.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin337 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 61 | 4 | 150 |
PHP | 2 | 99 | 14 | 150 |
JavaScript | 1 | 34 | 0 | 37 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
7 PNG files occupy 0.16MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
tag-images/google.png | 1.29KB | 1.40KB | 0.00% |
screenshot-1.png | 10.68KB | 5.50KB | ▼ 48.44% |
screenshot-4.png | 35.87KB | 18.40KB | ▼ 48.70% |
screenshot-3.png | 43.85KB | 22.00KB | ▼ 49.82% |
screenshot-5.png | 31.32KB | 15.24KB | ▼ 51.33% |