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.06MB] [CPU: ▼3.89ms] Passed 4 tests
This is a short check of server-side resources used by Popup contact form
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 39.92 ▼3.87 |
Dashboard /wp-admin | 3.36 ▲0.06 | 54.35 ▼0.13 |
Posts /wp-admin/edit.php | 3.41 ▲0.06 | 54.44 ▼5.52 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 89.47 ▼6.03 |
Media Library /wp-admin/upload.php | 3.28 ▲0.06 | 42.11 ▲4.57 |
Popup contact form /wp-admin/options-general.php?page=popup-contact-form/popup-contact-form.php | 3.31 | 35.18 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 19 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
PopupContact_On_SendEmail |
PopupContact_On_Homepage |
PopupContact_homeurl |
PopupContact_On_Captcha |
can_compress_scripts |
PopupContact_On_Archives |
db_upgraded |
PopupContact_On_Subject |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Popup contact form
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,799 ▲38 | 14.35 ▼0.21 | 1.64 ▼0.01 | 42.34 ▼0.94 |
Dashboard /wp-admin | 2,199 ▲25 | 5.49 ▼0.13 | 87.74 ▼8.03 | 40.28 ▼3.25 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.04 ▲0.09 | 36.18 ▼1.80 | 33.91 ▼0.17 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.31 ▲0.47 | 714.21 ▲89.76 | 53.16 ▲1.25 |
Media Library /wp-admin/upload.php | 1,407 ▲10 | 4.19 ▼0.02 | 99.56 ▼6.25 | 43.67 ▼8.95 |
Popup contact form /wp-admin/options-general.php?page=popup-contact-form/popup-contact-form.php | 1,020 | 1.99 | 22.18 | 27.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 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 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 take a closer look at the following
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/popup-contact-form/popup-contact-form.php:140
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/popup-contact-form/content-setting.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: contact, popup, contact form, gopiplus
popup-contact-form/popup-contact-form.php 92% from 13 tests
"Popup contact form" version 7.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 150 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected1,202 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 47 | 23 | 386 |
PO File | 4 | 148 | 152 | 383 |
JavaScript | 2 | 48 | 39 | 314 |
CSS | 1 | 10 | 23 | 118 |
HTML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
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 | 13 | |
▷ Named functions | 13 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin