Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
These installer errors require your attention
- This plugin did not install gracefully
- > User error in wp-content/plugins/wp-email-reminder/inc/activate.php+14
Please, ensure that you activated wp-email-capture before activating this plugin
Server metrics [RAM: ▲0.07MB] [CPU: ▼4.02ms] Passed 4 tests
A check of server-side resources used by WP Email Reminder
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 41.71 ▲0.13 |
Dashboard /wp-admin | 3.38 ▲0.07 | 47.16 ▲2.86 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 49.23 ▲1.23 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 93.37 ▼15.45 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 34.44 ▼1.98 |
WP Email Reminder /wp-admin/options-general.php?page=wp_email_reminder | 3.24 | 29.72 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
WP Email Reminder: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.22 ▼1.20 | 1.75 ▼0.53 | 43.01 ▼9.70 |
Dashboard /wp-admin | 2,207 ▲22 | 5.83 ▼0.05 | 98.66 ▼12.28 | 38.54 ▼0.73 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.06 ▲0.02 | 38.52 ▼1.11 | 34.73 ▼4.42 |
Add New Post /wp-admin/post-new.php | 1,529 ▲10 | 23.22 ▼0.07 | 674.02 ▼11.43 | 62.03 ▲12.55 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.19 ▼0.09 | 93.48 ▼23.51 | 40.97 ▼7.08 |
WP Email Reminder /wp-admin/options-general.php?page=wp_email_reminder | 1,031 | 2.09 | 35.96 | 45.95 |
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
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wp_email_reminder
- > Notice in wp-content/plugins/wp-email-reminder/inc/menu_page.php+50
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 5× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
require_once(): Failed opening required 'REM_PATH/inc/activate.php' (include_path='.:/usr/share/php') in wp-content/plugins/wp-email-reminder/inc/include.php on line 2
- > PHP Warning
require_once(REM_PATH/inc/activate.php): failed to open stream: No such file or directory in wp-content/plugins/wp-email-reminder/inc/include.php on line 2
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/wp-email-reminder/wp-email-reminder.php on line 22
- > PHP Warning
Use of undefined constant REM_PATH - assumed 'REM_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-email-reminder/inc/include.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/wp-email-reminder/wp-email-reminder.php:85
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Tags: Please add at least on tag
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== wp-email-reminder ===
) - Requires at least: Invalid version format
wp-email-reminder/wp-email-reminder.php 92% from 13 tests
This is the main PHP file of "WP Email Reminder" version 0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 246 characters long)
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 plugin616 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 347 | 36 | 458 |
JavaScript | 2 | 21 | 5 | 89 |
CSS | 2 | 13 | 28 | 69 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
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 | 27 | |
▷ Named functions | 27 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
15 compressed PNG files occupy 0.03MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/black-tie/images/ui-icons_ffcf29_256x240.png | 5.23KB | 4.11KB | ▼ 21.49% |
inc/black-tie/images/ui-icons_bbbbbb_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
inc/black-tie/images/ui-icons_4ca300_256x240.png | 5.23KB | 4.11KB | ▼ 21.49% |
inc/black-tie/images/ui-icons_ffffff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
inc/black-tie/images/ui-bg_inset-hard_55_ffeb80_1x100.png | 0.14KB | 0.15KB | 0.00% |