Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.22MB] [CPU: ▼6.17ms] Passed 4 tests
Analyzing server-side resources used by Emma for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.22 | 47.82 ▲0.52 |
Dashboard /wp-admin | 3.52 ▲0.22 | 52.10 ▼1.89 |
Posts /wp-admin/edit.php | 3.63 ▲0.28 | 55.91 ▲3.67 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 89.67 ▼25.78 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 41.22 ▲2.47 |
Server storage [IO: ▲0.14MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 10 new files
Database: 5 new tables, 6 new options
New tables |
---|
wp_emma_mapfield |
wp_emma_customerdetails |
wp_emma_cronschedule |
wp_emma_wpfield |
wp_emma_flag |
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Emma for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,828 ▲67 | 14.73 ▲0.45 | 2.18 ▲0.47 | 43.52 ▲2.14 |
Dashboard /wp-admin | 2,206 ▲26 | 5.62 ▼0.01 | 90.52 ▲1.05 | 39.76 ▲0.94 |
Posts /wp-admin/edit.php | 2,115 ▲12 | 2.03 ▲0.01 | 36.28 ▼5.86 | 36.78 ▲1.97 |
Add New Post /wp-admin/post-new.php | 1,535 ▲9 | 23.24 ▲0.28 | 657.39 ▲0.78 | 55.82 ▲6.17 |
Media Library /wp-admin/upload.php | 1,417 ▲14 | 4.20 ▲0.04 | 109.36 ▲7.34 | 46.78 ▲0.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Looking good! No server-side errors or output 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
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Contributors: The plugin contributors field is not present
emma-woo-addon/emma-mail.php 85% from 13 tests
The main PHP script in "Emma for WooCommerce" version 1.2.8 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("emma-woo-addon.php" instead of "emma-mail.php")
- Text Domain: The text domain name should consist of only dashes and lowercase characters
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected3,553 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 543 | 995 | 3,422 |
JavaScript | 1 | 36 | 1 | 131 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 47.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 171.00 |
Average method complexity | 2.74 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.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 | 185 | |
▷ Static methods | 1 | 0.54% |
▷ Public methods | 173 | 93.51% |
▷ Protected methods | 8 | 4.32% |
▷ Private methods | 4 | 2.16% |
Functions | 10 | |
▷ Named functions | 10 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin