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
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼10.03ms] Passed 4 tests
Analyzing server-side resources used by SMS Media4u Login
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 37.58 ▼6.84 |
Dashboard /wp-admin | 3.38 ▲0.07 | 49.07 ▲0.49 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 45.25 ▼4.55 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 85.86 ▼27.19 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 35.93 ▼1.52 |
SMS Media4u Login /wp-admin/options-general.php?page=sms_media4u_login | 3.27 | 32.30 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for SMS Media4u Login
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▲53 | 13.21 ▼1.47 | 4.82 ▲2.78 | 41.93 ▼7.17 |
Dashboard /wp-admin | 2,216 ▲25 | 5.87 ▼0.03 | 116.32 ▲11.80 | 46.59 ▲6.17 |
Posts /wp-admin/edit.php | 2,098 ▲9 | 2.02 ▲0.02 | 37.75 ▲1.09 | 32.01 ▼0.90 |
Add New Post /wp-admin/post-new.php | 1,542 ▲9 | 23.07 ▼0.01 | 588.77 ▼43.09 | 66.47 ▲12.08 |
Media Library /wp-admin/upload.php | 1,398 ▲10 | 4.21 ▼0.01 | 98.50 ▼5.11 | 43.55 ▼0.68 |
SMS Media4u Login /wp-admin/options-general.php?page=sms_media4u_login | 832 | 2.06 | 24.40 | 24.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
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
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sms-media4u-login/sms-media4u-login.php:33
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 90% 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
Attributes that need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (SMS Media4u Login - Options), #2 (SMS Media4u Login - Profile Options), #3 (SMS Media4u Login - Login Screen)
sms-media4u-login/sms-media4u-login.php 85% from 13 tests
The main PHP file in "SMS Media4u Login" ver. 1.0.1 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Domain Path: Use only dashes and lowercase characters for the domain path ("/")
- Domain Path: Prefix the domain path with a forward slash character ("//")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected364 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 35 | 23 | 227 |
PO File | 1 | 1,539 | 3,330 | 137 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 43.00 |
▷ Minimum class complexity | 43.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 4.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 7.50KB | 3.40KB | ▼ 54.75% |
screenshot-3.png | 15.88KB | 7.14KB | ▼ 55.06% |
screenshot-1.png | 22.17KB | 9.56KB | ▼ 56.87% |