Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▼2.31ms] Passed 4 tests
An overview of server-side resources used by cloudrebuesms
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.74 ▲0.28 | 37.22 ▼3.32 |
Dashboard /wp-admin | 3.45 ▲0.14 | 45.97 ▼3.83 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 51.27 ▲5.81 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 84.54 ▼6.49 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 38.50 ▲4.39 |
Log History /wp-admin/admin.php?page=sms_notifications_log_history | 3.33 | 33.73 |
Cloud Rebue /wp-admin/options-general.php?page=cloudrebuesms | 3.42 | 32.77 |
Cloud Rebue /wp-admin/admin.php?page=cloudrebuesms | 3.42 | 32.99 |
Server storage [IO: ▲0.86MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 48 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_crsms_logs |
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for cloudrebuesms
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,863 ▲101 | 13.20 ▼1.15 | 4.65 ▲2.88 | 35.93 ▼7.43 |
Dashboard /wp-admin | 2,251 ▲74 | 5.79 ▲0.16 | 98.38 ▼0.88 | 38.63 ▼7.00 |
Posts /wp-admin/edit.php | 2,162 ▲59 | 2.41 ▲0.39 | 39.49 ▲3.72 | 37.90 ▲2.66 |
Add New Post /wp-admin/post-new.php | 1,480 ▼46 | 22.14 ▼0.84 | 564.69 ▼95.98 | 32.19 ▼17.45 |
Media Library /wp-admin/upload.php | 1,459 ▲59 | 4.45 ▲0.23 | 103.17 ▲0.52 | 38.75 ▼8.83 |
Log History /wp-admin/admin.php?page=sms_notifications_log_history | 1,311 | 2.82 | 53.47 | 58.50 |
Cloud Rebue /wp-admin/options-general.php?page=cloudrebuesms | 1,142 | 1.98 | 34.28 | 38.56 |
Cloud Rebue /wp-admin/admin.php?page=cloudrebuesms | 1,099 | 2.00 | 30.77 | 31.61 |
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
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_crsms_logs
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, 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
Almost there! Just fix the following items
- 10× PHP files output text when accessed directly:
- > /wp-content/plugins/cloud-rebue-wpsms/tpl/log_page.php
- > /wp-content/plugins/cloud-rebue-wpsms/inc/security_two_factor.php
- > /wp-content/plugins/cloud-rebue-wpsms/tpl/settings_page.php
- > /wp-content/plugins/cloud-rebue-wpsms/templates/settings_page.php
- > /wp-content/plugins/cloud-rebue-wpsms/inc/admin_widget_menu.php
- > /wp-content/plugins/cloud-rebue-wpsms/inc/shortcode.php
- > /wp-content/plugins/cloud-rebue-wpsms/cloudrebuesms.php
- > /wp-content/plugins/cloud-rebue-wpsms/tpl/wp-login-add-phone.php
- > /wp-content/plugins/cloud-rebue-wpsms/tpl/wp-login-confirm-phone.php
- > /wp-content/plugins/cloud-rebue-wpsms/tpl/wp-login-confirmed-phone.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
These are user-side errors you should fix
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=cloudrebuesms
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: $(...).tabs is not a function" "TypeError: $(...).tabs is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/cloud-rebue-wpsms/crsmsjs/crsms.js?ver=6.3.1:10:6)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=cloudrebuesms
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: $(...).tabs is not a function
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 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
Please fix the following attributes:
- Screenshots: These screenshots do not have images: #21 (Access Token.), #22 (Woo-Notifications.)
cloud-rebue-wpsms/cloudrebuesms.php 77% from 13 tests
The main PHP script in "cloudrebuesms" version 1.0.9 is automatically included on every request by WordPress
You should first fix the following items:
- Requires at least: Required version must be the same as the one declared in readme.txt ("5.6.0" instead of "4.6")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: It is recommended to name the main PHP file as the plugin slug ("cloud-rebue-wpsms.php" instead of "cloudrebuesms.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin4,597 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 310 | 304 | 1,767 |
CSS | 6 | 295 | 48 | 1,429 |
JavaScript | 6 | 239 | 116 | 1,387 |
SVG | 1 | 1 | 0 | 13 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 15.25 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 36.00 |
Average method complexity | 3.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 29 | 100.00% |
▷ Public methods | 24 | 82.76% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 17.24% |
Functions | 38 | |
▷ Named functions | 26 | 68.42% |
▷ Anonymous functions | 12 | 31.58% |
Constants | 8 | |
▷ Global constants | 3 | 37.50% |
▷ Class constants | 5 | 62.50% |
▷ Public constants | 5 | 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
12 PNG files occupy 0.35MB with 0.20MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
Screenshot_2.png | 15.28KB | 8.65KB | ▼ 43.37% |
icon-128x128.png | 6.55KB | 2.64KB | ▼ 59.64% |
img/icon-128x128.png | 6.55KB | 2.64KB | ▼ 59.64% |
icon-256x256.png | 12.87KB | 5.36KB | ▼ 58.39% |
logo.png | 17.98KB | 6.95KB | ▼ 61.35% |