Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▲0.53ms] Passed 4 tests
This is a short check of server-side resources used by Just1StepAhead SMS Notifications for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 41.13 ▲0.95 |
Dashboard /wp-admin | 3.43 ▲0.13 | 52.11 ▲0.74 |
Posts /wp-admin/edit.php | 3.54 ▲0.19 | 47.87 ▼1.57 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 100.12 ▲2.01 |
Media Library /wp-admin/upload.php | 3.35 ▲0.13 | 41.01 ▲5.10 |
J1SA for WooCommerce /wp-admin/options-general.php?page=j1sa-woocommerce | 3.32 | 37.34 |
Server storage [IO: ▲19.15MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 1,379 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Just1StepAhead SMS Notifications for WooCommerce: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲79 | 13.23 ▼1.15 | 4.73 ▲3.11 | 42.49 ▼0.44 |
Dashboard /wp-admin | 2,246 ▲52 | 6.07 ▲1.06 | 103.58 ▼12.33 | 43.76 ▼4.20 |
Posts /wp-admin/edit.php | 2,122 ▲22 | 2.02 ▲0.01 | 35.92 ▼3.17 | 33.56 ▼6.61 |
Add New Post /wp-admin/post-new.php | 1,383 ▼148 | 16.75 ▼6.32 | 510.22 ▼96.93 | 53.22 ▲9.72 |
Media Library /wp-admin/upload.php | 1,419 ▲22 | 4.22 ▼0.03 | 100.29 ▼4.89 | 41.02 ▼6.10 |
J1SA for WooCommerce /wp-admin/options-general.php?page=j1sa-woocommerce | 1,172 | 2.04 | 23.33 | 29.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
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
Good news, no errors were detected
SRP 0% 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× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/just1stepahead-for-woocommerce/j1sa-woocommerce.php
- 7× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Interface 'libphonenumber\\MetadataSourceInterface' not found in wp-content/plugins/just1stepahead-for-woocommerce/vendor/giggsey/libphonenumber-for-php/src/MultiFileMetadataSourceImpl.php:12
- > PHP Fatal error
Uncaught Error: Class 'libphonenumber\\Leniency\\AbstractLeniency' not found in wp-content/plugins/just1stepahead-for-woocommerce/vendor/giggsey/libphonenumber-for-php/src/Leniency/Valid.php:9
- > PHP Fatal error
Uncaught Error: Class 'libphonenumber\\Leniency\\AbstractLeniency' not found in wp-content/plugins/just1stepahead-for-woocommerce/vendor/giggsey/libphonenumber-for-php/src/Leniency/ExactGrouping.php:9
- > PHP Fatal error
Uncaught Error: Class 'libphonenumber\\Leniency\\AbstractLeniency' not found in wp-content/plugins/just1stepahead-for-woocommerce/vendor/giggsey/libphonenumber-for-php/src/Leniency/StrictGrouping.php:9
- > PHP Fatal error
Uncaught Error: Class 'libphonenumber\\Leniency\\AbstractLeniency' not found in wp-content/plugins/just1stepahead-for-woocommerce/vendor/giggsey/libphonenumber-for-php/src/Leniency/Possible.php:8
- > PHP Fatal error
Uncaught Error: Interface 'libphonenumber\\MetadataLoaderInterface' not found in wp-content/plugins/just1stepahead-for-woocommerce/vendor/giggsey/libphonenumber-for-php/src/DefaultMetadataLoader.php:5
- > PHP Fatal error
Uncaught Error: Interface 'libphonenumber\\MatcherAPIInterface' not found in wp-content/plugins/just1stepahead-for-woocommerce/vendor/giggsey/libphonenumber-for-php/src/RegexBasedMatcher.php:10
- > PHP Fatal error
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)
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
2 plugin tags: just1stepahead, woocommerce
just1stepahead-for-woocommerce/j1sa-woocommerce.php 85% from 13 tests
The entry point to "Just1StepAhead SMS Notifications for WooCommerce" version 0.0.1 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: Name the main plugin file the same as the plugin slug ("just1stepahead-for-woocommerce.php" instead of "j1sa-woocommerce.php")
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
Good job! No executable or dangerous file extensions detected612,656 lines of code in 1,333 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1,321 | 3,053 | 16,485 | 612,062 |
JSON | 4 | 1 | 0 | 254 |
Markdown | 2 | 84 | 0 | 196 |
Ant | 1 | 12 | 0 | 55 |
JavaScript | 1 | 7 | 7 | 33 |
YAML | 2 | 7 | 2 | 31 |
XML | 1 | 3 | 0 | 15 |
CSS | 1 | 0 | 0 | 10 |
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.24 |
Average class complexity | 19.92 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 369.00 |
Average method complexity | 2.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 3 | |
Traits | 0 | |
Classes | 45 | |
▷ Abstract classes | 1 | 2.22% |
▷ Concrete classes | 44 | 97.78% |
▷ Final classes | 0 | 0.00% |
Methods | 506 | |
▷ Static methods | 72 | 14.23% |
▷ Public methods | 412 | 81.42% |
▷ Protected methods | 70 | 13.83% |
▷ Private methods | 24 | 4.74% |
Functions | 12 | |
▷ Named functions | 1 | 8.33% |
▷ Anonymous functions | 11 | 91.67% |
Constants | 119 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 119 | 100.00% |
▷ Public constants | 119 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin