Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.67ms] Passed 4 tests
Analyzing server-side resources used by Easy Note For WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 43.38 ▲3.14 |
Dashboard /wp-admin | 3.32 ▲0.02 | 47.17 ▼2.44 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 48.42 ▼1.84 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 84.76 ▼17.55 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 42.69 ▲10.14 |
Server storage [IO: ▲0.85MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Easy Note For WooCommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,901 ▲140 | 13.39 ▼0.87 | 9.15 ▲7.19 | 42.06 ▼0.36 |
Dashboard /wp-admin | 2,196 ▲25 | 5.54 ▼0.17 | 86.38 ▼4.61 | 39.60 ▼1.70 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 1.97 ▼0.01 | 40.57 ▲3.88 | 35.72 ▼3.93 |
Add New Post /wp-admin/post-new.php | 1,530 ▲4 | 23.14 ▼0.45 | 695.95 ▲49.29 | 52.22 ▲1.81 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.17 ▼0.09 | 106.47 ▲4.97 | 47.52 ▲4.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
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
Almost there! Just fix the following items
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/wc-easynote/admin/partials/easy-note-for-wc-admin-display.php
- > /wp-content/plugins/wc-easynote/public/partials/easy-note-for-wc-public-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 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
2 plugin tags: woocommerce, comments
wc-easynote/easy-note-for-woocommerce.php 77% from 13 tests
The principal PHP file in "Easy Note For WooCommerce" v. 1.0.0 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 151 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wc-easynote.php" instead of "easy-note-for-woocommerce.php")
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin372 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 137 | 519 | 269 |
JavaScript | 2 | 24 | 70 | 91 |
CSS | 2 | 4 | 8 | 12 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 1.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 2 | 7.41% |
▷ Public methods | 22 | 81.48% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 18.52% |
Functions | 3 | |
▷ Named functions | 3 | 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
There were not PNG files found in your plugin