Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.63MB] [CPU: ▼14.85ms] Passed 4 tests
This is a short check of server-side resources used by Contact Form 7 Database & Mobile App - CF7 DB & App
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 37.34 ▼2.67 |
Dashboard /wp-admin | 3.33 ▲0.02 | 46.40 ▼3.26 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 45.20 ▼2.62 |
Add New Post /wp-admin/post-new.php | 3.30 ▼2.59 | 38.51 ▼50.84 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.65 ▲0.31 |
CF7 Mobile App /wp-admin/options-general.php?page=cf7_mobile_notification | 3.21 | 30.93 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 21 new files
Database: 4 new tables, 9 new options
New tables |
---|
wp_cf7_mobile_notification_devices |
wp_cf7_mobile_notification_forms_data |
wp_cf7_mobile_notification_device_notifications |
wp_cf7_mobile_notification_devices_forms |
New WordPress options |
---|
widget_recent-posts |
cf7_mobile_notification_settings |
cf7_mobile_notification_secret_key |
theysaidso_admin_options |
cf7_mobile_notification_db_version |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Contact Form 7 Database & Mobile App - CF7 DB & App
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.22 ▼1.17 | 1.60 ▼0.41 | 41.09 ▼4.26 |
Dashboard /wp-admin | 2,213 ▲37 | 4.85 ▼0.08 | 97.85 ▼22.25 | 41.80 ▼27.14 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.02 ▲0.01 | 38.20 ▼4.07 | 33.46 ▼3.42 |
Add New Post /wp-admin/post-new.php | 1,536 ▲3 | 23.12 ▼0.35 | 663.00 ▲38.09 | 50.18 ▼9.66 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.20 ▼0.02 | 96.51 ▲2.34 | 41.51 ▼3.63 |
CF7 Mobile App /wp-admin/options-general.php?page=cf7_mobile_notification | 781 | 2.01 | 25.29 | 30.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie tables detected upon uninstall: 4 tables
- wp_cf7_mobile_notification_device_notifications
- wp_cf7_mobile_notification_forms_data
- wp_cf7_mobile_notification_devices
- wp_cf7_mobile_notification_devices_forms
- This plugin does not fully uninstall, leaving 9 options in the database
- widget_recent-comments
- cf7_mobile_notification_secret_key
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- cf7_mobile_notification_settings
- can_compress_scripts
- cf7_mobile_notification_db_version
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check 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
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/cf7-mobile-notification/cf7-mobile-notification.php:37
- > PHP Fatal error
Uncaught Error: Class 'Cf7MobileNotification\otification\otificator' not found in wp-content/plugins/cf7-mobile-notification/includes/Notification/PushNotificator.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% 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:
- Screenshots: These screenshots need descriptions #1, #2, #3, #4, #5 in cf7-mobile-notification/assets to your readme.txt
cf7-mobile-notification/cf7-mobile-notification.php 85% from 13 tests
"Contact Form 7 Database & Mobile App - CF7 DB & App" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
- Domain Path: Use only dashes and lowercase characters for the domain path ("/cf7_mobile_notification")
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 detected1,235 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 317 | 437 | 1,219 |
JSON | 2 | 0 | 0 | 16 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 9.58 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 8 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 1 | 8.33% |
▷ Concrete classes | 11 | 91.67% |
▷ Final classes | 0 | 0.00% |
Methods | 90 | |
▷ Static methods | 9 | 10.00% |
▷ Public methods | 69 | 76.67% |
▷ Protected methods | 2 | 2.22% |
▷ Private methods | 19 | 21.11% |
Functions | 4 | |
▷ Named functions | 2 | 50.00% |
▷ Anonymous functions | 2 | 50.00% |
Constants | 39 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 39 | 100.00% |
▷ Public constants | 39 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin