Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼8.46ms] Passed 4 tests
This is a short check of server-side resources used by Beem Sms
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 42.08 ▲2.36 |
Dashboard /wp-admin | 3.38 ▲0.04 | 47.89 ▼14.27 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 50.08 ▼6.36 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 88.26 ▼15.57 |
Media Library /wp-admin/upload.php | 3.30 ▲0.08 | 41.59 ▲3.06 |
Server storage [IO: ▲1.45MB] [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: 30 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Beem Sms
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲47 | 14.38 ▲0.22 | 1.77 ▲0.25 | 40.36 ▼1.02 |
Dashboard /wp-admin | 2,217 ▲37 | 5.83 ▲0.16 | 82.98 ▼5.21 | 74.54 ▲34.26 |
Posts /wp-admin/edit.php | 2,122 ▲25 | 2.14 ▲0.11 | 36.17 ▼1.89 | 29.71 ▼1.53 |
Add New Post /wp-admin/post-new.php | 1,697 ▲169 | 22.84 ▼0.37 | 778.18 ▲150.81 | 55.82 ▼0.33 |
Media Library /wp-admin/upload.php | 1,482 ▲88 | 4.38 ▲0.15 | 101.45 ▲3.17 | 67.04 ▲21.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% 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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/beem-sms/admin/partials/beem-sms-admin-display.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Donate link: Please fix this invalid url: ""
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Settings), #2 (Notifications), #3 (Order Status), #4 (New Order)
beem-sms/beem-sms.php 92% from 13 tests
"Beem Sms" version 2.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Domain Path: The domain path folder does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected556 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 150 | 490 | 488 |
CSS | 2 | 9 | 7 | 64 |
JavaScript | 2 | 4 | 33 | 4 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 3.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 28 | |
▷ Static methods | 2 | 7.14% |
▷ Public methods | 24 | 85.71% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 14.29% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
9 PNG files occupy 0.57MB with 0.35MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/beem.png | 18.90KB | 6.44KB | ▼ 65.91% |
assets/images/broadcast.png | 90.90KB | 31.91KB | ▼ 64.90% |
assets/images/notifications.png | 47.92KB | 16.39KB | ▼ 65.79% |
assets/images/settings.png | 48.50KB | 17.46KB | ▼ 64.00% |
assets/images/icon-128x128.png | 2.76KB | 1.43KB | ▼ 48.05% |