Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▼11.29MB] [CPU: ▼2,327,623.28ms] Passed 4 tests
A check of server-side resources used by Movider SMS Notifications
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.00 | 42.81 ▼4.17 |
Dashboard /wp-admin | 3.35 ▼45.15 | 54.31 ▼9,310,432.70 |
Posts /wp-admin/edit.php | 3.40 ▲0.00 | 56.15 ▲5.52 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.00 | 87.08 ▼56.34 |
Media Library /wp-admin/upload.php | 3.27 ▲0.00 | 41.17 ▲0.08 |
Server storage [IO: ▲0.74MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Movider SMS Notifications
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.12 ▼0.10 | 1.74 ▼0.10 | 43.56 ▼1.82 |
Dashboard /wp-admin | 2,195 ▲15 | 5.58 ▼0.08 | 86.20 ▼12.46 | 39.99 ▼12.40 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.00 ▲0.03 | 36.16 ▼1.16 | 36.99 ▲1.83 |
Add New Post /wp-admin/post-new.php | 1,526 ▼3 | 23.50 ▲0.37 | 688.12 ▼2.25 | 52.54 ▲0.06 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.19 ▲0.04 | 112.63 ▲8.67 | 48.70 ▲5.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/movider-sms-notifications/includes/admin/wmsn-guide-template.php:5
- > 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 Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
1 plugin tags: sms notification plugin
movider-sms-notifications/woo-movider-sms-notifications.php 77% from 13 tests
The principal PHP file in "Movider SMS Notifications" v. 1.0 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Domain Path: The domain path points to an invalid folder, "/i18n/languages/" does not exist
- Main file name: The principal plugin file should be the same as the plugin slug ("movider-sms-notifications.php" instead of "woo-movider-sms-notifications.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin2,303 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 811 | 1,064 | 1,798 |
CSS | 3 | 5 | 6 | 325 |
JavaScript | 2 | 66 | 30 | 179 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 24.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 55.00 |
Average method complexity | 2.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 103 | |
▷ Static methods | 28 | 27.18% |
▷ Public methods | 77 | 74.76% |
▷ Protected methods | 11 | 10.68% |
▷ Private methods | 15 | 14.56% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 14 | |
▷ Global constants | 5 | 35.71% |
▷ Class constants | 9 | 64.29% |
▷ Public constants | 9 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
10 PNG files occupy 0.24MB with 0.13MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/admin/5754242-small-logoMoviderW.png | 6.66KB | 4.62KB | ▼ 30.65% |
assets/images/admin/movider-notification-settings1.png | 32.98KB | 14.95KB | ▼ 54.67% |
assets/images/admin/movider-connection-settings.png | 17.18KB | 8.87KB | ▼ 48.39% |
assets/images/admin/circuits.png | 15.10KB | 2.65KB | ▼ 82.48% |
assets/images/admin/movider-order-notes-sms.png | 9.74KB | 5.57KB | ▼ 42.84% |