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.12MB] [CPU: ▼12.18ms] Passed 4 tests
This is a short check of server-side resources used by Custom Customer Notes
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 42.64 ▼2.10 |
Dashboard /wp-admin | 3.44 ▲0.09 | 46.90 ▼21.52 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 53.21 ▼1.45 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 87.68 ▼15.75 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 34.77 ▼9.36 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
Trustio_Custom_Customer_Notes_version |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Custom Customer Notes
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.58 ▲0.03 | 1.91 ▼0.14 | 43.76 ▼0.53 |
Dashboard /wp-admin | 2,198 ▲21 | 5.62 ▼0.05 | 93.40 ▼6.50 | 40.01 ▼2.99 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.97 ▼0.01 | 39.98 ▲4.56 | 35.32 ▼0.97 |
Add New Post /wp-admin/post-new.php | 1,526 ▼10 | 23.16 ▼0.17 | 681.50 ▼6.27 | 60.25 ▲0.97 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.20 ▲0.03 | 96.73 ▼14.59 | 44.81 ▼1.93 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- Trustio_Custom_Customer_Notes_version
- db_upgraded
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
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 just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: wordpress, plugin, woocommerce, customer notes
custom-customer-notes-for-woocommerce/custom-customer-notes.php 77% from 13 tests
The main PHP file in "Custom Customer Notes" ver. 1.2.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 ("6.0" instead of "6.0.0")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: The principal plugin file should be the same as the plugin slug ("custom-customer-notes-for-woocommerce.php" instead of "custom-customer-notes.php")
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
No dangerous file extensions were detected4,379 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 3 | 0 | 0 | 3,711 |
PHP | 6 | 178 | 419 | 578 |
JavaScript | 3 | 11 | 14 | 83 |
CSS | 1 | 2 | 1 | 7 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 38.67 |
▷ Minimum class complexity | 24.00 |
▷ Maximum class complexity | 58.00 |
Average method complexity | 4.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 33 | |
▷ Static methods | 2 | 6.06% |
▷ Public methods | 30 | 90.91% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 9.09% |
Functions | 2 | |
▷ Named functions | 2 | 100.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin