Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/read-later-buttons/read-later-buttons.php+369
Function create_function() is deprecated
Server metrics [RAM: ▼1.97MB] [CPU: ▼61.22ms] Passed 4 tests
This is a short check of server-side resources used by Read Later Buttons
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.44 | 4.48 ▼40.04 |
Dashboard /wp-admin | 2.05 ▼1.30 | 6.61 ▼56.41 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 6.11 ▼45.41 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 5.20 ▼103.02 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 5.23 ▼30.65 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 17 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_read_later_buttons |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Read Later Buttons
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲57 | 14.27 ▼0.08 | 2.52 ▲0.53 | 46.87 ▲2.33 |
Dashboard /wp-admin | 2,198 ▲27 | 5.56 ▼0.11 | 87.39 ▼17.48 | 40.43 ▼3.17 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.00 ▼0.15 | 35.50 ▼8.16 | 34.81 ▼2.58 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.01 ▲1.92 | 672.50 ▼56.91 | 49.11 ▼9.05 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.27 ▼0.14 | 98.67 ▼4.90 | 40.27 ▼10.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/read-later-buttons/read-later-buttons.php+369
Function create_function() is deprecated
- The uninstall procedure has failed, leaving 7 options in the database
- can_compress_scripts
- widget_read_later_buttons
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
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
Good news, no errors were detected
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
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/read-later-buttons/read-later-buttons.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
7 plugin tags: read later, readlater, kindle, widget, readability...
read-later-buttons/read-later-buttons.php Passed 13 tests
The main PHP script in "Read Later Buttons" version 1.2 is automatically included on every request by WordPress
130 characters long description:
Adds "read later" buttons to a site. Can send content to Kindle (additional plugin required), Instapaper, Pocket, and Readability.
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
Everything looks great! No dangerous files found in this plugin489 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 69 | 81 | 220 |
PO File | 3 | 55 | 54 | 175 |
CSS | 1 | 10 | 0 | 62 |
SVG | 3 | 0 | 3 | 20 |
JavaScript | 2 | 2 | 1 | 12 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 33.00 |
▷ Minimum class complexity | 33.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 3.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.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 | 14 | |
▷ Static methods | 10 | 71.43% |
▷ Public methods | 7 | 50.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 50.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
3 compressed PNG files occupy 0.00MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/pocket.png | 0.28KB | 0.41KB | 0.00% |
images/instapaper.png | 0.14KB | 0.17KB | 0.00% |
images/readability.png | 0.29KB | 0.40KB | 0.00% |