Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.21MB] [CPU: ▼282.62ms] Passed 4 tests
A check of server-side resources used by Pinboard Bookmarks
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.81 ▲0.30 | 66.13 ▲15.43 |
Dashboard /wp-admin | 3.64 ▲0.23 | 47.55 ▲12.05 |
Posts /wp-admin/edit.php | 3.87 ▲0.23 | 43.03 ▲3.81 |
Add New Post /wp-admin/post-new.php | 7.11 ▲0.14 | 103.86 ▼1,161.77 |
Media Library /wp-admin/upload.php | 3.52 ▲0.23 | 65.88 ▲38.41 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 22 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_pinboard_bookmarks_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Pinboard Bookmarks
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,763 ▲16 | 15.90 ▲0.04 | 5.69 ▼0.77 | 2.32 ▼0.23 |
Dashboard /wp-admin | 2,895 ▲37 | 6.09 ▼0.04 | 137.29 ▼1.73 | 152.14 ▼52.92 |
Posts /wp-admin/edit.php | 2,691 ▼3 | 3.23 ▲0.14 | 65.88 ▲0.74 | 200.28 ▲57.97 |
Add New Post /wp-admin/post-new.php | 1,690 ▼68 | 20.69 ▼1.14 | 445.87 ▲22.25 | 162.26 ▼14.90 |
Media Library /wp-admin/upload.php | 1,698 ▼0 | 5.53 ▲0.09 | 144.83 ▼10.37 | 193.25 ▼0.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
This plugin's uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means 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
Almost there! Just fix the following items
- 8× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/pinboard-bookmarks/inc/pinboard-bookmarks-shortcode.php
- > /wp-content/plugins/pinboard-bookmarks/inc/pinboard-bookmarks-core.php
- > /wp-content/plugins/pinboard-bookmarks/pinboard-bookmarks.php
- > /wp-content/plugins/pinboard-bookmarks/inc/class-pinboard-bookmarks-widget.php
- > /wp-content/plugins/pinboard-bookmarks/inc/pinboard-bookmarks-functions-init.php
- > /wp-content/plugins/pinboard-bookmarks/inc/pinboard-bookmarks-functions-items.php
- > /wp-content/plugins/pinboard-bookmarks/inc/pinboard-bookmarks-functions-tools.php
- > /wp-content/plugins/pinboard-bookmarks/inc/pinboard-bookmarks-widget-form-functions.php
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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: shortcode, sidebar, pinboard, bookmarks, widget
pinboard-bookmarks/pinboard-bookmarks.php Passed 13 tests
The principal PHP file in "Pinboard Bookmarks" v. 1.15.0 is loaded by WordPress automatically on each request
50 characters long description:
Publish Pinboard bookmarks on your WordPress blog.
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
Success! There were no dangerous files found in this plugin2,023 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 307 | 840 | 1,480 |
Markdown | 3 | 105 | 0 | 347 |
CSS | 1 | 2 | 5 | 161 |
JavaScript | 1 | 3 | 25 | 35 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 31.00 |
▷ Minimum class complexity | 31.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 8.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 26 | |
▷ Named functions | 25 | 96.15% |
▷ Anonymous functions | 1 | 3.85% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin