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.51MB] [CPU: ▲3.98ms] Passed 4 tests
An overview of server-side resources used by Best Contact Management Software for WordPress
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.97 ▲0.51 | 43.31 ▲1.28 |
Dashboard /wp-admin | 3.85 ▲0.55 | 75.27 ▲28.78 |
Posts /wp-admin/edit.php | 3.92 ▲0.57 | 55.36 ▲6.94 |
Add New Post /wp-admin/post-new.php | 6.40 ▲0.52 | 89.59 ▲0.78 |
Media Library /wp-admin/upload.php | 3.71 ▲0.48 | 41.45 ▲6.91 |
All Contacts /wp-admin/edit.php?post_type=emd_contact | 3.95 | 43.39 |
Forms /wp-admin/admin.php?page=wp_easy_contact_forms | 3.69 | 38.76 |
Add New /wp-admin/post-new.php?post_type=emd_contact | 4.66 | 67.91 |
Settings /wp-admin/admin.php?page=wp_easy_contact_settings | 3.83 | 41.09 |
Plugins /wp-admin/admin.php?page=wp_easy_contact_store | 3.75 | 40.56 |
States /wp-admin/edit-tags.php?taxonomy=contact_state&post_type=emd_contact | 3.76 | 51.16 |
Topics /wp-admin/edit-tags.php?taxonomy=contact_topic&post_type=emd_contact | 3.74 | 45.84 |
CSV Import/Export /wp-admin/admin.php?page=operations_emd_contact | 3.68 | 36.62 |
Getting Started /wp-admin/admin.php?page=wp_easy_contact | 3.69 | 35.79 |
Support /wp-admin/admin.php?page=wp_easy_contact_support | 3.74 | 45.56 |
Server storage [IO: ▲2.74MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 268 new files
Database: 1 new table, 26 new options
New tables |
---|
wp_emd_sessions |
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
wp_easy_contact_init_tax |
emd_activated_plugins |
theysaidso_admin_options |
widget_recent-comments |
wp_easy_contact_ent_list |
wp_easy_contact_glob_init_list |
wp_easy_contact_access_views |
wp_easy_contact_setup_pages |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Best Contact Management Software for WordPress
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,029 ▲294 | 13.31 ▼0.98 | 1.59 ▼0.25 | 40.55 ▼3.84 |
Dashboard /wp-admin | 2,430 ▲239 | 4.89 ▼0.99 | 109.22 ▼0.52 | 56.07 ▲13.14 |
Posts /wp-admin/edit.php | 2,275 ▲186 | 2.17 ▲0.18 | 35.76 ▼0.61 | 38.59 ▲3.82 |
Add New Post /wp-admin/post-new.php | 1,749 ▲216 | 22.40 ▼0.84 | 613.65 ▲4.83 | 70.25 ▲12.13 |
Media Library /wp-admin/upload.php | 1,575 ▲184 | 4.28 ▲0.00 | 100.87 ▲1.86 | 47.28 ▲2.78 |
All Contacts /wp-admin/edit.php?post_type=emd_contact | 1,337 | 2.36 | 37.31 | 37.80 |
Forms /wp-admin/admin.php?page=wp_easy_contact_forms | 1,122 | 1.97 | 36.28 | 30.42 |
Add New /wp-admin/post-new.php?post_type=emd_contact | 4,972 | 7.97 | 244.32 | 101.41 |
Settings /wp-admin/admin.php?page=wp_easy_contact_settings | 1,471 | 2.68 | 37.79 | 33.33 |
Plugins /wp-admin/admin.php?page=wp_easy_contact_store | 1,300 | 1.89 | 27.60 | 36.93 |
States /wp-admin/edit-tags.php?taxonomy=contact_state&post_type=emd_contact | 2,415 | 2.33 | 29.70 | 48.52 |
Topics /wp-admin/edit-tags.php?taxonomy=contact_topic&post_type=emd_contact | 1,669 | 2.32 | 30.60 | 39.31 |
CSV Import/Export /wp-admin/admin.php?page=operations_emd_contact | 1,037 | 1.68 | 23.50 | 40.70 |
Getting Started /wp-admin/admin.php?page=wp_easy_contact | 2,493 | 2.10 | 47.55 | 98.94 |
Support /wp-admin/admin.php?page=wp_easy_contact_support | 1,281 | 1.99 | 25.72 | 51.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.06MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure failed, leaving 1 table in the database
- wp_emd_sessions
- The uninstall procedure has failed, leaving 23 options in the database
- widget_wp_easy_contact_recent_contacts_widget
- widget_recent-comments
- wp_easy_contact_add_caps
- wp_easy_contact_setup_pages
- can_compress_scripts
- db_upgraded
- emd_inc_email_apps
- emd_activated_plugins
- wp_easy_contact_glob_forms_list
- wp_easy_contact_ent_list
- ...
Smoke tests 50% 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 0% 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
Almost there! Just fix the following items
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wp-easy-contact/layouts/widget-recent-contacts-footer.php
- > /wp-content/plugins/wp-easy-contact/layouts/widget-recent-contacts-header.php
- 19× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_permalink() in wp-content/plugins/wp-easy-contact/layouts/emd-login.php:2
- > PHP Notice
Undefined variable: post in wp-content/plugins/wp-easy-contact/layouts/widget-recent-contacts-content.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-easy-contact/assets/ext/emd-session/includes/emd-wp-session.php:86
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-easy-contact/assets/ext/emd-session/includes/emd-wp-session.php:86
- > PHP Notice
Undefined variable: post in wp-content/plugins/wp-easy-contact/layouts/single-emd-contact.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-easy-contact/layouts/widget-recent-contacts-content.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function is_active_sidebar() in wp-content/plugins/wp-easy-contact/layouts/emd-sidebar.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-easy-contact/assets/ext/emd-meta-box/inc/init.php:2
- > PHP Fatal error
Uncaught Error: Class 'EMD_MB_Field' not found in wp-content/plugins/wp-easy-contact/assets/ext/emd-meta-box/inc/fields/file-input.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/wp-easy-contact/includes/admin/tabs.php:54
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: lead management, contact form, contact manager, contact form database, easy contact form
wp-easy-contact/wp-easy-contact.php Passed 13 tests
The main file in "Best Contact Management Software for WordPress" v. 3.8 serves as a complement to information provided in readme.txt and as the entry point to the plugin
90 characters long description:
WP Easy Contact provides a contact form and stores the collected information in WordPress.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected28,876 lines of code in 189 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 102 | 829 | 3,783 | 20,817 |
JavaScript | 49 | 526 | 731 | 5,625 |
CSS | 37 | 112 | 122 | 2,432 |
SVG | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 20.40 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 143.00 |
Average method complexity | 4.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 73.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 58 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 58 | 100.00% |
▷ Final classes | 2 | 3.45% |
Methods | 337 | |
▷ Static methods | 211 | 62.61% |
▷ Public methods | 321 | 95.25% |
▷ Protected methods | 10 | 2.97% |
▷ Private methods | 6 | 1.78% |
Functions | 196 | |
▷ Named functions | 195 | 99.49% |
▷ Anonymous functions | 1 | 0.51% |
Constants | 17 | |
▷ Global constants | 17 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
64 compressed PNG files occupy 0.39MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/addons/spotlight-arch-300x200.png | 12.70KB | 13.13KB | 0.00% |
assets/img/check.png | 1.52KB | 1.56KB | 0.00% |
assets/ext/emd-meta-box/img/jqueryui/ui-icons_888888_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
assets/img/jui-img/ui-bg_flat_75_ffffff_40x100.png | 0.07KB | 0.08KB | 0.00% |
assets/img/jui-img/ui-bg_glass_75_dadada_1x400.png | 0.10KB | 0.16KB | 0.00% |