Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.43MB] [CPU: ▼12.59ms] Passed 4 tests
Server-side resources used by Sync Pinboard
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.93 ▲0.47 | 40.37 ▼3.18 |
Dashboard /wp-admin | 3.76 ▲0.41 | 55.18 ▼12.40 |
Posts /wp-admin/edit.php | 3.81 ▲0.45 | 45.12 ▼7.24 |
Add New Post /wp-admin/post-new.php | 6.38 ▲0.50 | 88.02 ▼27.54 |
Media Library /wp-admin/upload.php | 3.62 ▲0.39 | 37.12 ▼1.22 |
All Pins /wp-admin/edit.php?post_type=pinboard-bookmark | 3.73 | 42.23 |
Add New /wp-admin/post-new.php?post_type=pinboard-bookmark | 6.38 | 88.35 |
Pinboard Tags /wp-admin/edit-tags.php?taxonomy=pinboard-tag&post_type=pinboard-bookmark | 3.61 | 37.50 |
Sync Pinboard /wp-admin/options-general.php?page=sync-pinboard | 3.59 | 34.81 |
Server storage [IO: ▲0.65MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 134 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Sync Pinboard
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲41 | 14.28 ▼0.25 | 1.67 ▼0.15 | 45.01 ▲1.95 |
Dashboard /wp-admin | 2,227 ▲53 | 5.58 ▼0.03 | 90.27 ▼1.31 | 42.01 ▼1.65 |
Posts /wp-admin/edit.php | 2,135 ▲35 | 2.01 ▼0.01 | 35.58 ▼4.86 | 35.47 ▼4.24 |
Add New Post /wp-admin/post-new.php | 6,391 ▲4,856 | 27.89 ▲9.88 | 921.72 ▲278.78 | 48.75 ▼18.31 |
Media Library /wp-admin/upload.php | 1,438 ▲38 | 4.21 ▼0.01 | 109.62 ▲4.72 | 47.02 ▼0.11 |
All Pins /wp-admin/edit.php?post_type=pinboard-bookmark | 1,116 | 1.97 | 40.80 | 34.51 |
Add New /wp-admin/post-new.php?post_type=pinboard-bookmark | 6,221 | 19.68 | 870.15 | 34.79 |
Pinboard Tags /wp-admin/edit-tags.php?taxonomy=pinboard-tag&post_type=pinboard-bookmark | 1,281 | 2.24 | 27.24 | 31.22 |
Sync Pinboard /wp-admin/options-general.php?page=sync-pinboard | 924 | 2.04 | 21.69 | 24.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 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)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 46× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\ClientInterface' not found in wp-content/plugins/sync-pinboard/vendor/guzzlehttp/guzzle/src/Client.php:25
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/sync-pinboard/vendor/guzzlehttp/psr7/src/CachingStream.php:10
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Promise\\RejectionException' not found in wp-content/plugins/sync-pinboard/vendor/guzzlehttp/promises/src/CancellationException.php:7
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Promise\\TaskQueueInterface' not found in wp-content/plugins/sync-pinboard/vendor/guzzlehttp/promises/src/TaskQueue.php:13
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Promise\\PromisorInterface' not found in wp-content/plugins/sync-pinboard/vendor/guzzlehttp/promises/src/EachPromise.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sync-pinboard/post-types/pinboard-bookmark.php:56
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/sync-pinboard/vendor/guzzlehttp/psr7/src/NoSeekStream.php:9
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Exception\\GuzzleException' not found in wp-content/plugins/sync-pinboard/vendor/guzzlehttp/guzzle/src/Exception/TransferException.php:4
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\MessageInterface' not found in wp-content/plugins/sync-pinboard/vendor/psr/http-message/src/RequestInterface.php:24
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Exception\\TransferException' not found in wp-content/plugins/sync-pinboard/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 96% from 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
3 plugin tags: bookmarks, sync, pinboard
sync-pinboard/sync-pinboard.php 92% from 13 tests
The primary PHP file in "Sync Pinboard" version 1.0.1 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected12,508 lines of code in 125 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 104 | 1,796 | 4,896 | 8,651 |
Markdown | 10 | 995 | 0 | 3,193 |
JSON | 7 | 0 | 0 | 487 |
JavaScript | 1 | 10 | 2 | 136 |
XML | 1 | 4 | 0 | 18 |
YAML | 1 | 4 | 0 | 14 |
make | 1 | 4 | 0 | 9 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 12.48 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 81.00 |
Average method complexity | 2.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 10 | |
Interfaces | 14 | |
Traits | 2 | |
Classes | 74 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 74 | 100.00% |
▷ Final classes | 8 | 10.81% |
Methods | 670 | |
▷ Static methods | 77 | 11.49% |
▷ Public methods | 557 | 83.13% |
▷ Protected methods | 4 | 0.60% |
▷ Private methods | 109 | 16.27% |
Functions | 147 | |
▷ Named functions | 60 | 40.82% |
▷ Anonymous functions | 87 | 59.18% |
Constants | 50 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 50 | 100.00% |
▷ Public constants | 50 | 100.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
There are no PNG files in this plugin