Benchmarks
Plugin footprint 75% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The following installer errors require your attention
- The plugin did not install without errors
- > Warning in wp-content/plugins/massms-for-woocommerce/massms.php+35
require_once(include/Massms.php): failed to open stream: No such file or directory
Server metrics [RAM: ▼0.00MB] [CPU: ▼272.18ms] Passed 4 tests
Server-side resources used by Massms for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.83 ▲0.11 | 33.11 ▲13.89 |
Dashboard /wp-admin | 3.06 ▲0.00 | 49.61 ▲4.93 |
Posts /wp-admin/edit.php | 3.11 ▲0.00 | 46.41 ▲8.22 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 91.93 ▼1,098.45 |
Media Library /wp-admin/upload.php | 3.00 ▼0.01 | 33.28 ▼3.42 |
Server storage [IO: ▲4.23MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 162 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Massms for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,649 ▲67 | 15.83 ▼0.02 | 7.77 ▲0.20 | 48.07 ▼1.46 |
Dashboard /wp-admin | 2,927 ▲77 | 5.95 ▲0.14 | 158.63 ▲22.04 | 108.89 ▲9.47 |
Posts /wp-admin/edit.php | 2,706 ▼0 | 2.70 ▲0.01 | 67.43 ▼0.35 | 104.29 ▲10.19 |
Add New Post /wp-admin/post-new.php | 1,851 ▲200 | 17.72 ▲0.25 | 363.74 ▼10.50 | 106.96 ▼7.41 |
Media Library /wp-admin/upload.php | 1,775 ▲3 | 5.01 ▲0.00 | 173.42 ▲28.61 | 110.88 ▼0.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstall script ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 86% 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
2 plugin tags: woocmmerce, sms
massms-for-woocommerce/massms.php 69% from 13 tests
The main file in "Massms for WooCommerce" v. 1.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: The principal plugin file should be the same as the plugin slug ("massms-for-woocommerce.php" instead of "massms.php")
- Requires at least: Required version does not match the one declared in readme.txt ("4.7" instead of "5.2")
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
There were no executable files found in this plugin42,494 lines of code in 103 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 13 | 1,211 | 94 | 25,125 |
JavaScript | 86 | 2,054 | 1,560 | 10,224 |
HTML | 1 | 5 | 0 | 5,586 |
JSON | 1 | 0 | 0 | 1,388 |
Sass | 1 | 9 | 0 | 150 |
PHP | 1 | 7 | 14 | 21 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
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 | 1 | |
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 | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 1 test
Image compression Passed 1 test
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/massms-logo.png | 5.29KB | 2.51KB | ▼ 52.51% |