Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.08MB] [CPU: ▼289.10ms] Passed 4 tests
Server-side resources used by PocketGecko Email
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.08 | 59.27 ▲9.84 |
Dashboard /wp-admin | 3.53 ▲0.12 | 37.40 ▲3.35 |
Posts /wp-admin/edit.php | 3.76 ▲0.11 | 51.43 ▲7.51 |
Add New Post /wp-admin/post-new.php | 6.99 ▲0.02 | 105.56 ▼1,165.03 |
Media Library /wp-admin/upload.php | 3.42 ▲0.12 | 25.98 ▼2.24 |
Email /wp-admin/options-general.php?page=pgem_settings_menu | 3.38 | 27.11 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 8 new options
New WordPress options |
---|
pgem_smtp_encryption_type |
pgem_smtp_username |
pgem_smtp_host |
pgem_smtp_port |
pgem_smtp_password |
pgem_smtp_authentication |
pgem_smtp_from_email |
pgem_smtp_from_name |
Browser metrics Passed 4 tests
An overview of browser requirements for PocketGecko Email
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,810 ▲56 | 15.90 ▲0.23 | 6.14 ▼0.03 | 2.88 ▼0.19 |
Dashboard /wp-admin | 2,902 ▲44 | 6.16 ▲0.03 | 122.76 ▼10.19 | 158.12 ▼5.27 |
Posts /wp-admin/edit.php | 2,701 ▲7 | 3.23 ▼0.00 | 69.15 ▲3.88 | 147.50 ▼1.90 |
Add New Post /wp-admin/post-new.php | 1,669 ▼83 | 16.43 ▼4.60 | 420.31 ▼31.86 | 153.77 ▼94.95 |
Media Library /wp-admin/upload.php | 1,708 ▲10 | 5.54 ▼0.01 | 141.08 ▼6.72 | 193.26 ▼8.58 |
Email /wp-admin/options-general.php?page=pgem_settings_menu | 1,357 | 2.44 | 55.13 | 138.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The plugin did not uninstall gracefully
- > User notice in wp-includes/functions.php+5768
wpdb::prepare was called incorrectly. Unsupported value type (object). Please see Debugging in WordPress for more information. (This message was added in version 4.8.2.)
- Zombie WordPress options were found after uninstall: 8 options
- pgem_smtp_from_email
- pgem_smtp_port
- pgem_smtp_encryption_type
- pgem_smtp_password
- pgem_smtp_username
- pgem_smtp_host
- pgem_smtp_authentication
- pgem_smtp_from_name
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
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
Please take a closer look at the following
- 8× PHP files trigger server errors when accessed directly:
- > PHP Notice
Undefined variable: title in wp-content/plugins/pocketgecko-email/includes/templates/email-form.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/pocketgecko-email/includes/email.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/pocketgecko-email/includes/shortcode.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/pocketgecko-email/pocketgecko-email-admin.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/pocketgecko-email/includes/templates/email-form.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/pocketgecko-email/includes/templates/email-options.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/pocketgecko-email/includes/templates/email-test.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/pocketgecko-email/includes/scripts.php:3
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
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
6 plugin tags: settings, post, ajax, options, email...
pocketgecko-email/pocketgecko-email.php 77% from 13 tests
"PocketGecko Email" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Domain Path: The domain path folder was not found ("/i18n/languages")
- Requires PHP: Required version number formatted incorrectly (ex. "7.0" instead of "")
- Requires at least: Required version number formatted incorrectly (ex. "7.0" instead of "")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin568 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 171 | 64 | 567 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
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 | 28 | |
▷ Named functions | 25 | 89.29% |
▷ Anonymous functions | 3 | 10.71% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
There are no PNG files in this plugin