Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼1.92MB] [CPU: ▼54.02ms] Passed 4 tests
A check of server-side resources used by MW WP Form LINE Notify
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.06 ▼1.40 | 6.25 ▼38.88 |
Dashboard /wp-admin | 2.08 ▼1.22 | 9.96 ▼45.72 |
Posts /wp-admin/edit.php | 2.08 ▼1.27 | 8.37 ▼44.27 |
Add New Post /wp-admin/post-new.php | 2.08 ▼3.80 | 8.10 ▼87.21 |
Media Library /wp-admin/upload.php | 2.08 ▼1.14 | 8.28 ▼29.38 |
Line Notify /wp-admin/edit.php?post_type=mw-wp-form&page=mw-wp-form-line-notify | 2.09 | 9.66 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
MW WP Form LINE Notify: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲11 | 13.16 ▼0.14 | 5.23 ▼0.02 | 47.15 ▲1.64 |
Dashboard /wp-admin | 2,206 ▼3 | 5.84 ▼0.04 | 105.03 ▼0.52 | 42.36 ▲1.80 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.99 ▼0.00 | 33.57 ▼2.99 | 31.61 ▼3.60 |
Add New Post /wp-admin/post-new.php | 1,534 ▼8 | 23.16 ▼0.05 | 769.81 ▲82.11 | 64.14 ▲5.34 |
Media Library /wp-admin/upload.php | 1,382 ▼9 | 4.28 ▼0.01 | 96.11 ▼3.51 | 41.09 ▼1.06 |
Line Notify /wp-admin/edit.php?post_type=mw-wp-form&page=mw-wp-form-line-notify | 28 | 0.44 | 0.11 | 4.69 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/mw-wp-form-line-notify/mw-wp-form-line-notify.php+75
Trying to access array offset on value of type bool
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/edit.php?post_type=mw-wp-form&page=mw-wp-form-line-notify
- > Notice in wp-content/plugins/mw-wp-form-line-notify/mw-wp-form-line-notify.php+75
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_file_data() in wp-content/plugins/mw-wp-form-line-notify/mw-wp-form-line-notify.php:41
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There are user-side issues you should fix
- > GET request to /wp-admin/edit.php?post_type=mw-wp-form&page=mw-wp-form-line-notify
- > Network (severe)
wp-admin/edit.php?post_type=mw-wp-form&page=mw-wp-form-line-notify - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
4 plugin tags: form, mail, line, line notify
mw-wp-form-line-notify/mw-wp-form-line-notify.php Passed 13 tests
The main PHP script in "MW WP Form LINE Notify" version 0.9.0 is automatically included on every request by WordPress
59 characters long description:
This plugin send LINE Notify a message sent from MW WP Form
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin230 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 26 | 24 | 176 |
PO File | 1 | 22 | 24 | 54 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 19.00 |
▷ Minimum class complexity | 19.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
PNG images were not found in this plugin