Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.81ms] Passed 4 tests
A check of server-side resources used by Email Attachment by Order Status & Products
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 34.05 ▼7.50 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.67 ▼1.77 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 43.42 ▼2.23 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 83.43 ▼11.74 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.26 ▲0.09 |
Email Attachment by Orders Status /wp-admin/admin.php?page=wot-ea-option | 3.00 | 23.15 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Email Attachment by Order Status & Products: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 14.42 ▲0.11 | 1.57 ▼0.33 | 41.07 ▼5.58 |
Dashboard /wp-admin | 2,209 ▲18 | 4.85 ▼1.07 | 112.76 ▲1.54 | 36.69 ▼8.76 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.05 ▲0.00 | 34.55 ▼0.87 | 29.38 ▼7.62 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.28 ▼0.04 | 664.71 ▼15.00 | 51.89 ▼12.70 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.20 ▲0.04 | 98.43 ▲2.64 | 45.49 ▲1.82 |
Email Attachment by Orders Status /wp-admin/admin.php?page=wot-ea-option | 28 | 0.44 | 0.08 | 3.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The SRP test was a success
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=wot-ea-option
- > Network (severe)
wp-admin/admin.php?page=wot-ea-option - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Requires at least: The plugin version is formatted incorrectly
email-attachment-by-order-status-products/wot-email-attachment.php 92% from 13 tests
The primary PHP file in "Email Attachment by Order Status & Products" version 1.0.1 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("email-attachment-by-order-status-products.php" instead of "wot-email-attachment.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin886 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 113 | 110 | 650 |
JavaScript | 1 | 31 | 5 | 126 |
CSS | 1 | 5 | 4 | 110 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.67 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin