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 gracefully, with no errors
Server metrics [RAM: ▲0.30MB] [CPU: ▲0.22ms] Passed 4 tests
This is a short check of server-side resources used by PeproDev CF7 SMS Notifier
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.76 ▲0.30 | 40.41 ▼2.99 |
Dashboard /wp-admin | 3.60 ▲0.30 | 48.41 ▲2.15 |
Posts /wp-admin/edit.php | 3.72 ▲0.36 | 50.92 ▼2.70 |
Add New Post /wp-admin/post-new.php | 6.20 ▲0.32 | 101.65 ▲9.69 |
Media Library /wp-admin/upload.php | 3.52 ▲0.30 | 40.09 ▲4.42 |
CF7 SMS /wp-admin/admin.php?page=cf7sms | 3.51 | 35.97 |
Setting /wp-admin/admin.php?page=cf7sms-setting | 3.50 | 35.18 |
Server storage [IO: ▲0.69MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 32 new files
Database: 1 new table, 11 new options
New tables |
---|
wp_cf7sms |
New WordPress options |
---|
cf7sms-line_number |
cf7sms-cleardbunistall |
widget_recent-posts |
cf7sms-user_api_key |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
cf7sms-user_secret_key |
cf7sms-clearunistall |
can_compress_scripts |
... |
Browser metrics Passed 4 tests
A check of browser resources used by PeproDev CF7 SMS Notifier
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,880 ▲123 | 13.20 ▼1.10 | 1.62 ▼0.48 | 39.67 ▼4.73 |
Dashboard /wp-admin | 2,286 ▲104 | 5.89 ▲0.98 | 98.62 ▼3.41 | 82.66 ▲41.58 |
Posts /wp-admin/edit.php | 2,169 ▲80 | 1.98 ▼0.05 | 38.17 ▼3.26 | 35.07 ▼0.89 |
Add New Post /wp-admin/post-new.php | 1,744 ▲211 | 22.37 ▼0.60 | 681.14 ▲25.63 | 43.62 ▼9.86 |
Media Library /wp-admin/upload.php | 1,462 ▲71 | 4.13 ▼0.03 | 98.71 ▼6.22 | 67.66 ▲21.78 |
CF7 SMS /wp-admin/admin.php?page=cf7sms | 1,062 | 2.32 | 34.07 | 45.32 |
Setting /wp-admin/admin.php?page=cf7sms-setting | 984 | 2.13 | 24.64 | 28.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_cf7sms
- Zombie WordPress options were found after uninstall: 11 options
- cf7sms-line_number
- cf7sms-user_api_key
- cf7sms-clearunistall
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- cf7sms-cleardbunistall
- widget_recent-comments
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
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 fix the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/pepro-cf7-sms-notifier/pepro-cf7-sms.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
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
6 plugin tags: wordpress contact form, contact form 7, cf7 database, contact form 7 sms, cf7 sms...
pepro-cf7-sms-notifier/pepro-cf7-sms.php 85% from 13 tests
This is the main PHP file of "PeproDev CF7 SMS Notifier" version 1.1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: The principal plugin file should be the same as the plugin slug ("pepro-cf7-sms-notifier.php" instead of "pepro-cf7-sms.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected5,624 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 7 | 357 | 22 | 2,059 |
JavaScript | 7 | 174 | 231 | 1,999 |
PHP | 1 | 76 | 432 | 1,138 |
PO File | 1 | 128 | 136 | 380 |
SVG | 1 | 4 | 0 | 47 |
HTML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 130.00 |
▷ Minimum class complexity | 130.00 |
▷ Maximum class complexity | 130.00 |
Average method complexity | 3.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 45 | |
▷ Static methods | 5 | 11.11% |
▷ Public methods | 37 | 82.22% |
▷ Protected methods | 5 | 11.11% |
▷ Private methods | 3 | 6.67% |
Functions | 6 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 6 | 100.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
5 compressed PNG files occupy 0.00MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/sort_both.png | 0.20KB | 0.29KB | 0.00% |
assets/images/sort_desc_disabled.png | 0.14KB | 0.25KB | 0.00% |
assets/images/sort_desc.png | 0.15KB | 0.25KB | 0.00% |
assets/images/sort_asc.png | 0.16KB | 0.25KB | 0.00% |
assets/images/sort_asc_disabled.png | 0.14KB | 0.25KB | 0.00% |