Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▼4.62ms] Passed 4 tests
This is a short check of server-side resources used by WP LINE Notify
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 37.24 ▼4.35 |
Dashboard /wp-admin | 3.45 ▲0.14 | 50.65 ▲0.47 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 54.67 ▲4.11 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 85.46 ▼18.71 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 38.52 ▲4.65 |
WP Line Notify /wp-admin/options-general.php?page=sig-wp-line-notify | 3.40 | 33.90 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
_sig_line_notify_setting |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for WP LINE Notify
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.27 ▼0.07 | 1.81 ▲0.09 | 42.89 ▲0.15 |
Dashboard /wp-admin | 2,202 ▲25 | 5.65 ▲0.01 | 85.22 ▼6.61 | 41.92 ▼3.86 |
Posts /wp-admin/edit.php | 2,110 ▲7 | 1.96 ▲0.01 | 37.88 ▲0.42 | 33.20 ▼2.25 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 22.88 ▼0.21 | 656.65 ▼33.43 | 54.71 ▼1.33 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.24 ▲0.02 | 95.34 ▼14.45 | 43.77 ▼12.31 |
WP Line Notify /wp-admin/options-general.php?page=sig-wp-line-notify | 1,075 | 1.94 | 24.31 | 29.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- _sig_line_notify_setting
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
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)
Even though no errors were found, 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/wp-line-notify/wp-line-notify.php:541
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: plugin, elementor, line, contact form, woocommerce...
wp-line-notify/wp-line-notify.php Passed 13 tests
"WP LINE Notify" version 1.4.5's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
51 characters long description:
This plugin can send a alert message by LINE Notify
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
Everything looks great! No dangerous files found in this plugin1,121 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 264 | 116 | 916 |
PO File | 1 | 94 | 98 | 205 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.56 |
Average class complexity | 28.80 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 95.00 |
Average method complexity | 4.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 39 | |
▷ Static methods | 7 | 17.95% |
▷ Public methods | 38 | 97.44% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 2.56% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 2 | 66.67% |
▷ Class constants | 1 | 33.33% |
▷ Public constants | 1 | 100.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