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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼8.40ms] Passed 4 tests
Server-side resources used by PhoneMe Order WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.43 ▼0.03 | 22.82 ▼16.11 |
Dashboard /wp-admin | 3.35 ▲0.05 | 43.70 ▼7.06 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 46.12 ▼0.96 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 85.83 ▼9.45 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 36.48 ▲1.85 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: no new tables, 10 new options
New WordPress options |
---|
widget_theysaidso_widget |
phoneme_order_woocommerce_outofstock |
widget_recent-posts |
widget_recent-comments |
phoneme_order_woocommerce_hint_text |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
phoneme_order_woocommerce_title_1 |
phoneme_order_woocommerce_title_2 |
Browser metrics Passed 4 tests
An overview of browser requirements for PhoneMe Order WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,465 ▼270 | 13.51 ▼0.89 | 0.50 ▼1.57 | 20.70 ▼18.48 |
Dashboard /wp-admin | 2,206 ▲21 | 4.84 ▼0.08 | 102.67 ▼1.84 | 37.60 ▼5.57 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 1.99 ▼0.05 | 41.76 ▼2.16 | 31.02 ▼3.50 |
Add New Post /wp-admin/post-new.php | 1,538 ▼2 | 23.16 ▼0.14 | 612.29 ▼31.08 | 58.91 ▼32.62 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.19 ▼0.05 | 98.41 ▼6.65 | 43.20 ▲1.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/phoneme-order-woocommerce/phoneme-order-woocommerce.php:26
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Screenshots: These screenshots require images: #1 (Documents management), #2 (How it looks)
phoneme-order-woocommerce/phoneme-order-woocommerce.php Passed 13 tests
"PhoneMe Order WooCommerce" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
37 characters long description:
Fast order creation with just a phone
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected397 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 52 | 50 | 162 |
CSS | 1 | 10 | 0 | 95 |
PO File | 1 | 22 | 25 | 71 |
JavaScript | 1 | 13 | 0 | 69 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 20.00 |
▷ Minimum class complexity | 20.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 3.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.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
There were not PNG files found in your plugin