Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
These installer errors require your attention
- Install procedure had errors
- > Error in wp-content/plugins/connections-business-directory-anniversary-and-birthday-emails/connections-business-directory-anniversary-and-birthday-emails.php+1253
Uncaught Error: Class 'cnDate' not found in wp-content/plugins/connections-business-directory-anniversary-and-birthday-emails/connections-business-directory-anniversary-and-birthday-emails.php:1253
Stack trace:
#0 wp-content/plugins/connections-business-directory-anniversary-and-birthday-emails/connections-business-directory-anniversary-and-birthday-emails.php(1222): Connections_Anniversary_and_Birthday_Emails::addCronEvents()
#1 wp-includes/class-wp-hook.php(310): Connections_Anniversary_and_Birthday_Emails::activate()
#2 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#3 wp-includes/plugin.php(517): WP_Hook->do_action()
#4 wp-admin/includes/plugin.php(693): do_action()
Server metrics [RAM: ▲0.00MB] [CPU: ▲2.65ms] Passed 4 tests
A check of server-side resources used by Connections Business Directory Anniversary and Birthday Emails
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 45.48 ▲2.15 |
Dashboard /wp-admin | 3.31 ▲0.00 | 58.77 ▲9.23 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 57.41 ▲7.71 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 95.13 ▼1.61 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.81 ▲2.34 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Connections Business Directory Anniversary and Birthday Emails: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.28 ▼1.10 | 4.87 ▲3.22 | 53.77 ▲13.22 |
Dashboard /wp-admin | 2,206 ▲18 | 4.87 ▼0.99 | 103.63 ▼3.67 | 44.40 ▲0.43 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.04 ▲0.03 | 46.08 ▲10.44 | 37.39 ▲3.54 |
Add New Post /wp-admin/post-new.php | 1,514 ▼10 | 17.52 ▼5.38 | 696.12 ▲24.16 | 56.24 ▼2.98 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.17 ▼0.13 | 107.45 ▼9.76 | 46.63 ▼1.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
4 plugin tags: birthday, anniversary, email, business directory
connections-business-directory-anniversary-and-birthday-emails/connections-business-directory-anniversary-and-birthday-emails.php 85% from 13 tests
The main file in "Connections Business Directory Anniversary and Birthday Emails" v. 1.0.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Plugin Name: Please shorten the plugin name (currently 74 characters long instead of max. 70)
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 157 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected841 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 242 | 418 | 701 |
PO File | 1 | 42 | 47 | 140 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 50.00 |
▷ Minimum class complexity | 50.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 2.63 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 1 | 100.00% |
Methods | 30 | |
▷ Static methods | 14 | 46.67% |
▷ Public methods | 26 | 86.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 13.33% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.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
No PNG images were found in this plugin