Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.46ms] Passed 4 tests
An overview of server-side resources used by Track.LK Notification - WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 34.97 ▼7.86 |
Dashboard /wp-admin | 3.33 ▲0.02 | 45.51 ▼3.77 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 47.63 ▼2.07 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 90.61 ▼12.14 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.85 ▼0.10 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Track.LK Notification - WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲61 | 13.24 ▼1.14 | 1.71 ▼0.04 | 42.29 ▼1.41 |
Dashboard /wp-admin | 2,213 ▲22 | 5.83 ▲0.91 | 107.12 ▲1.40 | 39.23 ▼4.80 |
Posts /wp-admin/edit.php | 2,095 ▲3 | 2.05 ▲0.08 | 40.49 ▼0.49 | 36.19 ▲0.18 |
Add New Post /wp-admin/post-new.php | 1,540 ▲26 | 23.18 ▼0.50 | 593.51 ▼21.96 | 47.54 ▼8.25 |
Media Library /wp-admin/upload.php | 1,395 ▲10 | 4.23 ▲0.04 | 97.48 ▼4.80 | 43.66 ▲0.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
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 83% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Contributors: Plugin contributors not specified
- Screenshots: These screenshots lack descriptions #1, #2, #3, #4 in track-lk-notification-for-woocommerce/assets to your readme.txt
track-lk-notification-for-woocommerce/tracknofity-notification.php 77% from 13 tests
The main PHP file in "Track.LK Notification - WooCommerce" ver. 1.4 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Requires at least: The required version number must match the one declared in readme.txt ("4.3" instead of "3.0")
- Main file name: It is recommended to name the main PHP file as the plugin slug ("track-lk-notification-for-woocommerce.php" instead of "tracknofity-notification.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
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
There were no executable files found in this plugin973 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 232 | 298 | 603 |
JavaScript | 2 | 98 | 5 | 347 |
CSS | 2 | 6 | 3 | 23 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 8.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 2.46 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 1 | 12.50% |
Methods | 41 | |
▷ Static methods | 8 | 19.51% |
▷ Public methods | 38 | 92.68% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 7.32% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 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
No PNG images were found in this plugin