Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼0.90ms] Passed 4 tests
A check of server-side resources used by Popup Message Notifier for Contact Form 7
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 36.01 ▼4.46 |
Dashboard /wp-admin | 3.34 ▲0.04 | 45.21 ▼6.59 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 48.98 ▲4.87 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 96.81 ▲6.35 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 39.68 ▲2.60 |
CF7 Popup Settings /wp-admin/options-general.php?page=popupnotifiercf7 | 3.24 | 32.76 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 12 new options
New WordPress options |
---|
can_compress_scripts |
popupnotifiercf7_option_customTextButton |
popupnotifiercf7_option_customSeconds |
popupnotifiercf7_option_customTextButtonBackground |
theysaidso_admin_options |
popupnotifiercf7_option_isAutoClose |
popupnotifiercf7_option_isShowIcon |
widget_recent-posts |
widget_recent-comments |
popupnotifiercf7_option_isConfirmButton |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Popup Message Notifier for Contact Form 7
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,835 ▲100 | 13.57 ▼0.90 | 4.99 ▲3.41 | 40.59 ▲0.40 |
Dashboard /wp-admin | 2,229 ▲37 | 5.29 ▼0.60 | 101.57 ▼5.68 | 39.90 ▼2.62 |
Posts /wp-admin/edit.php | 2,117 ▲28 | 2.27 ▲0.23 | 42.52 ▲5.85 | 33.53 ▼2.22 |
Add New Post /wp-admin/post-new.php | 1,531 ▲11 | 23.46 ▲0.36 | 614.50 ▼12.77 | 34.12 ▼19.34 |
Media Library /wp-admin/upload.php | 1,405 ▲14 | 4.49 ▲0.26 | 93.69 ▼5.16 | 41.36 ▼1.96 |
CF7 Popup Settings /wp-admin/options-general.php?page=popupnotifiercf7 | 1,035 | 2.49 | 43.45 | 26.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin cannot be uninstalled
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, function 'popupnotifiercf7_on_deactivation' not found or invalid function name
- Zombie WordPress options detected upon uninstall: 12 options
- widget_theysaidso_widget
- widget_recent-comments
- popupnotifiercf7_option_isConfirmButton
- popupnotifiercf7_option_isAutoClose
- popupnotifiercf7_option_customTextButton
- popupnotifiercf7_option_customSeconds
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/popup-notifier-for-contact-form-7/popupnotifiercf7.php:16
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/options-general.php?page=popupnotifiercf7
- > Network (severe)
wp-content/plugins/popup-notifier-for-contact-form-7/wp-color-picker-script.js?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Contributors: The plugin contributors field is missing
popup-notifier-for-contact-form-7/popupnotifiercf7.php 92% from 13 tests
Analyzing the main PHP file in "Popup Message Notifier for Contact Form 7" version 1.2.6
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("popup-notifier-for-contact-form-7.php" instead of "popupnotifiercf7.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected209 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 16 | 27 | 153 |
JavaScript | 2 | 8 | 6 | 56 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
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 | 7 | |
▷ Named functions | 7 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin