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.02MB] [CPU: ▼0.22ms] Passed 4 tests
A check of server-side resources used by All-in-one Bookmarking Button
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 52.99 ▲11.24 |
Dashboard /wp-admin | 3.33 ▲0.02 | 47.44 ▼3.90 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 52.93 ▲3.33 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 92.55 ▼1.99 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 38.62 ▲1.70 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
All-in-one Bookmarking Button: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲43 | 14.20 ▼0.01 | 2.02 ▲0.13 | 42.52 ▼2.69 |
Dashboard /wp-admin | 2,195 ▲15 | 5.62 ▼0.04 | 96.32 ▲10.54 | 39.22 ▼4.51 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.03 ▲0.05 | 39.10 ▼1.46 | 36.16 ▲3.42 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.13 ▼0.05 | 691.77 ▼14.10 | 64.82 ▲2.65 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.25 ▼0.01 | 96.73 ▼10.59 | 44.05 ▼2.47 |
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
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
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
Everything seems fine, however 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× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/all-in-one-bookmarking-button/socialmarker-button.php:122
- > 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 errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
3 plugin tags: bookmark, bookmarking tool, social bookmarking
all-in-one-bookmarking-button/socialmarker-button.php 92% from 13 tests
The principal PHP file in "All-in-one Bookmarking Button" v. 1.1 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("all-in-one-bookmarking-button.php" instead of "socialmarker-button.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected197 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 64 | 96 | 197 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 3.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.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 | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 100.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
5 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icons/facebook.png | 0.84KB | 0.77KB | ▼ 9.05% |
icons/twitter.png | 1.39KB | 1.36KB | ▼ 1.62% |
icons/linkedin.png | 1.05KB | 0.97KB | ▼ 7.47% |
icons/socialmarker.png | 4.40KB | 0.63KB | ▼ 85.69% |
icons/pinterest.png | 2.02KB | 2.02KB | 0.00% |