Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼9.93ms] Passed 4 tests
This is a short check of server-side resources used by Easy social bookmark
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 42.63 ▼2.87 |
Dashboard /wp-admin | 3.36 ▲0.01 | 51.76 ▼18.44 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 48.34 ▲1.51 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 83.29 ▼19.93 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 40.37 ▲3.01 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Easy social bookmark
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,839 ▲78 | 14.25 ▼0.13 | 2.00 ▲0.34 | 40.81 ▲3.45 |
Dashboard /wp-admin | 2,213 ▲36 | 5.56 ▼0.03 | 82.90 ▼22.09 | 67.22 ▲19.67 |
Posts /wp-admin/edit.php | 2,115 ▲12 | 2.00 ▲0.05 | 39.29 ▲0.45 | 40.88 ▲7.23 |
Add New Post /wp-admin/post-new.php | 1,692 ▲164 | 22.24 ▼0.86 | 702.03 ▲12.45 | 55.91 ▼8.99 |
Media Library /wp-admin/upload.php | 1,412 ▲15 | 4.11 ▲0.00 | 100.41 ▼15.73 | 71.44 ▲22.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Uninstall procedure had uncaught errors
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method Easy_social_bookmark::esb_deactivation_hook() should not be called statically
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
Smoke tests Passed 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)
The smoke test was a success, however most plugin functionality was not tested
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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: Please add an image for screenshot #1 (Front-end of easy social bookmark)
easy-social-bookmark/easy-social-bookmark.php 92% from 13 tests
Analyzing the main PHP file in "Easy social bookmark" version 1.0
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 412 characters long)
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
Success! There were no dangerous files found in this plugin758 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 1 | 0 | 486 |
PHP | 1 | 25 | 70 | 170 |
JavaScript | 1 | 23 | 0 | 102 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 1.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 16 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 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
PNG files should be compressed to save space and minimize bandwidth usage
6 PNG files occupy 0.09MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 3.78KB | 1.61KB | ▼ 57.53% |
assets/screenshot-2.png | 20.92KB | 8.68KB | ▼ 58.53% |
assets/icon-256x256.png | 23.63KB | 10.14KB | ▼ 57.07% |
assets/icon-16x16.png | 0.67KB | 0.81KB | 0.00% |
assets/icon-128x128.png | 8.81KB | 4.53KB | ▼ 48.58% |