Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
These installer errors require your attention
- Install procedure validation failed for this plugin
- > Notice in wp-includes/plugin.php+1001
Undefined offset: 0
Server metrics [RAM: ▼1.90MB] [CPU: ▼55.00ms] Passed 4 tests
A check of server-side resources used by Kento Notify
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.09 ▼1.37 | 4.70 ▼37.54 |
Dashboard /wp-admin | 2.11 ▼1.19 | 6.53 ▼46.10 |
Posts /wp-admin/edit.php | 2.12 ▼1.25 | 6.45 ▼43.90 |
Add New Post /wp-admin/post-new.php | 2.11 ▼3.78 | 6.41 ▼92.46 |
Media Library /wp-admin/upload.php | 2.11 ▼1.12 | 6.61 ▼30.05 |
Server storage [IO: ▲0.44MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 16 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_kento_notify |
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Kento Notify
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,932 ▲171 | 13.96 ▼0.39 | 9.93 ▲8.00 | 41.97 ▼3.39 |
Dashboard /wp-admin | 2,208 ▲28 | 5.61 ▼0.00 | 91.05 ▲0.49 | 42.96 ▼1.35 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 2.18 ▲0.18 | 36.70 ▼0.20 | 32.61 ▼3.76 |
Add New Post /wp-admin/post-new.php | 1,539 ▲13 | 23.04 ▲0.04 | 644.85 ▼13.60 | 57.09 ▲8.32 |
Media Library /wp-admin/upload.php | 1,413 ▲13 | 4.23 ▲0.05 | 100.41 ▼39.18 | 47.39 ▼11.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
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 inkthemes handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- Zombie tables were found after uninstall: 1 table
- wp_kento_notify
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
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 | 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 fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/kento-notify/index.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
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
Please fix the following attributes:
- Donate link: Invalid URI ("")
- Screenshots: Add images for these screenshots: #1 (Comments on hover.), #2 (Notification bubble.), #3 (Zero notification.), #4 (Unread Marker.), #5 (Scroll Notification.), #6 (Read Marker.)
kento-notify/index.php 92% from 13 tests
"Kento Notify" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("kento-notify.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin1,069 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 177 | 49 | 631 |
CSS | 2 | 66 | 1 | 271 |
PHP | 1 | 160 | 13 | 167 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
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 | 9 | |
▷ Named functions | 9 | 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
PNG files should be compressed to save space and minimize bandwidth usage
9 PNG files occupy 0.39MB with 0.26MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-4.png | 64.89KB | 25.92KB | ▼ 60.05% |
css/comments.png | 3.48KB | 0.82KB | ▼ 76.40% |
screenshot-1.png | 76.62KB | 26.97KB | ▼ 64.81% |
screenshot-2.png | 73.32KB | 25.84KB | ▼ 64.76% |
screenshot-5.png | 60.56KB | 23.49KB | ▼ 61.21% |