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
Install script ran successfully
Server metrics [RAM: ▲4.00MB] [CPU: ▼650.82ms] Passed 4 tests
Analyzing server-side resources used by Woo Admin Product Notes
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 7.40 ▲4.56 | 64.06 ▼1,870.79 |
Dashboard /wp-admin | 7.42 ▲4.35 | 68.70 ▼131.19 |
Posts /wp-admin/edit.php | 7.42 ▲4.31 | 60.66 ▼10.55 |
Add New Post /wp-admin/post-new.php | 8.39 ▲2.95 | 110.77 ▼590.74 |
Media Library /wp-admin/upload.php | 7.42 ▲4.41 | 60.54 ▲3.03 |
Freemius Debug [v.2.1.2] /wp-admin/admin.php?page=freemius | 7.42 | 52.04 |
Woo Admin Product Notes /wp-admin/admin.php?page=woo-admin-product-notes | 7.42 | 51.56 |
Server storage [IO: ▲2.89MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 196 new files
Database: no new tables, 5 new options
New WordPress options |
---|
fs_api_cache |
fs_active_plugins |
fs_accounts |
fs_debug_mode |
fs_gdpr |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Woo Admin Product Notes
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,728 ▲99 | 16.24 ▲0.43 | 11.89 ▼92.59 | 50.23 ▼726.56 |
Dashboard /wp-admin | 2,995 ▲52 | 5.91 ▲0.00 | 143.87 ▼877.86 | 136.46 ▼263.09 |
Posts /wp-admin/edit.php | 2,766 ▲27 | 2.70 ▲0.00 | 78.39 ▲5.19 | 101.13 ▼2.74 |
Add New Post /wp-admin/post-new.php | 1,700 ▲18 | 15.76 ▲2.00 | 425.70 ▼630.85 | 124.48 ▼41.85 |
Media Library /wp-admin/upload.php | 1,832 ▲25 | 5.03 ▼0.00 | 161.71 ▼25.90 | 153.91 ▲17.84 |
Freemius Debug [v.2.1.2] /wp-admin/admin.php?page=freemius | 1,477 | 2.12 | 59.80 | 93.83 |
Woo Admin Product Notes /wp-admin/admin.php?page=woo-admin-product-notes | 1,289 | 2.17 | 59.70 | 106.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 5 options
- fs_accounts
- fs_gdpr
- fs_debug_mode
- fs_active_plugins
- fs_api_cache
Smoke tests 50% from 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 0% 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
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/woo-admin-product-notes/freemius/templates/ajax-loader.php
- 8× PHP files trigger errors when accessed directly with GET requests:
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/woo-admin-product-notes/freemius/templates/account/partials/addon.php on line 6
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/woo-admin-product-notes/freemius/templates/account/partials/addon.php on line 8
- > PHP Notice
Undefined variable: VARS in wp-content/plugins/woo-admin-product-notes/freemius/templates/account/partials/addon.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function freemius() in wp-content/plugins/woo-admin-product-notes/freemius/templates/partials/network-activation.php:6
- > PHP Fatal error
Uncaught Error: Call to a member function get_slug() on null in wp-content/plugins/woo-admin-product-notes/freemius/templates/account/partials/addon.php:9
- > PHP Notice
Undefined variable: VARS in wp-content/plugins/woo-admin-product-notes/freemius/templates/account/partials/addon.php on line 7
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/woo-admin-product-notes/freemius/templates/account/partials/addon.php on line 7
- > PHP Notice
Undefined variable: VARS in wp-content/plugins/woo-admin-product-notes/freemius/templates/account/partials/addon.php on line 6
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 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
5 plugin tags: woo product notes, admin product notes, product notes, woocommerce admin product notes, woo admin product notes
woo-admin-product-notes/woo-admin-product-notes.php 85% from 13 tests
This is the main PHP file of "Woo Admin Product Notes" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Requires at least: Required version must match the one declared in readme.txt ("3.0.1" instead of "3.4.3")
- Domain Path: The domain path points to a folder that does not exist ("/languages")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected37,234 lines of code in 155 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 104 | 6,052 | 14,000 | 25,207 |
PO File | 9 | 4,216 | 4,944 | 9,156 |
Sass | 25 | 390 | 77 | 2,443 |
JavaScript | 3 | 34 | 59 | 194 |
Markdown | 1 | 61 | 0 | 192 |
JSON | 1 | 0 | 0 | 27 |
CSS | 12 | 0 | 0 | 15 |
PHP code 50% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Please fix the following
- Please reduce cyclomatic complexity of classes to less than 1000 (currently 2,244)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.59 |
Average class complexity | 71.51 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2,244.00 |
Average method complexity | 4.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 83.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 45 | |
▷ Abstract classes | 2 | 4.44% |
▷ Concrete classes | 43 | 95.56% |
▷ Final classes | 0 | 0.00% |
Methods | 1,020 | |
▷ Static methods | 158 | 15.49% |
▷ Public methods | 717 | 70.29% |
▷ Protected methods | 15 | 1.47% |
▷ Private methods | 288 | 28.24% |
Functions | 93 | |
▷ Named functions | 93 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 116 | |
▷ Global constants | 96 | 82.76% |
▷ Class constants | 20 | 17.24% |
▷ Public constants | 20 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/woo-admin-product-notes.png | 9.16KB | 5.26KB | ▼ 42.58% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |