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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼2.92ms] Passed 4 tests
This is a short check of server-side resources used by vibrate
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.69 ▲0.63 |
Dashboard /wp-admin | 3.32 ▲0.02 | 43.25 ▼2.90 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 45.83 ▼1.18 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 82.55 ▼6.26 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.93 ▼1.33 |
Vibrate /wp-admin/options-general.php?page=vibrate-setting-admin | 3.18 | 29.48 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for vibrate
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,008 ▲262 | 13.64 ▼0.59 | 11.53 ▲9.93 | 44.39 ▲4.68 |
Dashboard /wp-admin | 2,213 ▲25 | 4.84 ▼1.09 | 98.59 ▼2.26 | 36.74 ▼5.10 |
Posts /wp-admin/edit.php | 2,090 ▲4 | 2.02 ▲0.01 | 34.02 ▼2.96 | 31.64 ▲1.75 |
Add New Post /wp-admin/post-new.php | 1,545 ▲12 | 22.80 ▼0.39 | 668.01 ▼14.04 | 51.27 ▼1.21 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.23 ▲0.00 | 96.37 ▼7.94 | 43.05 ▼4.15 |
Vibrate /wp-admin/options-general.php?page=vibrate-setting-admin | 802 | 2.05 | 23.13 | 25.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=vibrate-setting-admin
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=vibrate-setting-admin
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Screenshots: Add an image for screenshot #1 (This is how popup will look in mobile with default theme and mobile will vibrate.)
vibrate/vibrate.php Passed 13 tests
The primary PHP file in "vibrate" version 1.0 is used by WordPress to initiate all plugin functionality
83 characters long description:
The vibrate plugin helps you to vibrate mobile user's screen with cusotmized popup.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin139 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 12 | 29 | 97 |
CSS | 1 | 0 | 0 | 22 |
JavaScript | 2 | 2 | 21 | 12 |
HTML | 1 | 2 | 0 | 8 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 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 | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 14.04KB | 8.08KB | ▼ 42.49% |